Commit ad5cb9900014c51a004d95fa5274d1180f7c331d

Authored by liquanyu
1 parent 0cfc2da861

update

Showing 1 changed file with 5 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java View file @ ad5cb99
... ... @@ -5479,6 +5479,11 @@
5479 5479 if (CollectionUtils.isNotEmpty(organizations)) {
5480 5480 patientsQuery.setHospitalId(String.valueOf(organizations.get(0).getId()));
5481 5481 }
  5482 + else
  5483 + {
  5484 + deliverMap.put("motherinfo", new ArrayList<>());
  5485 + return deliverMap;
  5486 + }
5482 5487 } else {
5483 5488 deliverMap.put("motherinfo", new ArrayList<>());
5484 5489 return deliverMap;