Commit a9fede39b0c88260c2f945da6de180e42288736d
1 parent
8e13d70fdf
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 11 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml
View file @
a9fede3
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java
View file @
a9fede3
... | ... | @@ -302,9 +302,14 @@ |
302 | 302 | if(CollectionUtils.isNotEmpty(list)){ |
303 | 303 | for(Patients pat : list) |
304 | 304 | { |
305 | - if (pat != null && StringUtils.isNotEmpty(pat.getVcCardNo()) && StringUtils.isNotEmpty(pat.getHospitalId())) | |
305 | + if (pat != null && StringUtils.isNotEmpty(pat.getHospitalId())) | |
306 | 306 | { |
307 | 307 | |
308 | + if (StringUtils.isNotEmpty(pat.getVcCardNo()) && StringUtils.isNotEmpty(pat.getPhone())) | |
309 | + { | |
310 | + continue; | |
311 | + } | |
312 | + | |
308 | 313 | //获取医院的名称 |
309 | 314 | String hospitalName = hIdNames.get(pat.getHospitalId()); |
310 | 315 | if (!StringUtils.isNotEmpty(hospitalName)) |
... | ... | @@ -321,6 +326,7 @@ |
321 | 326 | LisReportModel model = new LisReportModel(); |
322 | 327 | model.setVcCardNo(pat.getVcCardNo()); |
323 | 328 | model.setHospitalId(pat.getHospitalId()); |
329 | + model.setPhone(pat.getPhone()); | |
324 | 330 | //通过就诊卡号和医院id查询到医院下面的lis记录 |
325 | 331 | List<LisReportModel> lises = lisService.queryLisDataByModel(model); |
326 | 332 | if (CollectionUtils.isNotEmpty(lises)) |