Browse Source

#近3年发电量bug修复

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

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

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

Loading…
Cancel
Save