Commit 5257697aed60e058c2822b894d211f4aeb01c470
1 parent
ec080a6e1b
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 8 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
5257697
| ... | ... | @@ -820,6 +820,14 @@ |
| 820 | 820 | patientsQuery.setLastMensesEnd(riskPatientsQueryRequest.capStart()); |
| 821 | 821 | patientsQuery.setrLevel(riskPatientsQueryRequest.getrLevel()); |
| 822 | 822 | patientsQuery.setrFactorList(com.lyms.platform.common.utils.StringUtils.covertToList(riskPatientsQueryRequest.getrFacotr(), String.class)); |
| 823 | + if (StringUtils.isNotEmpty(riskPatientsQueryRequest.getFmTime())) { | |
| 824 | + String fmTime = riskPatientsQueryRequest.getFmTime(); | |
| 825 | + String[] dates = fmTime.split(" - "); | |
| 826 | + patientsQuery.setFmDateStart(DateUtil.parseYMD(dates[0])); | |
| 827 | + if (dates.length == 2) { | |
| 828 | + patientsQuery.setFmDateEnd(DateUtil.parseYMDHMS(dates[1] + " 23:59:59")); | |
| 829 | + } | |
| 830 | + } | |
| 823 | 831 | List <Patients> patientses = patientsService.queryPatientBySort(patientsQuery, riskPatientsQueryRequest.getSort(), riskPatientsQueryRequest.getOrder()); |
| 824 | 832 | List<Map> data = new ArrayList<>(); |
| 825 | 833 | List<String> idsMd = new ArrayList<>(); |