Commit 0b0fb95d9699694b376910f2b3303731bf1ce64e
1 parent
0d06e61bbe
Exists in
master
and in
7 other branches
1
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
0b0fb95
... | ... | @@ -836,7 +836,11 @@ |
836 | 836 | // patientsQuery1.setBookbuildingDateEnd(end); |
837 | 837 | patientsQuery1.setLastMensesEnd(end); |
838 | 838 | patientsQuery1.setBuildType(1); |
839 | - patientsQuery1.setExtEnable(false); | |
839 | + //在区域组的时候不用查询隐藏档案 | |
840 | + if(null!=groupsFacade.findByCurrentUserId(autoMatchFacade.getHospitalId(userId))){ | |
841 | + patientsQuery1.setExtEnable(false); | |
842 | + } | |
843 | + | |
840 | 844 | if (listDate.size() > i + 1) { |
841 | 845 | // patientsQuery1.setBookbuildingDateStart(new Date(listDate.get(i + 1).getDate().getTime() + 86398000)); |
842 | 846 | patientsQuery1.setLastMensesStart(new Date(listDate.get(i + 1).getDate().getTime() + 86398000)); |