修复会出现空指针异常

pull/58/MERGE
wangchl 2018-12-28 14:23:23 +08:00
parent c6e4daedd4
commit 63ee2ba2e7
1 changed files with 1 additions and 1 deletions

View File

@ -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(",")));
}