无货主流程;
This commit is contained in:
+2
@@ -1,5 +1,6 @@
|
||||
package com.mhd.oms.domain.reserveStockInOrder.repository.vo;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelIgnore;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.alibaba.excel.annotation.format.DateTimeFormat;
|
||||
import com.mhd.oms.domain.reserveStockInOrder.repository.util.StringToBigDecimalConverter;
|
||||
@@ -72,5 +73,6 @@ public class ReservedInventory {
|
||||
/**
|
||||
* WMS物料id(解析预览接口根据货物名称匹配后自动填充,匹配不到为空,不映射Excel)
|
||||
*/
|
||||
@ExcelIgnore
|
||||
private Long materialBaseInfoId;
|
||||
}
|
||||
+4
@@ -47,4 +47,8 @@ public class ReservedInventoryOut {
|
||||
*/
|
||||
@ExcelIgnore
|
||||
private Long materialInventoryId;
|
||||
|
||||
|
||||
@ExcelIgnore
|
||||
private Long materialBaseInfoId;
|
||||
}
|
||||
+1
@@ -1385,6 +1385,7 @@ public class ReserveStockOutOrderApplicationService {
|
||||
BigDecimal allocationQuantity = inventory.getAllocationQuantity() == null ? BigDecimal.ZERO : inventory.getAllocationQuantity();
|
||||
if (allocationQuantity.compareTo(importQuantity) > 0) {
|
||||
reservedInventory.setMaterialInventoryId(inventory.getMaterialInventoryId());
|
||||
reservedInventory.setMaterialBaseInfoId(inventory.getMaterialBaseInfoId());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user