Commit 2cd8d85b871f3f18cddca0b4d0df935ac6a56647
1 parent
7b106527ed
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java
View file @
2cd8d85
| ... | ... | @@ -408,8 +408,7 @@ |
| 408 | 408 | } |
| 409 | 409 | } |
| 410 | 410 | } |
| 411 | - Date birth = babyModel.getBirth(); | |
| 412 | - Integer month = checkMonth == null ? DateUtil.getBabyAgeMonth(birth, new Date()) : checkMonth; | |
| 411 | + Integer month = model.getCheckMonth(); | |
| 413 | 412 | int [] months = null; |
| 414 | 413 | months = getInts(months, month); |
| 415 | 414 | int month1 = months[0]; |