上架完成后,上架数量=计划数量的也生成了入库异常信息。(问题修改)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user