| | |
| | | Long batchId, String batchCode, Long vendorId, LocalDateTime receiptTime); |
| | | |
| | | /** |
| | | * 创建新的库存记录(不查找已有记录,始终创建新记录) |
| | | * |
| | | * 用于退料等场景,需要为每次退料创建独立的库存记录 |
| | | * |
| | | * @param itemId 物料编号 |
| | | * @param warehouseId 仓库编号 |
| | | * @param locationId 库区编号 |
| | | * @param areaId 库位编号 |
| | | * @param batchId 批次编号 |
| | | * @param batchCode 批次号 |
| | | * @param vendorId 供应商编号 |
| | | * @param receiptTime 入库时间(为空则默认当前时间) |
| | | * @return 新创建的库存记录 |
| | | */ |
| | | MesWmMaterialStockDO createMaterialStock(Long itemId, Long warehouseId, Long locationId, Long areaId, |
| | | Long batchId, String batchCode, Long vendorId, LocalDateTime receiptTime); |
| | | |
| | | /** |
| | | * 按组合键查找库存记录(只查不创建) |
| | | * |
| | | * @param itemId 物料编号 |