Browse Source

自动补0

develop
wangsixiang 8 months ago
parent
commit
0d5794a783
  1. 4
      zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java

4
zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java

@ -451,9 +451,13 @@ public class DCPerceivedEventsWarningController extends BaseController {
selectSection.setStakeMark(key); selectSection.setStakeMark(key);
if (currentlyMap.containsKey(key)){ if (currentlyMap.containsKey(key)){
selectSection.setCurrentData(currentlyMap.get(key).toString()); selectSection.setCurrentData(currentlyMap.get(key).toString());
} else {
selectSection.setCurrentData("0");
} }
if (lastYearMap.containsKey(key)){ if (lastYearMap.containsKey(key)){
selectSection.setContemporaneousData(lastYearMap.get(key).toString()); selectSection.setContemporaneousData(lastYearMap.get(key).toString());
} else {
selectSection.setContemporaneousData("0");
} }
list.add(selectSection); list.add(selectSection);

Loading…
Cancel
Save