|
|
@@ -521,8 +521,12 @@ public class IotProjectTaskController {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ Map<Long, DeptDO> deptMap = new HashMap<>();
|
|
|
// 查询当前分布任务关联的施工队伍信息
|
|
|
- Map<Long, DeptDO> deptMap = deptService.getDeptMap(deptIds);
|
|
|
+ DataPermissionUtils.executeIgnore(() -> {
|
|
|
+ Map<Long, DeptDO> tempDeptMap = deptService.getDeptMap(deptIds);
|
|
|
+ deptMap.putAll(tempDeptMap);
|
|
|
+ });
|
|
|
Map<Long, Long> projectDeptPair = new HashMap<>();
|
|
|
if (CollUtil.isNotEmpty(projectIds)) {
|
|
|
// 查询 任务 关联的项目信息
|