Commit ad5cb9900014c51a004d95fa5274d1180f7c331d
1 parent
0cfc2da861
Exists in
master
and in
6 other branches
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; |