mirror of
https://github.com/zccbbg/wms-ruoyi.git
synced 2024-11-10 09:02:51 +08:00
update: ItemCategoryController treeselect返回泛型优化
This commit is contained in:
parent
6472d91b74
commit
8e84f7ef7e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class ItemCategoryController extends BaseController {
|
|||
* 获取物料类型下拉树列表
|
||||
*/
|
||||
@GetMapping("/treeselect")
|
||||
public R treeselect(ItemCategoryBo query) {
|
||||
public R<List<ItemTypeTreeSelectVo>> treeselect(ItemCategoryBo query) {
|
||||
List<ItemCategoryVo> itemTypes = itemCategoryService.queryList(query);
|
||||
return R.ok(itemCategoryService.buildItemTypeTreeSelect(itemTypes));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue