Commit 6c9a3fa20275f992053d450ff0297f9448c629cf
1 parent
a99a1cfa9c
Exists in
master
and in
6 other branches
bbbbbb
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
6c9a3fa
| ... | ... | @@ -605,8 +605,8 @@ |
| 605 | 605 | if(p == null) { |
| 606 | 606 | return RespBuilder.buildSuccess(); |
| 607 | 607 | } |
| 608 | - AntExChuModel antExChuModel = mongoTemplate.findOne(Query.query(Criteria.where("parentId").is(p.getId()).and("yn").is(1).and("hospitalId").is(hospitalId)).with(new Sort(Sort.Direction.DESC, "checkTime")), AntExChuModel.class); | |
| 609 | - List<AntenatalExaminationModel> antexModels = mongoTemplate.find(Query.query(Criteria.where("parentId").is(p.getId()).and("yn").is(1).and("hospitalId").is(hospitalId)).with(new Sort(Sort.Direction.DESC, "checkDate")), AntenatalExaminationModel.class); | |
| 608 | + AntExChuModel antExChuModel = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(p.getPid()).and("yn").is(1).and("type").is(1).and("hospitalId").is(hospitalId)).with(new Sort(Sort.Direction.DESC, "checkTime")), AntExChuModel.class); | |
| 609 | + List<AntenatalExaminationModel> antexModels = mongoTemplate.find(Query.query(Criteria.where("pid").is(p.getPid()).and("type").is(1).and("yn").is(1).and("hospitalId").is(hospitalId)).with(new Sort(Sort.Direction.DESC, "checkDate")), AntenatalExaminationModel.class); | |
| 610 | 610 | |
| 611 | 611 | Map<String, Object> xyMap = new HashMap<>(); |
| 612 | 612 | List<Integer> szyMin = new ArrayList<>(); |