Commit 15545a0eb264a2086ff5139bc41f6cdafcbcf48b

Authored by liquanyu
1 parent 14caae9d66

update code

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 15545a0
... ... @@ -425,6 +425,8 @@
425 425 hospitalList.retainAll(orgId);
426 426 }
427 427 patientsQuery.setHospitalList(hospitalList);
  428 +
  429 + patientsQuery.setFmHospitalQueryList(hospitalList);
428 430 } else {
429 431 String hospital = autoMatchFacade.getHospitalId(userId);
430 432 patientsQuery.setHospitalId(hospital);
... ... @@ -457,7 +459,7 @@
457 459  
458 460 if (riskPatientsQueryRequest.getPostViewDaysStart() != null)
459 461 {
460   - Date start = DateUtil.addDay(new Date(),-riskPatientsQueryRequest.getPostViewDaysStart());
  462 + Date start = DateUtil.addDay(new Date(),-riskPatientsQueryRequest.getPostViewDaysStart()+1);
461 463 patientsQuery.setFmDateEnd(start);
462 464 }
463 465