From bedcf372fd3b2894f935eb3b54f02afd3487363e Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Sun, 22 Jan 2017 15:43:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=A8=A9=E4=BD=9C=E5=BA=9F=E4=BA=A7?= =?UTF-8?q?=E6=A3=80=E5=8A=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/facade/BabyStatisticsManagerFacade.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java index 165e511..6956576 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java @@ -778,16 +778,16 @@ public class BabyStatisticsManagerFacade { Integer check30 = 0; Integer check36 = 0; for (Map other : list) { - if ("18".equals(other.get("examineMonth").toString())) { + if (null!=other.get("examineMonth")&&"18".equals(other.get("examineMonth").toString())) { check18 = Integer.valueOf(other.get("cnt").toString()); } - if ("24".equals(other.get("examineMonth").toString())) { + if (null!=other.get("examineMonth")&&"24".equals(other.get("examineMonth").toString())) { check24 = Integer.valueOf(other.get("cnt").toString()); } - if ("30".equals(other.get("examineMonth").toString())) { + if (null!=other.get("examineMonth")&&"30".equals(other.get("examineMonth").toString())) { check30 = Integer.valueOf(other.get("cnt").toString()); } - if ("36".equals(other.get("examineMonth").toString())) { + if (null!=other.get("examineMonth")&&"36".equals(other.get("examineMonth").toString())) { check36 = Integer.valueOf(other.get("cnt").toString()); } } -- 1.8.3.1