diff --git a/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java b/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java index 47be64c6c5d08dbed1b5e4fef8285cd6824e00dc..0f74417fa3c0bddf083a4802f9edf3d097fb597c 100644 --- a/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java +++ b/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java @@ -879,6 +879,15 @@ public class AutoexecProcessComponent extends ProcessStepHandlerBase { } else if (attributeDataVo.getDataObj() instanceof JSONArray) { param.put(key, convertDateType(type, JSONObject.toJSONString(attributeDataVo.getDataObj()))); } + } else if (Objects.equals(attributeDataVo.getHandler(), neatlogic.framework.form.constvalue.FormHandler.FORMUSERSELECT.getHandler()) && Objects.equals(type, ParamType.USERSELECT.getValue())) { + Object dataObj = attributeDataVo.getDataObj(); + if (dataObj instanceof JSONArray) { + param.put(key, dataObj); + } else { + JSONArray array = new JSONArray(); + array.add(dataObj); + param.put(key, array); + } } else { param.put(key, attributeDataVo.getDataObj()); }