From efdc380e66bbc3112eb87d7522f0a37d082082e1 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 26 十二月 2024 09:42:07 +0800 Subject: [PATCH] double类型特殊处理 异常处理 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.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/PredictSampleDataConstructor.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java index 6b61389..e4539bf 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/sample/PredictSampleDataConstructor.java @@ -152,7 +152,7 @@ List<DataValueVO> predictValue = new ArrayList<>(); // double类型特殊处理 - if (outResultType.equals(OutResultType.D)) { + if (OutResultType.D.equals(outResultType)) { // columnItem.getStartTime()就是预测时间 String doubleData = mmItemResultJsonService.getDoubleData(outPut.getId(), columnItem.getStartTime()); if (StringUtils.isNotBlank(doubleData)) { -- Gitblit v1.9.3