From b482efaf698d5fd3920ff63ccde1c819f9eb34ba Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 26 十二月 2024 16:50:12 +0800
Subject: [PATCH] 修改菜单报错bug

---
 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