From 5ec28f53fbb3f5b23f06130a184ad2f8fd8d9d0e Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 20 三月 2025 08:52:24 +0800 Subject: [PATCH] 数据补全bug --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleInfoConstructor.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleInfoConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleInfoConstructor.java index e4ba98b..75f2d1a 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleInfoConstructor.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/SampleInfoConstructor.java @@ -80,6 +80,8 @@ Date dateTime = new Date(); switch (ModelParamType.getEumByCode(columnItem.getParamType())) { case DATAPOINT: + dateTime = calculateTime(originalTime, true, columnItem.getDataLength(), columnItem.getGranularity()); + break; case PLAN: dateTime = calculateTime(originalTime, true, columnItem.getDataLength() + 1, columnItem.getGranularity()); break; @@ -111,6 +113,8 @@ calendar.setTime(originalTime); switch (ModelParamType.getEumByCode(columnItem.getParamType())) { case DATAPOINT: + dateTime = calculateTime(originalTime, true, 1, columnItem.getGranularity()); + break; case PLAN: dateTime = calculateTime(originalTime, true, 1, columnItem.getGranularity()); break; -- Gitblit v1.9.3