diff --git a/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java b/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java index ba61032d..d2317ad9 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java @@ -186,7 +186,7 @@ public class ResourceController { } if (useIds1.contains(user.getId())) { // 区管理员 - logger.info("区管理员"); + logger.info("区管理员:" + sysDeptEntity.getDistrict()); SysDeptEntity finalSysDeptEntity = sysDeptEntity; List deptId = sysDeptDao.getIdFromDistrict(sysDeptEntity.getDistrict()); List temp = new ArrayList() { @@ -214,8 +214,8 @@ public class ResourceController { break; } } - } + break; } PageData page = resourceService.page(params); diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index 701ab6af..308ca600 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -563,7 +563,7 @@ public class ResourceServiceImpl extends CrudServiceImpl deptId = sysDeptDao.getIdFromDistrict(sysDeptEntity.getDistrict()); List temp = new ArrayList() { @@ -599,6 +599,7 @@ public class ResourceServiceImpl extends CrudServiceImpl