Commit 2c3eb2c9ff89ba52b75f9287efe9bc55b7450612

Authored by jiangjiazhi
1 parent c1a22d73c2

增加

Showing 1 changed file with 3 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java View file @ 2c3eb2c
... ... @@ -806,6 +806,9 @@
806 806  
807 807 UserRoleMaps userRoleMaps = new UserRoleMaps();
808 808 for (String tmp : roleArrayIds) {
  809 + if(StringUtils.isEmpty(tmp)){
  810 + continue;
  811 + }
809 812 Roles roles = rolesService.getRoles(Integer.valueOf(tmp));
810 813 if (roles == null || roles.getYn() == YnEnums.NO.getId()) {
811 814 continue;