Commit d86940f096f38471e5ad836ec4eeb3c246051ee5

Authored by jiangjiazhi
1 parent 7fa861eb70
Exists in master

修改产检删除

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ d86940f
... ... @@ -218,7 +218,7 @@
218 218 patientsQuery.sethScoreEnd(riskPatientsQueryRequest.getEndHScore());
219 219 patientsQuery.setrFactor(riskPatientsQueryRequest.getrFacotr());
220 220 Date currentDate = DateUtil.formatDate(new Date());
221   - patientsQuery.setExtEnable(false);
  221 +
222 222 patientsQuery.setPostViewTimes(riskPatientsQueryRequest.getPostViewTimes());
223 223 if (null != riskPatientsQueryRequest.getPostViewTimes() && riskPatientsQueryRequest.getPostViewTimes() >= 4) {
224 224 patientsQuery.setGtePostTimes(true);
... ... @@ -335,6 +335,7 @@
335 335 List<String> hospitalList = null;
336 336 //区域范围内孕妇
337 337 if (isRegion) {
  338 + patientsQuery.setExtEnable(false);
338 339 //王平说的 必须要给区域医院权限,不然他就是蠢逼 201611124 16:41
339 340 hospitalList = new ArrayList<>();
340 341 String hospital = autoMatchFacade.getHospitalId(userId);
... ... @@ -763,7 +764,6 @@
763 764 patientsQuery.setLimit(patientManagerRequest.getLimit());
764 765 patientsQuery.setPage(patientManagerRequest.getPage());
765 766 }
766   - patientsQuery.setExtEnable(false);
767 767  
768 768 patientsQuery.setHospitalId(autoMatchFacade.getHospitalId(patientManagerRequest.getOperatorId()));
769 769 patientsQuery.setProvinceRegisterId(StringUtils.isEmpty(patientManagerRequest.getProvinceRegisterId()) ? null : patientManagerRequest.getProvinceRegisterId());