Commit 7b9184780338ee6dbb10e26ba0ac944b8f829e45
1 parent
25e2172b30
Exists in
master
and in
1 other branch
座机号 替换的问题
Showing 1 changed file with 2 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/CorrectDataWorker.java
View file @
7b91847
... | ... | @@ -73,6 +73,7 @@ |
73 | 73 | PostReviewQuery postReviewQuery=new PostReviewQuery(); |
74 | 74 | postReviewQuery.setHospitalId(patients.getHospitalId()); |
75 | 75 | postReviewQuery.setYn(YnEnums.YES.getId()); |
76 | + postReviewQuery.setParentId(patients.getId()); | |
76 | 77 | //产后复查次数 |
77 | 78 | patients1.setPostViewTimes(postReviewService.count(postReviewQuery)); |
78 | 79 | //最后产检时间 |
... | ... | @@ -98,6 +99,7 @@ |
98 | 99 | AntExQuery antExQuery=new AntExQuery(); |
99 | 100 | antExQuery.setParentId(id); |
100 | 101 | antExQuery.setYn(YnEnums.YES.getId()); |
102 | + | |
101 | 103 | List<AntenatalExaminationModel> antEx= antExService.queryAntenatalExamination(antExQuery.convertToQuery().addOrder(Sort.Direction.DESC, "checkDate")); |
102 | 104 | if(CollectionUtils.isNotEmpty(antEx)){ |
103 | 105 | return antEx.get(0).getCheckDate(); |