fix:图片访问

fix:权限修改
This commit is contained in:
dzc committed 2026-10-29 14:28:38 +08:00
1 parent 710e4cfb90
commit bbde6cc87f
56 files changed
+2671 -271

No files matched your search

@@ -112,7 +112,7 @@ public class RemoteServiceImpl implements IRemoteService {
Long parentId = checkParentDto.getParentId();
List<Long> deptIdList = checkParentDto.getDeptIdList();
// 查询子级包括自己
List<SysDept> allDept = deptService.getAllDept(null).getData();
List<SysDept> allDept = deptService.getInnerAllDept(null).getData();
List<SysDept> childrenDeptList = DataUtil.selectChildrenByDept(parentId, allDept);
List<Long> childrenDeptIdList = childrenDeptList.stream().map(SysDept::getDeptId).collect(Collectors.toList());
@@ -148,7 +148,7 @@ public class RemoteServiceImpl implements IRemoteService {
Long childId = checkChildDto.getChildId();
List<Long> deptIdList = checkChildDto.getDeptIdList();
// 查询父级包括自己
List<SysDept> allDept = deptService.getAllDept(null).getData();
List<SysDept> allDept = deptService.getInnerAllDept(null).getData();
List<SysDept> parentDeptList = DataUtil.selectParentByDept(childId, allDept);
List<Long> parentDeptIdList = parentDeptList.stream().map(SysDept::getDeptId).collect(Collectors.toList());
parentDeptIdList.remove(childId);