Commit 1f9a039cd0ee335bdc0b018192bec6be37a8584e
1 parent
0f5128362f
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java
View file @
1f9a039
... | ... | @@ -1303,7 +1303,11 @@ |
1303 | 1303 | map.put("checkMonthStr", DateUtil.getBabyMonthAge(model.getBirth(), checkTime)); |
1304 | 1304 | //秦皇岛需求 |
1305 | 1305 | if("216".equals(hospitalId)){ |
1306 | - map.put("checkMonthStr",model.getMonthAge()); | |
1306 | + BabyModel babyModel = mongoTemplate.findOne(new Query(Criteria.where("_id").is(model.getBabyId())), BabyModel.class); | |
1307 | + if(babyModel!=null&&babyModel.getDueWeek()<37){ | |
1308 | + map.put("checkMonthStr",model.getMonthAge()); | |
1309 | + } | |
1310 | + | |
1307 | 1311 | } |
1308 | 1312 | map.put("checkDoctorStr", usersMapper.getUsers(Integer.parseInt(model.getCheckDoctor())).getName()); |
1309 | 1313 | add(map); |