From 90c69565afd02dba9e79aff9de30b4ca322e5fb8 Mon Sep 17 00:00:00 2001 From: 81041 <81041@DESKTOP-025NVD9> Date: 星期二, 08 一月 2019 14:47:28 +0800 Subject: [PATCH] 线程启动 --- gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java b/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java index 9edaba7..95ea981 100644 --- a/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java +++ b/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java @@ -17,6 +17,7 @@ import com.fgkj.db.IDatabaseName; import com.fgkj.dto.Alarm_param; import com.fgkj.dto.BattInf; +import com.fgkj.dto.BattInf_Rebuild; import com.fgkj.dto.Batt_Maint_Dealarm; import com.fgkj.dto.Batttestdata; import com.fgkj.dto.Batttestdata_inf; @@ -423,6 +424,7 @@ //鐢垫睜閰嶇粍绠$悊(閲嶈) public List serchMakeGroup(Object obj1,Object obj2){ BattInf binf=(BattInf) obj1; + List listr=(List) binf.getObj(); Batttestdata_inf tinf=(Batttestdata_inf) obj2; String sql="select num,BattGroupId,test_record_count,test_type,data_new,data_available,record_num,test_starttime,record_time,test_timelong,group_vol," + " test_curr,test_cap,mon_num,mon_vol " + @@ -475,6 +477,18 @@ if(list!=null&&list.size()>0){ for(int i=0;i<list.size();i++){ Batttestdatastop sdata=list.get(i); + sdata.setNote(binf.getBattProducer()); + for (int j = 0; j < listr.size(); j++) { + BattInf_Rebuild brinf=(BattInf_Rebuild) listr.get(j); + if(sdata.getMon_num()==brinf.getOld_monum()&&sdata.getBattGroupId()==brinf.getOld_battgroupid()){ + sdata.setMon_num(-1); + break; + } + if(sdata.getMon_num()==brinf.getNew_monum()&&sdata.getBattGroupId()==brinf.getNew_battgroupid()){ + sdata.setNote(brinf.getOld_battproducer()); + break; + } + } STDAH=binf.getMonCapStd(); MonomerVolType=binf.getMonVolStd(); -- Gitblit v1.9.1