From 96dfff8a4a25b58fb88c4f7405091f34913e2c1c Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Fri, 25 Jul 2025 15:36:58 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E5=B7=A5=E5=85=B7=E5=BA=93setenv=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=80=89=E6=8B=A9=E8=8A=82=E7=82=B9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1471727152889856]自动化工具库setenv插件支持选择节点类型的属性 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1471727152889856 --- .../service/AutoexecCombopServiceImpl.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java b/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java index 482ef80e..1c79f548 100644 --- a/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java +++ b/src/main/java/neatlogic/module/autoexec/service/AutoexecCombopServiceImpl.java @@ -652,15 +652,18 @@ public class AutoexecCombopServiceImpl implements AutoexecCombopService, IAutoex if (Objects.equals(preNodeOutputParamVo.getType(), inputParamVo.getType())) { continue; } - // 文本域类型 上游节点输出参数值 文本类型 - if (Objects.equals(inputParamVo.getType(), ParamType.TEXTAREA.getValue()) && Objects.equals(preNodeOutputParamVo.getType(), ParamType.TEXT.getValue())) { + // 文本域类型和文本类型 上游节点输出参数值 (可以是任意类型) + if (Objects.equals(inputParamVo.getType(), ParamType.TEXTAREA.getValue()) || Objects.equals(inputParamVo.getType(), ParamType.TEXT.getValue())) { continue; - - } - if (Objects.equals(inputParamVo.getType(), ParamType.TEXT.getValue()) && Objects.equals(preNodeOutputParamVo.getType(), ParamType.TEXTAREA.getValue())) { - continue; - } +// if (Objects.equals(inputParamVo.getType(), ParamType.TEXTAREA.getValue()) && Objects.equals(preNodeOutputParamVo.getType(), ParamType.TEXT.getValue())) { +// continue; +// +// } +// if (Objects.equals(inputParamVo.getType(), ParamType.TEXT.getValue()) && Objects.equals(preNodeOutputParamVo.getType(), ParamType.TEXTAREA.getValue())) { +// continue; +// +// } throw new AutoexecParamMappingTargetTypeMismatchException(phaseName, operationName, inputParamLabel, conversionPreNodeParamPath(preNodeNameMap, preOperationNameMap, value)); } else if (Objects.equals(mappingMode, ParamMappingMode.PRE_NODE_OUTPUT_PARAM_KEY.getValue())) { String value = null; -- Gitee