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/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