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