Commit 4f7551bd19ea95188d9a6af18f10daf522bbe7f2
1 parent
42583cbe09
Exists in
fengning2023-06-06
modify 修改重点关注按照关注时间查询
Showing 1 changed file with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java
View file @
4f7551b
... | ... | @@ -973,7 +973,12 @@ |
973 | 973 | for (int i=0;i<7;i++){ |
974 | 974 | Map<String,Object> map = new HashMap<String,Object>(); |
975 | 975 | String ctime = DateUtil.getYyyyMmDd(DateUtil.addDay(now,-i)); |
976 | - patientsQueryRequest.setLastCTime(ctime); | |
976 | + if(StringUtils.isNotEmpty(patientsQueryRequest.getIsFocus())&&patientsQueryRequest.getIsFocus().equals("1")){ | |
977 | + patientsQueryRequest.setFocusTime(ctime); | |
978 | + }else{ | |
979 | + patientsQueryRequest.setLastCTime(ctime); | |
980 | + } | |
981 | + | |
977 | 982 | int userId = Integer.parseInt(doctorId); |
978 | 983 | BaseListResponse br = (BaseListResponse)patientFacade.queryHighRisk(patientsQueryRequest, null, 1, userId, "true", Boolean.FALSE); |
979 | 984 | map.put("count",br.getPageInfo().getCount()); |