|
@@ -14,6 +14,7 @@ import com.taais.biz.mapper.AlgorithmTaskTrackMapper;
|
|
|
import com.taais.biz.service.IAlgorithmTaskTrackService;
|
|
|
import com.taais.common.core.config.TaaisConfig;
|
|
|
import com.taais.common.core.constant.Constants;
|
|
|
+import com.taais.common.core.core.domain.CommonResult;
|
|
|
import com.taais.common.core.core.page.PageResult;
|
|
|
import com.taais.common.core.utils.MapstructUtils;
|
|
|
import com.taais.common.orm.core.page.PageQuery;
|
|
@@ -283,4 +284,13 @@ public class AlgorithmTaskTrackServiceImpl extends BaseServiceImpl<AlgorithmTask
|
|
|
return this.removeByIds(Arrays.asList(ids));
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public CommonResult listSubTask(Long id) {
|
|
|
+ List<ToInfrared> toInfraredList = toInfraredService.getByParentTaskId(id);
|
|
|
+ List<TrackSequence> trackSequenceList = trackSequenceService.getByParentTaskId(id);
|
|
|
+ Map<String, Object> result = new HashMap<>();
|
|
|
+ result.put("toInfraredList", toInfraredList);
|
|
|
+ result.put("trackSequenceList", trackSequenceList);
|
|
|
+ return CommonResult.success(result);
|
|
|
+ }
|
|
|
}
|