Commit 5bd38c225e9f54140da1091ea435d26b4cf17a4c
1 parent
f768fbbbd6
Exists in
master
and in
7 other branches
分娩作废产检劵
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
5bd38c2
... | ... | @@ -767,7 +767,10 @@ |
767 | 767 | patientsQuery.setLimit(patientManagerRequest.getLimit()); |
768 | 768 | patientsQuery.setPage(patientManagerRequest.getPage()); |
769 | 769 | } |
770 | - | |
770 | + //在区域组的时候不用查询隐藏档案 | |
771 | + if(null!=groupsFacade.findByCurrentUserId(autoMatchFacade.getHospitalId(patientManagerRequest.getOperatorId()))){ | |
772 | + patientsQuery.setExtEnable(false); | |
773 | + } | |
771 | 774 | patientsQuery.setBuildTypeNot(1); |
772 | 775 | patientsQuery.setHospitalId(autoMatchFacade.getHospitalId(patientManagerRequest.getOperatorId())); |
773 | 776 | patientsQuery.setProvinceId(StringUtils.isEmpty(patientManagerRequest.getProvinceRegisterId()) ? null : patientManagerRequest.getProvinceRegisterId()); |