From 784ce3c64aebecd7e30ab9d4c88043e89c37b35d Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 25 十一月 2024 18:05:40 +0800 Subject: [PATCH] 添加方法的默认参数(pyFile,模型路径)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