From a2b4314c590248f3826764ac0ea63dcecc6fb20b Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 21 三月 2025 09:16:51 +0800
Subject: [PATCH] 预测值模拟调整

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java |    5 ++---
 1 files changed, 2 insertions(+), 3 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 6d12d13..9478194 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
@@ -52,8 +52,7 @@
         }
 
         List<DataValueVO> completionDataEntityList = new ArrayList<>();
-        long oneMin = 0L;
-
+        long oneMin = granularity * 1000L;;
         long start = startTime.getTime();
         long end = endTime.getTime();
         long mins = 0L;
@@ -67,7 +66,7 @@
             case DATAPOINT:
             case PLAN:
                 // 设置时间偏移量
-                mins = calMins(start, end, granularity);
+                mins = calMins(start, end, granularity) + 1;
                 break;
             case IND:
             case IND_ASCII:

--
Gitblit v1.9.3