| | |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "获取字典", notes = "获取字典") |
| | | public R<List<DictBiz>> dictionary(String code) { |
| | | List<DictBiz> tree = dictService.getList(code); |
| | | List<DictBiz> tree = dictService.getList(code,null); |
| | | return R.data(tree); |
| | | } |
| | | |
| | |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "获取字典树", notes = "获取字典树") |
| | | public R<List<DictBizVO>> dictionaryTree(String code) { |
| | | List<DictBiz> tree = dictService.getList(code); |
| | | List<DictBiz> tree = dictService.getList(code,null); |
| | | return R.data(DictBizWrapper.build().listNodeVO(tree)); |
| | | } |
| | | |