Commit 6a9edfdfd119361454bb6407c07764950e884376
1 parent
721e92aaa3
Exists in
master
and in
6 other branches
查看丰润区机构列表,查看第10页数据时接口返回的是该区域下的全部数据
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 @
6a9edfd
... | ... | @@ -243,7 +243,7 @@ |
243 | 243 | // 一定要加上自己的机构权限 |
244 | 244 | areaId.add(users.getOrgId()); |
245 | 245 | OrganizationQuery organizationQuery = new OrganizationQuery(); |
246 | - if(null != page && limit != page) { | |
246 | + if(null != page && null!=limit) { | |
247 | 247 | organizationQuery.setNeed("true"); |
248 | 248 | organizationQuery.setPage(page); |
249 | 249 | organizationQuery.setLimit(limit); |