fix(权限点): 过滤修复
This commit is contained in:
parent
8adbb01be0
commit
4710057f44
@ -235,7 +235,7 @@ public class PermissionPointServiceImpl implements PermissionPointService {
|
||||
List<Long> ids = StrUtil.split(vo.getPath(), FEATURE_PATH_DELIMITER, true, true)
|
||||
.stream()
|
||||
.map(Long::valueOf)
|
||||
.filter(id -> id < 1)
|
||||
.filter(id -> id > 0)
|
||||
.collect(Collectors.toList());
|
||||
Map<Long, SaasFeature> parentsMapping = this.saasFeatureDao.listByIds(ids)
|
||||
.stream()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user