package cn.iocoder.yudao.module.mdm.service.item;
|
|
import cn.iocoder.yudao.module.mdm.dal.dataobject.item.MdmItemBatchConfigDO;
|
|
/**
|
* MDM 物料批次配置 Service 接口
|
*
|
* @author 芋道源码
|
*/
|
public interface MdmItemBatchConfigService {
|
|
/**
|
* 根据物料编号获取批次配置
|
*
|
* @param itemId 物料编号
|
* @return 批次配置,不存在返回 null
|
*/
|
MdmItemBatchConfigDO getItemBatchConfigByItemId(Long itemId);
|
|
/**
|
* 保存批次配置(新增或更新)
|
*
|
* @param config 批次配置
|
* @return 配置编号
|
*/
|
Long saveItemBatchConfig(MdmItemBatchConfigDO config);
|
|
/**
|
* 根据物料编号删除批次配置
|
*
|
* @param itemId 物料编号
|
*/
|
void deleteItemBatchConfigByItemId(Long itemId);
|
|
}
|