Commit b82c6f88b1d22afc772688db3f6bc125310ca0e5

Authored by qiaoyuewang
1 parent bfe19e95df
Exists in dev

7:判断建当时,档案号是否重复

Showing 2 changed files with 4 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ b82c6f8
... ... @@ -842,6 +842,10 @@
842 842 condition = condition.and("highRiskFileCode", highRiskFileCode, MongoOper.IS);
843 843 }
844 844  
  845 + if (StringUtils.isNotEmpty(fileCode)){
  846 + condition = condition.and("fileCode", fileCode, MongoOper.IS);
  847 + }
  848 +
845 849 if (StringUtils.isNotEmpty(blNo)){
846 850 condition = condition.and("blNo", blNo, MongoOper.IS);
847 851 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ b82c6f8
... ... @@ -309,7 +309,6 @@
309 309 }
310 310 }
311 311 }
312   -
313 312 if (StringUtils.isNotEmpty(yunRequest.getFileCode())) {
314 313 patientsQuery.setCardNo(null);
315 314 patientsQuery.setPhone(null);