Commit 36dbda6605bc1698e971ba52c17047ba7c1a0fe9
1 parent
559e65dc43
Exists in
master
and in
8 other branches
增加
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrganizationController.java
View file @
36dbda6
... | ... | @@ -219,14 +219,17 @@ |
219 | 219 | PageInfo pageInfo =null; |
220 | 220 | if (CollectionUtils.isNotEmpty(areaId)) { |
221 | 221 | OrganizationQuery organizationQuery = new OrganizationQuery(); |
222 | + organizationQuery.setNeed("true"); | |
223 | + organizationQuery.setSort("province_id desc,city_id desc,area_id desc"); | |
224 | + organizationQuery.setYn(YnEnums.YES.getId()); | |
222 | 225 | organizationQuery.setIdList(areaId); |
223 | 226 | List<Integer> list = new ArrayList<>(); |
224 | 227 | list.add(3); |
225 | 228 | list.add(4); |
226 | 229 | organizationQuery.setYn(YnEnums.YES.getId()); |
227 | 230 | // organizationQuery.setTypeList(list); |
228 | - pageInfo=organizationQuery.getPageInfo(); | |
229 | 231 | organizations = organizationService.queryOrganization(organizationQuery); |
232 | + pageInfo=organizationQuery.getPageInfo(); | |
230 | 233 | |
231 | 234 | } else { |
232 | 235 | UserOrganizationMapsQuery userOrganizationMapsQuery = new UserOrganizationMapsQuery(); |