|
@@ -48,6 +48,7 @@ import com.taais.biz.domain.vo.TrackSequenceVo;
|
|
|
import com.taais.biz.service.ITrackSequenceService;
|
|
|
|
|
|
import static com.taais.biz.constant.BizConstant.VideoStatus.NOT_START;
|
|
|
+import static com.taais.biz.domain.table.AlgorithmModelTrackTableDef.ALGORITHM_MODEL_TRACK;
|
|
|
import static com.taais.biz.domain.table.TrackSequenceTableDef.TRACK_SEQUENCE;
|
|
|
import static com.taais.biz.service.impl.VideoStableServiceImpl.*;
|
|
|
import static com.taais.biz.service.impl.VideoStableServiceImpl.makeDir;
|
|
@@ -442,4 +443,22 @@ public class TrackSequenceServiceImpl extends BaseServiceImpl<TrackSequenceMappe
|
|
|
return CommonResult.fail("读取日志失败!");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public CommonResult getDetail(Long id) {
|
|
|
+ TrackSequenceVo entity = selectById(id);
|
|
|
+
|
|
|
+ AlgorithmModelTrack modelTrack = algorithmModelTrackService.getById(entity.getAlgorithmModelId());
|
|
|
+ AlgorithmConfigTrack algorithmConfigTrack = algorithmConfigTrackService.getById(entity.getAlgorithmId());
|
|
|
+
|
|
|
+ AlgorithmModelTrackVo res = new AlgorithmModelTrackVo();
|
|
|
+
|
|
|
+ BeanUtils.copyProperties(modelTrack, res);
|
|
|
+ BeanUtils.copyProperties(algorithmConfigTrack, res);
|
|
|
+
|
|
|
+ res.setAlgorithmId(algorithmConfigTrack.getId());
|
|
|
+ res.setId(modelTrack.getId());
|
|
|
+
|
|
|
+ return CommonResult.success(res, "success");
|
|
|
+ }
|
|
|
}
|