yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java
@@ -9,7 +9,7 @@ /** * MDM 物料分类 API 接口 * * @author 芋道源码 * @author 超级管理员 */ public interface MdmItemCategoryApi { @@ -22,6 +22,14 @@ * @return 物料分类 */ CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id); /** * 根据编码获取物料分类 * * @param code 分类编码 * @return 物料分类 */ CommonResult<MdmItemCategoryRespDTO> getItemCategoryByCode(String code); /** * 获取物料分类列表 @@ -47,4 +55,4 @@ */ CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct); } }