Commit 4c66b0fd46c7ed79028e0928093242936bb50091
1 parent
d7c50c3958
Exists in
master
and in
1 other branch
增加排序
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrganizationController.java
View file @
4c66b0f
... | ... | @@ -221,7 +221,7 @@ |
221 | 221 | OrganizationQuery organizationQuery = new OrganizationQuery(); |
222 | 222 | organizationQuery.setId(id); |
223 | 223 | organizationQuery.setNeed("true"); |
224 | - organizationQuery.setSort("id desc"); | |
224 | + organizationQuery.setSort("provinceId desc,cityId desc,areaId desc"); | |
225 | 225 | organizationQuery.setYn(YnEnums.YES.getId()); |
226 | 226 | organizationQuery.setPage(page); |
227 | 227 | organizationQuery.setLimit(limit); |
... | ... | @@ -292,6 +292,10 @@ |
292 | 292 | map.put("province",organization.getProvince()); |
293 | 293 | map.put("provinceId",organization.getProvinceId()); |
294 | 294 | return map; |
295 | + } | |
296 | + @RequestMapping("/") | |
297 | + public void build(){ | |
298 | + | |
295 | 299 | } |
296 | 300 | } |