Commit 11e98507ac8eb2912eaacaaf98c480eb569b419e
1 parent
a67a6ba924
Exists in
master
and in
6 other branches
建册统计加上yn限制
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
11e9850
... | ... | @@ -1104,7 +1104,7 @@ |
1104 | 1104 | |
1105 | 1105 | /** 出院小结: lyms_discharge_abstract_mother 医院需要确定下 */ |
1106 | 1106 | Criteria disCriteria = Criteria.where("createDate").gte(DateUtil.getYearDate(year)) |
1107 | - .lt(DateUtil.getNextYearDate(year)); | |
1107 | + .lt(DateUtil.getNextYearDate(year)).and("yn").nin(0); | |
1108 | 1108 | List<DischargeAbstractMotherModel> dischargeAbstractMotherModels = mongoUtil.findField(DischargeAbstractMotherModel.class, disCriteria, "patientId"); |
1109 | 1109 | for (DischargeAbstractMotherModel dischargeAbstractMotherModel : dischargeAbstractMotherModels) { |
1110 | 1110 | patientIds.add(dischargeAbstractMotherModel.getPatientId()); |