| | |
| | | /** |
| | | * MDM 物料分类 API 接口 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MdmItemCategoryApi { |
| | | |
| | |
| | | * @return 物料分类 |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id); |
| | | |
| | | /** |
| | | * 根据编码获取物料分类 |
| | | * |
| | | * @param code 分类编码 |
| | | * @return 物料分类 |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> getItemCategoryByCode(String code); |
| | | |
| | | /** |
| | | * 获取物料分类列表 |
| | |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> validateItemCategoryExists(Long id); |
| | | |
| | | } |
| | | /** |
| | | * 根据物料/产品标识获取分类 |
| | | * |
| | | * @param itemOrProduct 物料/产品标识 |
| | | * @return 物料分类 |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct); |
| | | |
| | | } |