wms费用科目bug修改;
This commit is contained in:
+4
@@ -767,6 +767,10 @@ public class StockReceiptOrderDomainService {
|
||||
String inOrderNumber = stockReceiptOrderDTO.getInOrderNumber();
|
||||
Long receiptOrderId = stockReceiptOrderDTO.getReceiptOrderId();
|
||||
String billingJson = stockReceiptOrderDTO.getBillingJson();
|
||||
if (inOrderNumber == null) {
|
||||
StockReceiptOrder stockReceiptOrder = stockReceiptOrderService.getById(receiptOrderId);
|
||||
inOrderNumber = stockReceiptOrder.getInOrderNumber();
|
||||
}
|
||||
stockInOrderService.update(null, new UpdateWrapper<StockInOrder>().lambda().set(StockInOrder::getBillingJson,billingJson).eq(StockInOrder::getInOrderNumber, inOrderNumber));
|
||||
stockReceiptOrderService.update(null, new UpdateWrapper<StockReceiptOrder>().lambda().set(StockReceiptOrder::getBillingJson,billingJson).eq(StockReceiptOrder::getReceiptOrderId, receiptOrderId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user