From ed410773d8671bf8d37ce02bfad0f3b0a121e5c7 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期二, 31 十二月 2024 13:59:34 +0800
Subject: [PATCH] 调度模型触发方式

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

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java
index 6b61389..e4539bf 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java
@@ -152,7 +152,7 @@
                 List<DataValueVO> predictValue = new ArrayList<>();
 
                 // double类型特殊处理
-                if (outResultType.equals(OutResultType.D)) {
+                if (OutResultType.D.equals(outResultType)) {
                     // columnItem.getStartTime()就是预测时间
                     String doubleData = mmItemResultJsonService.getDoubleData(outPut.getId(), columnItem.getStartTime());
                     if (StringUtils.isNotBlank(doubleData)) {

--
Gitblit v1.9.3