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 | 4 ++-- 1 files changed, 2 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 e3c6e3e..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 @@ -65,8 +65,8 @@ case MERGEITEM: // 预测值 oneMin = PredGranularityEnum.MIN1.getCode() * 1000L; - start = start - (start % oneMin) + oneMin; - end = end - (end % oneMin) + oneMin; + start = start - (start % oneMin); + end = end - (end % oneMin); mins = ((end - start) / oneMin); break; case DATAPOINT: -- Gitblit v1.9.3