潘志宝
2025-03-19 ca120d70593f7a29a150bb6fb17f8ff4cdfadbc8
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;