From 2e0a3ced19bec98b33dae3ddc4ab02ba0b6b9c8a Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 08 一月 2025 13:43:31 +0800
Subject: [PATCH] 预测参数获取bug

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.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/SampleDataConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleDataConstructor.java
index 1aa3e26..cdaa7ec 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
@@ -67,7 +67,7 @@
                 oneMin = PredGranularityEnum.MIN1.getCode() * 1000L;
                 start = start - (start % oneMin);
                 end = end - (end % oneMin);
-                mins = ((end - start) / oneMin) + 1;
+                mins = ((end - start) / oneMin);
                 break;
             case DATAPOINT:
                 // 测点值

--
Gitblit v1.9.3