Commit 6b63423275f9ad84e67a8945e192543dbfba0750
1 parent
cfe78b8242
Exists in
master
and in
1 other branch
nio server
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrganizationController.java
View file @
6b63423
... | ... | @@ -237,7 +237,7 @@ |
237 | 237 | List<Object> data = new ArrayList<>(); |
238 | 238 | List<Organization> organizations = new ArrayList<>(); |
239 | 239 | PageInfo pageInfo = new PageInfo(0,0,0,1); |
240 | - if (CollectionUtils.isNotEmpty(areaId)) { | |
240 | + if (areaId != null) { | |
241 | 241 | // 一定要加上自己的机构权限 |
242 | 242 | areaId.add(users.getOrgId()); |
243 | 243 | OrganizationQuery organizationQuery = new OrganizationQuery(); |