Commit 24cd1ed3bf95ed299e77bbae9e68394e4e6a2853
1 parent
a0b8eb389a
Exists in
master
and in
1 other branch
修改转诊
Showing 1 changed file with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java
View file @
24cd1ed
... | ... | @@ -446,7 +446,12 @@ |
446 | 446 | referralApplyOrderQuery.setServiceType(applyOrderQueryRequest.getServiceType()); |
447 | 447 | String hospital = autoMatchFacade.getHospitalId(userId); |
448 | 448 | referralApplyOrderQuery.setHospitalId(hospital); |
449 | - referralApplyOrderQuery.setHospitalName(organizationService.getOrganization(Integer.valueOf(hospital)).getName()); | |
449 | + if (null != hospital) { | |
450 | + Organization org = organizationService.getOrganization(Integer.valueOf(hospital)); | |
451 | + if (null != org) { | |
452 | + referralApplyOrderQuery.setHospitalName(org.getName()); | |
453 | + } | |
454 | + } | |
450 | 455 | //1 转入 0转出 |
451 | 456 | if ("1".equals(applyOrderQueryRequest.getAction())) { |
452 | 457 | referralApplyOrderQuery.setTransferredHospital(hospital); |