Commit dca8c9e50c26a920f4dbb55a856258178fcebc5d
1 parent
01f69ecb83
Exists in
master
and in
6 other branches
自动生成追访信息
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TrackDownServiceImpl.java
View file @
dca8c9e
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | } |
148 | 148 | |
149 | 149 | //孕检次数 |
150 | - temp.put("yjcount", mongoTemplate.count(Query.query(Criteria.where("parentId").is(patients.getId()).and("hospitalId").and("yn").is(1)), AntenatalExaminationModel.class) + mongoTemplate.count(Query.query(Criteria.where("parentId").is(patients.getId()).and("yn").is(1)), AntExChuModel.class)); | |
150 | + temp.put("yjcount", mongoTemplate.count(Query.query(Criteria.where("parentId").is(patients.getId()).and("yn").is(1)), AntenatalExaminationModel.class) + mongoTemplate.count(Query.query(Criteria.where("parentId").is(patients.getId()).and("yn").is(1)), AntExChuModel.class)); | |
151 | 151 | if (patients.getType() == 3) { |
152 | 152 | |
153 | 153 | //产后复查 |
... | ... | @@ -234,7 +234,7 @@ |
234 | 234 | } |
235 | 235 | |
236 | 236 | //孕检次数 |
237 | - temp.put("yjcount", mongoTemplate.count(Query.query(Criteria.where("parentId").is(patient.getId()).and("hospitalId").and("yn").is(1)), AntenatalExaminationModel.class) + mongoTemplate.count(Query.query(Criteria.where("parentId").is(patient.getId()).and("yn").is(1)), AntExChuModel.class)); | |
237 | + temp.put("yjcount", mongoTemplate.count(Query.query(Criteria.where("parentId").is(patient.getId()).and("yn").is(1)), AntenatalExaminationModel.class) + mongoTemplate.count(Query.query(Criteria.where("parentId").is(patient.getId()).and("yn").is(1)), AntExChuModel.class)); | |
238 | 238 | |
239 | 239 | if(patient.getType() == 3){//分娩后 |
240 | 240 | //产后复查 |