Browse Source

#智能生产发电量bug修改

zhongwei
yang_shj 1 year ago
parent
commit
7b1725649a
  1. 7
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/SideHustleServiceImpl.java

7
hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/SideHustleServiceImpl.java

@ -1481,7 +1481,12 @@ public class SideHustleServiceImpl implements ISideHustleService {
float power = 0f; float power = 0f;
// 遍历累计当月所有站点实际发电量 // 遍历累计当月所有站点实际发电量
for(Map<String,Float> item : list){ for(Map<String,Float> item : list){
power += item.get(mon); if(ObjectUtil.isEmpty(item.get(mon))){
power += 0;
}else{
power += item.get(mon);
}
} }
return power; return power;
} }

Loading…
Cancel
Save