From c4b37d26df82e2988e4784d847ff75102c2121c4 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 25 十二月 2024 15:30:53 +0800
Subject: [PATCH] 预测项输入特殊处理double类型

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java
index 6b60d6e..8520d31 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java
@@ -48,4 +48,13 @@
         });
         return result;
     }
+
+    @Override
+    public String getDoubleData(String outputId, Date predictTime) {
+        QueryWrapper<MmItemResultJsonEntity> wrapper = new QueryWrapper<>();
+        wrapper.eq("outputid", outputId)
+                .eq("predicttime", predictTime);
+        MmItemResultJsonEntity mmItemResultJsonEntity = baseDao.selectOne(wrapper);
+        return null == mmItemResultJsonEntity ? null : mmItemResultJsonEntity.getCumulant();
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3