修复会出现空指针异常

dep_wangsr
wangchl 6 years ago committed by Limy
parent b9a0201750
commit 0165d62471

@ -67,7 +67,7 @@ public class SysRoleServiceImpl implements ISysRoleService
Set<String> permsSet = new HashSet<>();
for (SysRole perm : perms)
{
if (StringUtils.isNotNull(perms))
if (StringUtils.isNotNull(perm))
{
permsSet.addAll(Arrays.asList(perm.getRoleKey().trim().split(",")));
}

Loading…
Cancel
Save