Commit ace0ea981fb1db51012a80cbf8ae65ebad2a493f

Authored by changpengfei
1 parent 1b4f666d58

0-6岁儿童视觉健康档案--出生日期格式bug

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java View file @ ace0ea9
... ... @@ -1035,7 +1035,7 @@
1035 1035  
1036 1036 BabyVisitModel babyVisitModel=mongoTemplate.findOne(new Query( Criteria.where("parentid").in(id).and("created").is(DateUtil.addMonth(birthDate,checkMonthAge))).with(new Sort(Sort.Direction.DESC, "created")), BabyVisitModel.class);
1037 1037  
1038   - rs.put("birth",DateUtil.getyyyy_MM_dd(birthDate));
  1038 + rs.put("birth",DateUtil.getyyyy_MM_dd(babyModel.getBirth()));
1039 1039 rs.putAll(new BeanMap(babyVisitModel));
1040 1040  
1041 1041 List<Map> lst=new ArrayList<>();