1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
 
}