🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 组件源码 /** * <b>方法描述:</b> 银行字典 <br/> * <b>创建者:</b> Anonymous <br/> * <b>创建时间:</b> 2018-06-07 21:53:51 <br/> * * @param dict 入参|字典名称|{@link java.lang.String} * @param key 入参|字典key|{@link java.lang.String} * @param value 出参|字典值|{@link java.lang.String} * @return 0 失败<br/> * 1 成功<br/> */ @Component(label = "银行字典", style = "判断型", type = "同步组件", comment = "获取银行级别的字典", version = "1.0.0", deprecated = false, author = "Anonymous", date = "2018-06-07 09:53:51") @InParams(param = { @Param(name = "dict", comment = "字典名称", type = java.lang.String.class), @Param(name = "key", comment = "字典key", type = java.lang.String.class) }) @OutParams(param = { @Param(name = "value", comment = "字典值", type = java.lang.String.class) }) @Returns(returns = { @Return(id = "0", desp = "失败"), @Return(id = "1", desp = "成功") }) public static ResultBase P_getBankDict(String dict, String key) { String value = DictManager.getBankDictValue(dict, key); if (StringUtil.isEmpty(value)) return ResultBase.newFailureResult("TPTK0016", "获取银行字典错误空值,key=" + key); return ResultBase.newSuccessResult(value); } # 交易中组件使用方式 ![](https://img.kancloud.cn/03/f3/03f33db860331cb4c854165efab416e3_950x750.jpg) # 参数说明及示例 ## 入口参数 字典名称:IDE中银行级数据字典名称,示例: `"project"` 字典key:IDE中银行级数据字典key(英文名称),示例: `"project"` ## 出口参数 字典值:返回对应的IDE中银行级数据字典值,示例: `__INNER__["result"]` > 获取银行级别的字典