上架完成后,上架数量=计划数量的也生成了入库异常信息。(问题修改)

This commit is contained in:
王奎兴
2026-02-07 14:34:19 +08:00
parent c652ccd087
commit 848c92576d
@@ -377,7 +377,7 @@ public class StockShelfOrderDomainService {
}
int abnormal = 2;
BigDecimal shelvesQuantity = stockShelfOrderPO.getShelvesQuantity() != null ? stockShelfOrderPO.getShelvesQuantity() : BigDecimal.ZERO;
BigDecimal quantity = stockShelfOrderPO.getQuantity() != null ? stockShelfOrderPO.getQuantity() : BigDecimal.ZERO;
BigDecimal quantity = stockShelfOrderPO.getReceiptQuantity() != null ? stockShelfOrderPO.getReceiptQuantity() : BigDecimal.ZERO;
if (shelvesQuantity.compareTo(quantity) != 0){
abnormal = 1;
}