Commit aefc5e4dff437141058edaec45861d7e231942ad
1 parent
7f4ad4247b
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/TempFacade.java
View file @
aefc5e4
... | ... | @@ -65,6 +65,8 @@ |
65 | 65 | @Autowired |
66 | 66 | private MongoTemplate mongoTemplate; |
67 | 67 | @Autowired |
68 | + private OrganizationGroupsFacade groupsFacade; | |
69 | + @Autowired | |
68 | 70 | private AccessPermissionFacade accessPermissionFacade; |
69 | 71 | |
70 | 72 | |
... | ... | @@ -111,8 +113,7 @@ |
111 | 113 | } |
112 | 114 | |
113 | 115 | public BaseResponse findTempDataList(TempQueryRequest queryRequest, Integer userId) { |
114 | - | |
115 | - List<String> hospital = accessPermissionFacade.getCurrentUserHospPermissions(userId); | |
116 | + List<String> hospital = groupsFacade.findGroupHospital(userId,true) ; | |
116 | 117 | PatientsQuery patientsQuery = new PatientsQuery(); |
117 | 118 | patientsQuery.setCardNo(queryRequest.getCardNo()); |
118 | 119 | patientsQuery.setVcCardNo(queryRequest.getVcCardNo()); |