Commit f347ce1bd41fbf4bc3e34aeddc9123135b7064bc
1 parent
e4ef4015a6
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 4 additions and 16 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
f347ce1
... | ... | @@ -6369,23 +6369,11 @@ |
6369 | 6369 | return deliverMap; |
6370 | 6370 | } |
6371 | 6371 | |
6372 | - List<Patients> list; | |
6372 | + List<Patients> list = null; | |
6373 | 6373 | String patientId = getPatientId(idCard,hospitalId); |
6374 | -// if (StringUtils.isNotEmpty(patientId)) { | |
6375 | - //衡水市 | |
6376 | - if ("12".equals(cityId)) | |
6377 | - { | |
6378 | - list = mongoTemplate.find(Query.query(Criteria.where("id").is(patientId)), Patients.class); | |
6379 | - } | |
6380 | - else | |
6381 | - { | |
6382 | - list = mongoTemplate.find(Query.query(Criteria.where("id").is(patientId).and("hospitalId").is(hospitalId)), Patients.class); | |
6383 | - | |
6384 | - } | |
6385 | - | |
6386 | -// } else { | |
6387 | -// list = patientsService.queryPatient1(patientsQuery, "created"); | |
6388 | -// } | |
6374 | + if (StringUtils.isNotEmpty(patientId)) { | |
6375 | + list = mongoTemplate.find(Query.query(Criteria.where("id").is(patientId)), Patients.class); | |
6376 | + } | |
6389 | 6377 | |
6390 | 6378 | List<Map<String, Object>> deliverList = new ArrayList<>(); |
6391 | 6379 |