Commit 70cbd231e371c6be8309caad00ce33782cd5f482
1 parent
51cc478f55
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyNutritionFacade.java
View file @
70cbd23
... | ... | @@ -305,7 +305,7 @@ |
305 | 305 | BabyModel baby = babyBookbuildingService.queryBabyBuildById(model.getBabyId()); |
306 | 306 | map.put("babyName", baby.getName()); |
307 | 307 | map.put("babySex", SexEnum.getTextById(baby.getSex())); |
308 | - map.put("monthAge", StringUtils.emptyDeal(DateUtil.getBabyMonthAge(baby.getBirth(), new Date()))); | |
308 | + map.put("monthAge", StringUtils.emptyDeal(DateUtil.getBabyMonthAge(baby.getBirth(), model.getNutritiTime()))); | |
309 | 309 | map.put("motherName", baby.getMname()); |
310 | 310 | map.put("phone", baby.getMphone()); |
311 | 311 | map.put("vcCardNo", baby.getVcCardNo()); |