|
|
@@ -95,9 +95,9 @@ public class QueryUserPageListService { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private JsonResult check(User user) { |
|
|
|
if (DataPermissionEnum.DEPT.getCode() == user.getDataPermission()) { |
|
|
|
return JsonResult.error(QueryUserPageListCodeEnum.ORDINARY_USERS_NO_PERMISSION.getCode(), QueryUserPageListCodeEnum.ORDINARY_USERS_NO_PERMISSION.getMsg()); |
|
|
|
} |
|
|
|
// if (DataPermissionEnum.DEPT.getCode() == user.getDataPermission()) { |
|
|
|
// return JsonResult.error(QueryUserPageListCodeEnum.ORDINARY_USERS_NO_PERMISSION.getCode(), QueryUserPageListCodeEnum.ORDINARY_USERS_NO_PERMISSION.getMsg()); |
|
|
|
// } |
|
|
|
return JsonResult.success(); |
|
|
|
} |
|
|
|
|