From 9af919c65d23a09b670463b7f51e8939ee5cb526 Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.31> Date: 星期三, 31 十月 2018 13:44:43 +0800 Subject: [PATCH] 电池组统计分析查询和蓄电池组后评估加区县 --- gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java b/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java index a13256c..95ea981 100644 --- a/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java +++ b/gx_tieta/src/com/fgkj/dao/impl/BatttestdatastopDAOImpl.java @@ -480,11 +480,11 @@ 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()){ + if(sdata.getMon_num()==brinf.getOld_monum()&&sdata.getBattGroupId()==brinf.getOld_battgroupid()){ sdata.setMon_num(-1); break; } - if(sdata.getMon_num()==brinf.getNew_monum()){ + if(sdata.getMon_num()==brinf.getNew_monum()&&sdata.getBattGroupId()==brinf.getNew_battgroupid()){ sdata.setNote(brinf.getOld_battproducer()); break; } -- Gitblit v1.9.1