소스 검색

feat: enums方法优化

WANGKANG 9 달 전
부모
커밋
a1ddd5feca
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      taais-modules/taais-biz/src/main/java/com/taais/biz/service/impl/AlgorithmModelTrackServiceImpl.java

+ 5 - 0
taais-modules/taais-biz/src/main/java/com/taais/biz/service/impl/AlgorithmModelTrackServiceImpl.java

@@ -205,6 +205,11 @@ public class AlgorithmModelTrackServiceImpl extends BaseServiceImpl<AlgorithmMod
             map.put("value", algorithmModelTrack.getId());
             map.put("label", algorithmModelTrack.getModelName());
 
+            AlgorithmConfigTrack config = algorithmConfigTrackService.getById(algorithmModelTrack.getAlgorithmId());
+            map.put("algorithmName", config.getAlgorithmName());
+            map.put("type", config.getType());
+            map.put("subsystem", config.getSubsystem());
+
             result.add(map);
         }