pda上架报错;
This commit is contained in:
+1
@@ -488,6 +488,7 @@ public class StockShelfOrderApplicationService {
|
|||||||
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
||||||
}
|
}
|
||||||
BigDecimal shelvesQuantity = shelfMaterialDetailDO.getShelvesQuantity() == null ? BigDecimal.ZERO : shelfMaterialDetailDO.getShelvesQuantity();
|
BigDecimal shelvesQuantity = shelfMaterialDetailDO.getShelvesQuantity() == null ? BigDecimal.ZERO : shelfMaterialDetailDO.getShelvesQuantity();
|
||||||
|
shelfMaterialDetailDO.setShelvesQuantity(shelvesQuantity);
|
||||||
if (shelvesQuantity.compareTo(BigDecimal.ZERO) == 0 && childrenShelvesQuantitySum.compareTo(BigDecimal.ZERO) == 0){
|
if (shelvesQuantity.compareTo(BigDecimal.ZERO) == 0 && childrenShelvesQuantitySum.compareTo(BigDecimal.ZERO) == 0){
|
||||||
//未进行上架直接跳过
|
//未进行上架直接跳过
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user