From a709abfd8ffec1524cefff30c3581f4425695433 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 05 十二月 2024 17:05:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleInfoConstructor.java |   32 +-------------------------------
 1 files changed, 1 insertions(+), 31 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleInfoConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleInfoConstructor.java
index 88b2f9a..3a8e085 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleInfoConstructor.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleInfoConstructor.java
@@ -6,7 +6,6 @@
 import com.iailab.module.model.mcs.pre.service.MmPredictModelService;
 import com.iailab.module.model.mdk.sample.dto.ColumnItem;
 import com.iailab.module.model.mdk.sample.dto.ColumnItemPort;
-import com.iailab.module.model.mdk.sample.dto.SampleInfo;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 import org.springframework.util.CollectionUtils;
@@ -32,11 +31,6 @@
     @Autowired
     private MmPredictItemService mmPredictItemService;
 
-    @Override
-    public SampleInfo prepareSampleInfo(String modelId, Date predictTime) {
-        return super.prepareSampleInfo(modelId, predictTime);
-    }
-
     /**
      * 返回样本矩阵的列数
      *
@@ -46,30 +40,6 @@
     @Override
     protected Integer getSampleColumn(String modelId) {
         return mmPredictModelService.getSampleLength(modelId).intValue();
-    }
-
-    /**
-     * 返回样本的开始时间
-     *
-     * @param columnItem
-     * @param predictTime
-     * @return
-     */
-    @Override
-    protected Date getStartTime(ColumnItem columnItem, Date predictTime) {
-        return super.getStartTime(columnItem, predictTime);
-    }
-
-    /**
-     * 返回样本的结束时间
-     *
-     * @param columnItem
-     * @param predictTime
-     * @return
-     */
-    @Override
-    protected Date getEndTime(ColumnItem columnItem, Date predictTime) {
-        return super.getEndTime(columnItem, predictTime);
     }
 
     /**
@@ -85,7 +55,7 @@
         List<ColumnItem> columnItemList = new ArrayList<>();
         ColumnItem columnInfo = new ColumnItem();
         ColumnItemPort curPort = new ColumnItemPort();  //当前端口
-        List<MmModelParamEntity> modelInputParamEntityList = mmModelParamService.getByModelidFromCatch(modelId);
+        List<MmModelParamEntity> modelInputParamEntityList = mmModelParamService.getByModelidFromCache(modelId);
         if (CollectionUtils.isEmpty(modelInputParamEntityList)) {
             return null;
         }

--
Gitblit v1.9.3