Commit 9d1f77fb71d9283fa181fc5e17352b93b0001970
1 parent
92b94d7148
Exists in
master
and in
6 other branches
产筛
Showing 1 changed file with 5 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/SieveWorker.java
View file @
9d1f77f
... | ... | @@ -114,15 +114,14 @@ |
114 | 114 | { |
115 | 115 | referralStatus = 2; |
116 | 116 | } |
117 | - | |
118 | - Organization organization = organizationService.getOrganization(Integer.parseInt(model.getHospitalId())); | |
119 | - sieveListResult.setApplyHospital(organization.getName()); | |
120 | 117 | } |
121 | - | |
122 | 118 | sieveListResult.setReferralStatus(referralStatus); |
123 | 119 | |
124 | - | |
125 | - | |
120 | + if (StringUtils.isNotEmpty(sieveModel.getApplyHospitalId())) | |
121 | + { | |
122 | + Organization organization = organizationService.getOrganization(Integer.parseInt(sieveModel.getApplyHospitalId())); | |
123 | + sieveListResult.setApplyHospital(organization.getName()); | |
124 | + } | |
126 | 125 | |
127 | 126 | results.add(sieveListResult); |
128 | 127 | } |