Commit 87a2918b8fdb64fa0d3ad2b1464db1d7e18a058e
1 parent
46466226a6
Exists in
master
and in
8 other branches
修改产检删除
Showing 1 changed file with 18 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/QuanPatientWorker.java
View file @
87a2918
... | ... | @@ -111,6 +111,24 @@ |
111 | 111 | quanPatientsResult.setCurrentCh(""); |
112 | 112 | } |
113 | 113 | } |
114 | + }else{ | |
115 | + AntExChuQuery antExChuQuery1=new AntExChuQuery(); | |
116 | + antExChuQuery1.setPid(patients.getPid()); | |
117 | + antExChuQuery1.setYn(YnEnums.YES.getId()); | |
118 | + List<AntExChuModel> chu= antExService.queryAntExChu(antExChuQuery1); | |
119 | + for (AntExChuModel a : chu) { | |
120 | + try { | |
121 | + if(StringUtils.isNotEmpty(a.getHospitalId())){ | |
122 | + Organization og = organizationService.getOrganization(Integer.valueOf(a.getHospitalId())); | |
123 | + if(null!=og){ | |
124 | + quanPatientsResult.setCurrentCh(og.getName()); | |
125 | + break; | |
126 | + } | |
127 | + } | |
128 | + } catch (Exception e) { | |
129 | + quanPatientsResult.setCurrentCh(""); | |
130 | + } | |
131 | + } | |
114 | 132 | } |
115 | 133 | antExChuQuery.setPid(patients.getPid()); |
116 | 134 | antExChuQuery.setYn(YnEnums.YES.getId()); |