liyong
5 天以前 536774eea8902efc088c5b904ff75bbe0af33418
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
package cn.iocoder.yudao.module.mdm.api.item;
 
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.mdm.api.item.dto.MdmItemSyncReqDTO;
 
/**
 * MDM 物料同步 API 接口
 *
 * 供 MES 模块同步物料主数据到 MDM 使用
 *
 * @author 芋道源码
 */
public interface MdmItemSyncApi {
 
    String PREFIX = "/rpc-api/mdm/item-sync";
 
    /**
     * 同步物料到 MDM(按 code 匹配,存在则更新,不存在则创建)
     *
     * @param syncReqDTO 同步信息
     * @return MDM 物料编号
     */
    CommonResult<Long> syncItemToMdm(MdmItemSyncReqDTO syncReqDTO);
 
}