Commit e59f5962 by guojuxing

权限修复

parent f71875fe
......@@ -54,7 +54,7 @@ public class MenuApiServiceImpl implements MenuApiService {
private final Integer MENU_LEVEL = 2;
private final Integer MENU_LEVEL_MAX = 5;
private final Integer DELIMITER = 5;
private final String DELIMITER = "-";
@Autowired
private MenuService menuService;
......@@ -1459,12 +1459,12 @@ public class MenuApiServiceImpl implements MenuApiService {
List<GicPositionDTO> positionList = departMap.get(departmentCode);
if (CollectionUtils.isNotEmpty(positionList)) {
positionList.forEach(e -> {
departPosition.add(departmentCode + "-" + e.getPositionCode());
departPosition.add(departmentCode + DELIMITER + e.getPositionCode());
});
}
}
} else {
departPosition.add(departmentCode + "-" + gicUserDTO.getPositionCode());
departPosition.add(departmentCode + DELIMITER + gicUserDTO.getPositionCode());
}
}
//过滤运营人员的部门职位权限
......
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