Commit 5f729910ec8f1d8cb54827e6906aeb3192b6c654
1 parent
949716b95b
Exists in
master
and in
6 other branches
a
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RolesController.java
View file @
5f72991
... | ... | @@ -506,7 +506,7 @@ |
506 | 506 | if (users.getType() == 2) { |
507 | 507 | rolesList.addAll(roles); |
508 | 508 | } else { |
509 | - UserRoleMapsQuery userRoleMapsQuery = new UserRoleMapsQuery(); | |
509 | + /*UserRoleMapsQuery userRoleMapsQuery = new UserRoleMapsQuery(); | |
510 | 510 | userRoleMapsQuery.setYn(YnEnums.YES.getId()); |
511 | 511 | userRoleMapsQuery.setUserId(users.getId()); |
512 | 512 | List<UserRoleMaps> userRoleMapsList = userRoleMapsService.queryUserRoleMaps(userRoleMapsQuery); |
... | ... | @@ -518,7 +518,8 @@ |
518 | 518 | if (onwerRoleIds.contains(roles1.getId())) { |
519 | 519 | rolesList.add(roles1); |
520 | 520 | } |
521 | - } | |
521 | + }*/ | |
522 | + rolesList.addAll(roles); | |
522 | 523 | } |
523 | 524 | |
524 | 525 | List<Permissions2> permissionses; |