智慧农业后台管理
guoshilong
2022-10-26 7de9fef9839d5411f28d7021515563766a3ee503
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);
   }
   /**