Bläddra i källkod

feat: enums方法优化

WANGKANG 9 månader sedan
förälder
incheckning
a1ddd5feca

+ 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);
         }