|
@@ -91,6 +91,10 @@ public class AlgorithmModelTrackServiceImpl extends BaseServiceImpl<AlgorithmMod
|
|
public AlgorithmModelTrackVo selectById(Long id) {
|
|
public AlgorithmModelTrackVo selectById(Long id) {
|
|
AlgorithmModelTrackVo algorithmModelTrackVo = this.getOneAs(query().where(ALGORITHM_MODEL_TRACK.ID.eq(id)), AlgorithmModelTrackVo.class);
|
|
AlgorithmModelTrackVo algorithmModelTrackVo = this.getOneAs(query().where(ALGORITHM_MODEL_TRACK.ID.eq(id)), AlgorithmModelTrackVo.class);
|
|
|
|
|
|
|
|
+ if (algorithmModelTrackVo == null) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
Long algorithmId = algorithmModelTrackVo.getAlgorithmId();
|
|
Long algorithmId = algorithmModelTrackVo.getAlgorithmId();
|
|
|
|
|
|
AlgorithmConfigTrackVo algorithmConfigTrackVo = algorithmConfigTrackService.selectById(algorithmId);
|
|
AlgorithmConfigTrackVo algorithmConfigTrackVo = algorithmConfigTrackService.selectById(algorithmId);
|