From e0b86ecb9040b56bad93356263805baff76442b4 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 29 十一月 2024 17:24:30 +0800
Subject: [PATCH] Timestamp

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

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java
index f822f90..a51c53f 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java
@@ -55,7 +55,8 @@
         long mins = 0L;
 
         switch (ModelParamType.getEumByCode(paramType)) {
-            case PREDICTITEM:
+            case NORMALITEM:
+            case MERGEITEM:
                 // 预测值
                 Calendar calendar = Calendar.getInstance();
                 calendar.setTime(startTime);
@@ -131,7 +132,7 @@
             lastItem = item;
 
             DataValueVO dataEntity = new DataValueVO();
-            dataEntity.setDataTime(new Timestamp(item.getKey()));
+            dataEntity.setDataTime(new Date(item.getKey()));
             dataEntity.setDataValue(item.getValue());
             completionDataEntityList.add(dataEntity);
         }

--
Gitblit v1.9.3