Commit 70cbd231e371c6be8309caad00ce33782cd5f482

Authored by liquanyu
1 parent 51cc478f55

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());