From ead3a7406d18f4f2ee5afe581bcb04f8d64fcb5e Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期日, 23 三月 2025 14:36:20 +0800 Subject: [PATCH] curData + T+L --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.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/api/MdkApiImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java index 670871c..5647c66 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java @@ -228,8 +228,8 @@ switch (PredictItemTypeEnum.getEumById(det.getItemTypeId())) { case NormalItem: double adjustValue = 0; - if (StringUtils.isNotBlank(det.getOutKey().trim())) { - adjustValue = new BigDecimal(reqDTO.getModelResult().get(det.getOutKey().trim()).toString()).doubleValue(); + if (StringUtils.isNotBlank(det.getOutKey())) { + adjustValue = new BigDecimal(reqDTO.getModelResult().get(det.getOutKey()).toString()).doubleValue(); } StAdjustDeviationDTO deviationItem = new StAdjustDeviationDTO(); deviationItem.setPortIdx(det.getModelParamPortOrder() == null ? 0 : det.getModelParamPortOrder()); -- Gitblit v1.9.3