| | |
| | | package cn.iocoder.yudao.module.mdm.service.item; |
| | | |
| | | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| | | import cn.iocoder.yudao.module.mdm.controller.admin.item.vo.MdmItemImportExcelVO; |
| | | import cn.iocoder.yudao.module.mdm.controller.admin.item.vo.MdmItemImportRespVO; |
| | | import cn.iocoder.yudao.module.mdm.controller.admin.item.vo.MdmItemPageReqVO; |
| | | import cn.iocoder.yudao.module.mdm.controller.admin.item.vo.MdmItemSaveReqVO; |
| | | import cn.iocoder.yudao.module.mdm.dal.dataobject.item.MdmItemDO; |
| | |
| | | /** |
| | | * MDM 物料主数据 Service 接口 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MdmItemService { |
| | | |
| | |
| | | * @param id 编号 |
| | | */ |
| | | void deleteItem(Long id); |
| | | |
| | | /** |
| | | * 更新物料同步状态(同步/取消同步到 MES) |
| | | * |
| | | * @param id 物料编号 |
| | | * @param sync true=同步到 MES,false=取消同步(从 MES 删除) |
| | | */ |
| | | void updateItemSync(Long id, Boolean sync); |
| | | |
| | | /** |
| | | * 批量删除物料 |
| | |
| | | */ |
| | | List<MdmItemDO> getItemSimpleList(); |
| | | |
| | | /** |
| | | * 导入物料 |
| | | * |
| | | * @param importList 导入列表 |
| | | * @param isUpdateSupport 是否支持更新 |
| | | * @return 导入结果 |
| | | */ |
| | | MdmItemImportRespVO importItemList(List<MdmItemImportExcelVO> importList, Boolean isUpdateSupport); |
| | | |
| | | } |