From 2cd8d85b871f3f18cddca0b4d0df935ac6a56647 Mon Sep 17 00:00:00 2001 From: dongqin <123456> Date: Mon, 16 Sep 2019 16:37:06 +0800 Subject: [PATCH] update --- .../operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java index 1ab9fa5..a0bde10 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java @@ -408,8 +408,7 @@ public class BabyEvaluationCriterionServiceImpl implements BabyEvaluationCriteri } } } - Date birth = babyModel.getBirth(); - Integer month = checkMonth == null ? DateUtil.getBabyAgeMonth(birth, new Date()) : checkMonth; + Integer month = model.getCheckMonth(); int [] months = null; months = getInts(months, month); int month1 = months[0]; -- 1.8.3.1