liyong
5 天以前 450bcae3cfffe9923dc09dea2a4e89312bb373d7
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/MdmItemController.java
@@ -185,6 +185,13 @@
        return success(BeanUtils.toBean(list, MdmItemRespVO.class));
    }
    @GetMapping("/simple-list")
    @Operation(summary = "获取物料精简列表(启用状态,用于下拉选择)")
    public CommonResult<List<MdmItemRespVO>> getItemSimpleList() {
        List<MdmItemDO> list = itemService.getItemSimpleList();
        return success(BeanUtils.toBean(list, MdmItemRespVO.class));
    }
    /**
     * 填充物料响应 VO 的关联名称(分类、主单位、辅单位、仓库名称)
     */