智慧农业后台管理
·
guoshilong
2022-09-23 bf1a1999cc8e1608e43bd07bec9ddd59544e0ccf
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);
   }
   /**