智慧农业后台管理
guoshilong
2022-10-18 6b6725aac343f6decf4e475ff8b03f5b474e5759
src/main/java/org/springblade/modules/system/controller/RoleController.java
@@ -149,7 +149,10 @@
      CacheUtil.clear(SYS_CACHE);
      CacheUtil.clear(SYS_CACHE, Boolean.FALSE);
      boolean temp = roleService.grant(grantVO.getRoleIds(), grantVO.getMenuIds(), grantVO.getDataScopeIds(), grantVO.getApiScopeIds());
      return R.status(temp);
      Role role = roleService.getById(grantVO.getRoleIds().get(0));
      role.setSystemId(grantVO.getSystemIds());
      boolean status = roleService.updateById(role);
      return R.status(temp&&status);
   }
   /**