diff --git a/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java b/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java index 46766083..b52aa90b 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java @@ -451,9 +451,13 @@ public class DCPerceivedEventsWarningController extends BaseController { selectSection.setStakeMark(key); if (currentlyMap.containsKey(key)){ selectSection.setCurrentData(currentlyMap.get(key).toString()); + } else { + selectSection.setCurrentData("0"); } if (lastYearMap.containsKey(key)){ selectSection.setContemporaneousData(lastYearMap.get(key).toString()); + } else { + selectSection.setContemporaneousData("0"); } list.add(selectSection);