|
|
@ -598,7 +598,7 @@ public class InspectOfflineServiceImpl implements IOfflineDataService { |
|
|
|
// 查询巡检任务项目
|
|
|
|
// 查询巡检任务项目
|
|
|
|
List<TaskObjectProjectOfflineVO> taskObjectProjects = taskObjectProjectService.getObjectProjectData(taskIds); |
|
|
|
List<TaskObjectProjectOfflineVO> taskObjectProjects = taskObjectProjectService.getObjectProjectData(taskIds); |
|
|
|
// 返回数据
|
|
|
|
// 返回数据
|
|
|
|
return taskObjectProjects.stream().map(item -> this.convertFileOrVideo(item)).collect(Collectors.toList()); |
|
|
|
return taskObjectProjects.stream().map(this::convertFileOrVideo).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -616,7 +616,7 @@ public class InspectOfflineServiceImpl implements IOfflineDataService { |
|
|
|
in(TaskObjectProjectContentEntity::getTaskId, taskIds); |
|
|
|
in(TaskObjectProjectContentEntity::getTaskId, taskIds); |
|
|
|
}}); |
|
|
|
}}); |
|
|
|
// 返回数据
|
|
|
|
// 返回数据
|
|
|
|
return contents.stream().map(item -> this.convertFileOrVideo(item)).collect(Collectors.toList()); |
|
|
|
return contents.stream().map(this::convertFileOrVideo).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|