liujie
2026-07-10 bedff910eb2394a8ce68762a8f3a413d81187ac1
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
@@ -95,7 +95,7 @@
        Set<String> permsSet = new HashSet<>();
        for (SysRole perm : perms)
        {
            if (StringUtils.isNotNull(perm))
            if (StringUtils.isNotNull(perm) && StringUtils.isNotEmpty(perm.getRoleKey()))
            {
                permsSet.addAll(Arrays.asList(perm.getRoleKey().trim().split(",")));
            }