| | |
| | | package cn.iocoder.yudao.module.mes.api.item; |
| | | |
| | | import cn.iocoder.yudao.module.mes.api.item.dto.MesMdItemSafetyStockRespDTO; |
| | | import cn.iocoder.yudao.module.mes.api.item.dto.MesMdItemSyncReqDTO; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | |
| | | * 供其他模块(如 MDM)同步物料主数据到 MES 使用。 |
| | | * 单位、分类均按 code 传递,由 MES 侧解析为对应 id。 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MesMdItemApi { |
| | | |
| | |
| | | */ |
| | | Set<Long> getSyncedMdmItemIds(Collection<Long> mdmItemIds); |
| | | |
| | | /** |
| | | * 获取启用安全库存的物料列表 |
| | | * |
| | | * <p>供 ERP 采购计划做库存预警缺量计算(safeStockFlag=true 且 minStock 非空)。 |
| | | * |
| | | * @return 安全库存物料列表 |
| | | */ |
| | | List<MesMdItemSafetyStockRespDTO> getSafetyStockItemList(); |
| | | |
| | | } |