Commit 4796e365166dec2c1383dcce16d8e8c55edcfd29
1 parent
4f1bc2a6f8
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/RareBloodGroupServiceImpl.java
View file @
4796e36
... | ... | @@ -116,7 +116,7 @@ |
116 | 116 | List<RareBloodGroupModel> babyDietReportList = null; |
117 | 117 | try { |
118 | 118 | if (rareBloodGroupModel != null && StringUtils.isNotEmpty(rareBloodGroupModel.getParentId())) { |
119 | - Query query = Query.query(Criteria.where("parentId").is(rareBloodGroupModel.getParentId()).and("yn").is(YnEnums.YES.getId()).and("source").is("2")); | |
119 | + Query query = Query.query(Criteria.where("parentId").is(rareBloodGroupModel.getParentId()).and("yn").is(YnEnums.YES.getId())); | |
120 | 120 | query.with(new Sort(Sort.Direction.DESC, "created")); |
121 | 121 | babyDietReportList = mongoTemplate.find(query, RareBloodGroupModel.class); |
122 | 122 | if (babyDietReportList != null) { |
... | ... | @@ -150,7 +150,7 @@ |
150 | 150 | } |
151 | 151 | List<String> hospitalIds = groupsFacade.findGroupHospital(userId, false); |
152 | 152 | Criteria criteria = Criteria.where("yn").is(1); |
153 | - criteria.and("source").is("1"); | |
153 | + //criteria.and("source").is("1"); | |
154 | 154 | criteria.and("hospitalId").in(hospitalIds); |
155 | 155 | |
156 | 156 | if(StringUtils.isNotEmpty(pid)){ |