星伟
2018-09-27 eeff0e75180a127e83e9c691e805fdab543e8581
gx_tieta/src/com/fgkj/dao/impl/Batt_attentionImpl.java
@@ -86,6 +86,14 @@
      }else{
         baseSql+=station1SqlF;
      }
       //用于市级筛选
      String station2SqlT=" and stationname2!=? ";//全部
      String station2SqlF=" and stationname2=? ";
      if(binf.getStationName2().equals("")){
         baseSql+=station2SqlT;
      }else{
         baseSql+=station2SqlF;
      }
      //用于机房站点
      String stationSqlT=" and stationname!=? ";//全部
      String stationSqlF=" and stationname=? ";
@@ -118,7 +126,7 @@
      //System.out.println(sql);
      List<BattInf> list=DAOHelper.executeQueryLimit(sql, conn, new Object[]{
         binf.getNum()
         ,binf.getStationName1(),binf.getStationName(),binf.getBattGroupId(),binf.getMonNum()
         ,binf.getStationName1(),binf.getStationName2(),binf.getStationName(),binf.getBattGroupId(),binf.getMonNum()
         ,(page.getPageCurr()-1)*page.getPageSize(),page.getPageSize()}, new CallBack() {
         
         public List getResults(ResultSet rs) {