Commit 5af4a30b1a499acf46c87c45aa5603f65dd126c8
1 parent
c059ab55ff
Exists in
master
and in
3 other branches
两癌增加年龄查询
Showing 1 changed file with 8 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/QuanChanPatientWorker.java
View file @
5af4a30
... | ... | @@ -185,6 +185,13 @@ |
185 | 185 | chanResult.setCjTimes(ichu + i); |
186 | 186 | |
187 | 187 | try { |
188 | + if (CollectionUtils.isNotEmpty(chu)) | |
189 | + { | |
190 | + AntExChuModel antExChuModel = chu.get(0); | |
191 | + Organization org = organizationService.getOrganization(Integer.parseInt( antExChuModel.getHospitalId())); | |
192 | + chanResult.setFirstBH(org.getName()); | |
193 | + } | |
194 | + | |
188 | 195 | //优惠券发放医院 |
189 | 196 | String coupHospital = couponService.getCouponHospital(patients.getPid()); |
190 | 197 | chanResult.setCouponCommunity(coupHospital); |
... | ... | @@ -243,7 +250,7 @@ |
243 | 250 | List<BasicConfig> basicConfigList = basicConfigService.queryBasicConfig(basicConfigQuery); |
244 | 251 | chanResult.setLiveType(basicConfigList.get(0).getName()); |
245 | 252 | } |
246 | - chanResult.setbTime(DateUtil.getyyyy_MM_dd(patients.getFirstCheckTime())); | |
253 | + chanResult.setbTime(DateUtil.getyyyy_MM_dd(patients.getBookbuildingDate())); | |
247 | 254 | //注册地址 |
248 | 255 | chanResult.setRegisterAddr(CommonsHelper.getResidence(patients.getProvinceId(), patients.getCityId(), patients.getAreaId(), patients.getStreetId(), patients.getAddress(), basicConfigService)); |
249 | 256 | chanResult.setAddr(CommonsHelper.getResidence(patients.getProvinceRegisterId(), patients.getCityRegisterId(), patients.getAreaRegisterId(), patients.getStreetRegisterId(), patients.getAddressRegister(), basicConfigService)); |