星伟
2018-09-27 51ecd84c0ca0065e7dcb729fd90876378d19e162
电池组信息配置添加市级的查询条件
1个文件已修改
4 ■■■■ 已修改文件
gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java
@@ -168,10 +168,10 @@
                + "FBSDeviceName,GroupIndexInFBSDevice,battgroupId,BattGroupNum,BattGroupName,FloatVolLevel,OfflineVolLevel,BattFloatCurrent" +
                 ",MonCount,MonCapStd,monVolStd,monResStd,MonSerStd,MonVolLowToAvg,BattProducer,BattModel,BattProductDate,BattInUseDate " +
                 " From db_battinf.tb_battinf " +
                 " Where StationName like ? and StationName1 like ? " +
                 " Where StationName like ? and StationName1 like ? and StationName2 like ?  " +
                 " order by StationId  " +
                 " limit ?,?";
        List<BattInf> list=DAOHelper.executeQueryLimit(sql,conn, new Object[]{"%"+binf.getStationName()+"%","%"+binf.getStationName1()+"%",(page.getPageCurr()-1)*page.getPageSize(),page.getPageSize()},new CallBack() {
        List<BattInf> list=DAOHelper.executeQueryLimit(sql,conn, new Object[]{"%"+binf.getStationName()+"%","%"+binf.getStationName1()+"%","%"+binf.getStationName2()+"%",(page.getPageCurr()-1)*page.getPageSize(),page.getPageSize()},new CallBack() {
            
            public List getResults(ResultSet rs) {
                List list = new ArrayList<BattInf>();