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 syncItemToMdm(MdmItemSyncReqDTO syncReqDTO); }