Commit f6a8c48d by guojuxing

运维用户登录gic权限修复

parent 4d628fba
...@@ -1249,6 +1249,10 @@ public class MenuApiServiceImpl implements MenuApiService { ...@@ -1249,6 +1249,10 @@ public class MenuApiServiceImpl implements MenuApiService {
//过滤运营人员的部门职位权限 //过滤运营人员的部门职位权限
Map<String, List<TabSysMenuAuthDepart>> departMap = getAuthDepartMap(null); Map<String, List<TabSysMenuAuthDepart>> departMap = getAuthDepartMap(null);
return resultList.stream().filter(e -> { return resultList.stream().filter(e -> {
if (e.getAuthType().intValue() == 1) {
//普通管理员的都有效,不需要判断部门职位
return true;
}
List<TabSysMenuAuthDepart> authList = departMap.get(e.getMenuCode()); List<TabSysMenuAuthDepart> authList = departMap.get(e.getMenuCode());
if (authList == null) { if (authList == null) {
//如果是空的,说明是全部权限 //如果是空的,说明是全部权限
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment