| | |
| | | /** |
| | | * MDM 物料分类 Service 接口 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MdmItemCategoryService { |
| | | |
| | |
| | | MdmItemCategoryDO getItemCategory(Long id); |
| | | |
| | | /** |
| | | * 根据编码获得物料分类 |
| | | * |
| | | * @param code 分类编码 |
| | | * @return 物料分类 |
| | | */ |
| | | MdmItemCategoryDO getItemCategoryByCode(String code); |
| | | |
| | | /** |
| | | * 校验物料分类存在 |
| | | * |
| | | * @param id 编号 |
| | |
| | | */ |
| | | List<MdmItemCategoryDO> getItemCategoryChildrenList(Long id); |
| | | |
| | | /** |
| | | * 获得启用的分类列表 |
| | | * |
| | | * @return 分类列表 |
| | | */ |
| | | List<MdmItemCategoryDO> getSimpleItemList(); |
| | | |
| | | /** |
| | | * 根据物料/产品标识获取分类 |
| | | * |
| | | * @param itemOrProduct 物料/产品标识 |
| | | * @return 物料分类 |
| | | */ |
| | | MdmItemCategoryDO getItemCategoryByItemOrProduct(String itemOrProduct); |
| | | |
| | | } |