From f853b02cb7b265379eceb2f0e3c38f9d63bb1b21 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 06 一月 2025 17:55:25 +0800 Subject: [PATCH] 执行调度模型 默认时间 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleFactory.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleFactory.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleFactory.java index 55ad888..46a0f1a 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleFactory.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleFactory.java @@ -14,6 +14,9 @@ private PredictSampleInfoConstructor predictSampleInfoConstructor; @Autowired + private ScheduleSampleInfoConstructor scheduleSampleInfoConstructor; + + @Autowired private PredictSampleDataConstructor predictSampleDataConstructor; /** @@ -24,16 +27,16 @@ * @return */ public SampleInfoConstructor createSampleInfo(String typeA, String modelId){ - PredictSampleInfoConstructor sampleInfoConstructor = null; + SampleInfoConstructor sampleInfoConstructor = null; if (typeA.compareTo(TypeA.Predict.name()) == 0) { sampleInfoConstructor = predictSampleInfoConstructor; } else if (typeA.compareTo(TypeA.Schedule.name()) == 0) { - sampleInfoConstructor = predictSampleInfoConstructor; + sampleInfoConstructor = scheduleSampleInfoConstructor; } return sampleInfoConstructor; } - public SampleDataConstructor createSampelData(String typeA) { + public SampleDataConstructor createSampleData(String typeA) { SampleDataConstructor sampleDataConstructor = null; if (typeA.compareTo(TypeA.Predict.name()) == 0) { sampleDataConstructor = predictSampleDataConstructor; -- Gitblit v1.9.3