🔥 Removing code or files. 删除无用代码

This commit is contained in:
冷冷 committed 2019-08-21 22:47:14 +08:00
1 parent cc529bdf06
commit 9dd89b36a3
1 file changed
-4
@@ -86,10 +86,6 @@ public class DataScopeInterceptor extends AbstractSqlParserHandler implements In
// 优先获取赋值数据
if (CollUtil.isEmpty(deptIds)) {
PigxUser user = SecurityUtils.getUser();
if (user == null) {
throw new CheckedException("auto datascope, set up security details true");
}
List<String> roleIdList = user.getAuthorities()
.stream().map(GrantedAuthority::getAuthority)
.filter(authority -> authority.startsWith(SecurityConstants.ROLE))