From 0d5794a783a4b05a5633910a87d79fef3fedb00b Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 12 Aug 2024 11:19:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=A1=A50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DCPerceivedEventsWarningController.java | 4 ++++ 1 file changed, 4 insertions(+) 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);