Commit 20d2c88f15aa35512e25ead7fd8b492436feaeb7
1 parent
454206fd48
Exists in
master
and in
6 other branches
体成分分析
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VolumeComponentAnalysisFacade.java
View file @
20d2c88
... | ... | @@ -186,7 +186,7 @@ |
186 | 186 | String hospitalId = autoMatchFacade.getHospitalId(userId); |
187 | 187 | VolumeComponentAnalysisModel volumeComponentAnalysisModel = mongoTemplate.findById(id, VolumeComponentAnalysisModel.class); |
188 | 188 | if (volumeComponentAnalysisModel != null) { |
189 | - Patients patients = mongoTemplate.findOne(Query.query(Criteria.where("_id").is(volumeComponentAnalysisModel.getPatientId()).and("yn").is(YnEnums.YES.getId()).and("type").is(1).and("hospitalId").is(hospitalId)), Patients.class); | |
189 | + Patients patients = mongoTemplate.findOne(Query.query(Criteria.where("_id").is(volumeComponentAnalysisModel.getPatientId()).and("yn").is(YnEnums.YES.getId()).and("hospitalId").is(hospitalId)), Patients.class); | |
190 | 190 | if (patients != null) { |
191 | 191 | data = setData(patients, volumeComponentAnalysisModel,userId); |
192 | 192 | } |