| | |
| | | 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 fBSDeviceId not in(select DISTINCT dev_id from db_ram_db.tb_fbs9100s_dfu_state) ";
|
| | | " where fBSDeviceId not in(select DISTINCT dev_id from db_ram_db.tb_fbs9100s_dfu_state where dfu_en=true) ";
|
| | | //条件
|
| | | String sql0=" and stationid=? "; //具体机房
|
| | | String sql1=" and stationname1=? ";//省
|
| | |
| | | for (BattInf binf : listAll) {
|
| | | System.out.println(binf.getStationName3()+" "+binf.getFBSDeviceId());
|
| | | }*/
|
| | | /*
|
| | | |
| | | boolean bl=fimpl.addPro(binf);
|
| | | System.out.println(bl);*/
|
| | | System.out.println(bl);
|
| | | /*List<BattInf> listAll=fimpl.serchInserStation(binf);
|
| | | for (BattInf b : listAll) {
|
| | | System.out.println(b.getStationName3()+" "+b.getFBSDeviceId());
|
| | | }*/
|
| | | List<Fbs9100s_dfu_state> listAll=fimpl.searchAll();
|
| | | /*List<Fbs9100s_dfu_state> listAll=fimpl.searchAll();
|
| | | for (Fbs9100s_dfu_state dfu : listAll) {
|
| | | System.out.println(dfu);
|
| | | }
|
| | | }*/
|
| | | }
|
| | | }
|