81041
2018-11-15 9ed73aefac23e89305bab89cb79c7f865dabee4c
修改
1个文件已修改
18 ■■■■ 已修改文件
gx_tieta/src/com/fgkj/dao/impl/ram/Fbs9100s_dfu_stateImpl.java 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/src/com/fgkj/dao/impl/ram/Fbs9100s_dfu_stateImpl.java
@@ -33,12 +33,12 @@
        BattInf binf=(BattInf) obj;
        String sql=" REPLACE into db_ram_db.tb_fbs9100s_dfu_state(dev_id,dfu_file,dfu_wr_stat,dfu_data_blocknum) " +
                " SELECT  DISTINCT fBSDeviceId,'avr_dfu.uc3',1,1 FROM  db_battinf.tb_battinf " +
                " where ";
                " where fBSDeviceId not in(select DISTINCT dev_id from db_ram_db.tb_fbs9100s_dfu_state)  ";
        //条件
        String sql0=" stationid=? "; //具体机房
        String sql1=" stationname1=? ";//省
        String sql2=" stationname2=? ";//市
        String sql5=" stationname5=? ";//区县
        String sql0=" and stationid=? "; //具体机房
        String sql1=" and stationname1=? ";//省
        String sql2=" and stationname2=? ";//市
        String sql5=" and stationname5=? ";//区县
        switch (binf.getNum()) {
        case 0:
            sql+=sql0;
@@ -65,10 +65,10 @@
        String sql="SELECT  DISTINCT fBSDeviceId,fBSDeviceName,stationId,stationname,stationname1,stationname2,stationname3,stationname5 from db_battinf.tb_battinf " +
                " where ";
        //条件
        String sql0=" stationid=? "; //具体机房
        String sql1=" stationname1=? ";//省
        String sql2=" stationname2=? ";//市
        String sql5=" stationname5=? ";//区县
        String sql0="  stationid=? "; //具体机房
        String sql1="  stationname1=? ";//省
        String sql2="  stationname2=? ";//市
        String sql5="  stationname5=? ";//区县
        switch (binf.getNum()) {
        case 0:
            sql+=sql0;