企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 组件源码 ``` /** * <b>方法描述:</b> 创建list <br/> * <b>创建者:</b> admin <br/> * <b>创建时间:</b> 2020-07-05 21:47:05 <br/> * * @param object * 入参|object| {@link Object} * @param List * 出参|List| {@link com.ylink.ide.trade.runtime.context.JavaList} * @return 1 成功<br/> */ @Component(label = "创建list", style = "处理型", type = "同步组件", comment = "创建list", version = "1.0.0", deprecated = false, author = "admin", date = "2020-07-05 09:47:05") @InParams(param = { @Param(name = "object", comment = "object", type = Object.class) }) @OutParams(param = { @Param(name = "List", comment = "List", type = com.ylink.ide.trade.runtime.context.JavaList.class) }) @Returns(returns = { @Return(id = "1", desp = "成功") }) public static ResultBase A_CreatList(Object object) { JavaList list = new JavaList(); list.add(object); return ResultBase.newSuccessResult(list); } ``` # 交易中组件使用方式 ![](https://img.kancloud.cn/33/d2/33d2840ae0cd4d2e69cdc3404f7378fa_1871x891.png) # 参数说明及示例 ## 入口参数 object:可以传入任何数据,示例: `[1,2,3]` ## 出口参数 List:把输入参数添加到 list 集合中,示例: `__INNER__["list"]`