4 天以前 ed0b34e7377749befc33465318285bcc52128770
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/service/item/MdmItemService.java
@@ -15,7 +15,7 @@
/**
 * MDM 物料主数据 Service 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface MdmItemService {
@@ -48,6 +48,14 @@
     * @param id 编号
     */
    void deleteItem(Long id);
    /**
     * 更新物料同步状态(同步/取消同步到 MES)
     *
     * @param id   物料编号
     * @param sync true=同步到 MES,false=取消同步(从 MES 删除)
     */
    void updateItemSync(Long id, Boolean sync);
    /**
     * 批量删除物料
@@ -138,4 +146,11 @@
     */
    MdmItemDO getItemByCode(String code);
    /**
     * 获得物料精简列表(启用状态,用于下拉选择)
     *
     * @return 物料列表
     */
    List<MdmItemDO> getItemSimpleList();
}