Commit 7a9a3873c6dee644284ebf662edb5d3542cef691
1 parent
42abc54022
Exists in
master
and in
8 other branches
儿童月龄计算修改
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
7a9a387
... | ... | @@ -233,7 +233,7 @@ |
233 | 233 | Map<String, String> checkRecord = new HashMap<>(); |
234 | 234 | Date checkDate = cmodel.getCheckDate(); |
235 | 235 | String monthAge = ""; |
236 | - if(babyBirth == null || checkDate == null) | |
236 | + if(babyBirth != null && checkDate != null) | |
237 | 237 | { |
238 | 238 | monthAge = DateUtil.getBabyMonthAge(babyBirth, checkDate); |
239 | 239 | } |