Compare commits
No commits in common. "a417ec415a2414b4ba3540639f2d178f1d47d389" and "0df3284e218b2c4c3e84077e2fdb6814663d68c0" have entirely different histories.
a417ec415a
...
0df3284e21
|
|
@ -151,15 +151,6 @@ public class PermissionServiceImpl implements PermissionService {
|
|||
.in(RolePermission::getRoleId, roleIds);
|
||||
long count = rolePermissionMapper.selectCount(queryWrapper);
|
||||
map.put(id, count > 0);
|
||||
|
||||
// 添加父节点
|
||||
if ( count>0 ) {
|
||||
EdFileInfo file = edFileInfoMapper.selectById(id);
|
||||
String[] parentIds = file.getFilePath().split("_");
|
||||
for (String parentId : parentIds) {
|
||||
map.put(parentId, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue