Commit 39679dc9eebb99d67a092604c827b92a366fbd28
1 parent
b9d5a14383
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
39679dc
... | ... | @@ -1986,7 +1986,8 @@ |
1986 | 1986 | //预产期 |
1987 | 1987 | result.setDueDate(model.getDueDate()); |
1988 | 1988 | //分娩孕周 |
1989 | - result.setDueWeek(model.getDueWeek()); | |
1989 | + Patients patients=mongoTemplate.findById(model.getParentId(), Patients.class); | |
1990 | + result.setDueWeek(patients.getFmWeek()/7); | |
1990 | 1991 | //秦皇岛-高危儿详情 |
1991 | 1992 | result.setQhdHighRiskInfo(CollectionUtils.isNotEmpty(model.getQhdHighRiskInfo())?model.getQhdHighRiskInfo():null); |
1992 | 1993 | List <BabyChooseResult> list = new ArrayList <>(); |