From 9f09d4eac13f76477bd64b13db37f21a949596e0 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期三, 25 十二月 2024 14:47:50 +0800 Subject: [PATCH] 预测项输入数据补全bug --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MethodSettingServiceImpl.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/mpk/service/impl/MethodSettingServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MethodSettingServiceImpl.java index 99e0515..882ab0b 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MethodSettingServiceImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MethodSettingServiceImpl.java @@ -37,7 +37,7 @@ MethodSettingEntity entity = entityList.get(i); if (StringUtils.isNotBlank(entity.getValue())){ // 去掉空格 - entity.setValue(entity.getValue().trim().replace("\\s+", "")); + entity.setValue(entity.getValue().trim().replaceAll("\\s+", "")); } entity.setId(UUID.randomUUID().toString()); entity.setMethodId(MethodId); -- Gitblit v1.9.3