Commit 95c7e0c5bc00e74c00d3b0a4f5f2ca4fcf658c4d

Authored by liquanyu
1 parent cee88662f2

分娩修改

Showing 1 changed file with 7 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 95c7e0c
... ... @@ -223,8 +223,8 @@
223 223 PatientsQuery patientsQuery = new PatientsQuery();
224 224 patientsQuery.setPhone(riskPatientsQueryRequest.getPhone());
225 225 patientsQuery.setCardNo(riskPatientsQueryRequest.getCardNo());
226   - patientsQuery.setFmHospital(riskPatientsQueryRequest.getFmHospital());
227 226  
  227 +
228 228 //设置为孕妇
229 229 patientsQuery.setType(type);
230 230  
... ... @@ -383,6 +383,9 @@
383 383 //王平说的 必须要给区域医院权限,不然他就是蠢逼 201611124 16:41
384 384 hospitalList = new ArrayList<>();
385 385 fmHospitalList = new ArrayList<>();
  386 +
  387 + fmHospitalList.add(riskPatientsQueryRequest.getFmHospital());
  388 +
386 389 String hospital = autoMatchFacade.getHospitalId(userId);
387 390 if (null != hospital) {
388 391 hospitalList.add(hospital);
... ... @@ -458,6 +461,9 @@
458 461  
459 462  
460 463 } else {
  464 +
  465 + patientsQuery.setFmHospital(riskPatientsQueryRequest.getFmHospital());
  466 +
461 467 String hospital = autoMatchFacade.getHospitalId(userId);
462 468 patientsQuery.setHospitalId(hospital);
463 469