package cn.iocoder.yudao.module.mes.service.pro.cost;
|
|
import cn.iocoder.yudao.module.mes.service.pro.cost.dto.MesProMaterialPriceRespDTO;
|
|
import java.util.Collection;
|
import java.util.Map;
|
|
/**
|
* MES 物料价格 Service 接口
|
*
|
* @author 超级管理员
|
*/
|
public interface MesProMaterialPriceService {
|
|
/**
|
* 批量获取物料单价
|
*
|
* 取价顺序:物料主数据采购价 → 已审核采购订单加权平均价 → 无价格(单价 0,标记 priceMissing)
|
*
|
* @param itemIds MES 物料编号集合
|
* @return 物料编号 → 价格信息
|
*/
|
Map<Long, MesProMaterialPriceRespDTO> getMaterialPriceMap(Collection<Long> itemIds);
|
|
}
|