2 天以前 111270df037596a04df97f787ca8b9199dd99866
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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);
 
}