|
@@ -160,7 +160,7 @@ public class DictBizController extends BladeController {
|
|
@ApiOperationSupport(order = 8)
|
|
@ApiOperationSupport(order = 8)
|
|
@ApiOperation(value = "获取字典", notes = "获取字典")
|
|
@ApiOperation(value = "获取字典", notes = "获取字典")
|
|
public R<List<DictBiz>> dictionary(String code) {
|
|
public R<List<DictBiz>> dictionary(String code) {
|
|
- List<DictBiz> tree = dictService.getList(code);
|
|
|
|
|
|
+ List<DictBiz> tree = dictService.getList(code, "notRoot");
|
|
return R.data(tree);
|
|
return R.data(tree);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -171,7 +171,7 @@ public class DictBizController extends BladeController {
|
|
@ApiOperationSupport(order = 9)
|
|
@ApiOperationSupport(order = 9)
|
|
@ApiOperation(value = "获取字典树", notes = "获取字典树")
|
|
@ApiOperation(value = "获取字典树", notes = "获取字典树")
|
|
public R<List<DictBizVO>> dictionaryTree(String code) {
|
|
public R<List<DictBizVO>> dictionaryTree(String code) {
|
|
- List<DictBiz> tree = dictService.getList(code);
|
|
|
|
|
|
+ List<DictBiz> tree = dictService.getList(code, "notRoot");
|
|
return R.data(DictBizWrapper.build().listNodeVO(tree));
|
|
return R.data(DictBizWrapper.build().listNodeVO(tree));
|
|
}
|
|
}
|
|
|
|
|