From fcb855ae16be0125dfe2c597618f80d6eee19750 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 25 十一月 2024 15:55:20 +0800
Subject: [PATCH] setting去掉空格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