Commit c1b3adda5cc68d1c09898eb9fb0a0b209a3a53e7

Authored by jiangjiazhi
1 parent 1ab12aab04
Exists in master and in 1 other branch dev

a

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RolesController.java View file @ c1b3add
... ... @@ -410,7 +410,7 @@
410 410 if (users.getType() == 2) {
411 411 rolesList.addAll(roles);
412 412 } else {
413   - UserRoleMapsQuery userRoleMapsQuery = new UserRoleMapsQuery();
  413 + /*UserRoleMapsQuery userRoleMapsQuery = new UserRoleMapsQuery();
414 414 userRoleMapsQuery.setYn(YnEnums.YES.getId());
415 415 userRoleMapsQuery.setUserId(users.getId());
416 416 List<UserRoleMaps> userRoleMapsList = userRoleMapsService.queryUserRoleMaps(userRoleMapsQuery);
... ... @@ -422,7 +422,7 @@
422 422 if (onwerRoleIds.contains(roles1.getId())) {
423 423 rolesList.add(roles1);
424 424 }
425   - }
  425 + }*/rolesList.addAll(roles);
426 426 }
427 427  
428 428 List<Permissions2> permissionses;