|
@@ -174,12 +174,13 @@ public class DictBizController extends BladeController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取字典
|
|
* 获取字典
|
|
|
|
+ * @param type 系统类型 2-投资效益系统
|
|
*/
|
|
*/
|
|
@GetMapping("/dictionary")
|
|
@GetMapping("/dictionary")
|
|
@ApiOperationSupport(order = 8)
|
|
@ApiOperationSupport(order = 8)
|
|
@Operation(summary = "获取字典", description = "获取字典")
|
|
@Operation(summary = "获取字典", description = "获取字典")
|
|
- public R<List<DictBiz>> dictionary(String code) {
|
|
|
|
- List<DictBiz> tree = dictService.getList(code);
|
|
|
|
|
|
+ public R<List<DictBiz>> dictionary(String code,Integer type) {
|
|
|
|
+ List<DictBiz> tree = dictService.getList(code,type);
|
|
return R.data(tree);
|
|
return R.data(tree);
|
|
}
|
|
}
|
|
|
|
|