diff --git a/src/Oms.Application/Services/Orders/Customs9610OrderService.cs b/src/Oms.Application/Services/Orders/Customs9610OrderService.cs index 7a6a3a7..2e45bea 100644 --- a/src/Oms.Application/Services/Orders/Customs9610OrderService.cs +++ b/src/Oms.Application/Services/Orders/Customs9610OrderService.cs @@ -982,12 +982,27 @@ public class Customs9610OrderService : ApplicationService if (root.TryGetProperty("data", out var data) || root.TryGetProperty("Data", out data)) { customsOrderNo = ReadString(data, "orderNo", "OrderNo", "customsOrderNo", "CustomsOrderNo"); - referenceNo = ReadString(data, "referenceNo", "ReferenceNo"); + // 下游单号:优先 serviceNo;兼容 referenceNo;BH create9610Order 常回 orderNo + referenceNo = ReadString( + data, + "serviceNo", + "ServiceNo", + "referenceNo", + "ReferenceNo", + "orderNo", + "OrderNo"); } else { customsOrderNo = ReadString(root, "orderNo", "OrderNo", "customsOrderNo", "CustomsOrderNo"); - referenceNo = ReadString(root, "referenceNo", "ReferenceNo"); + referenceNo = ReadString( + root, + "serviceNo", + "ServiceNo", + "referenceNo", + "ReferenceNo", + "orderNo", + "OrderNo"); } } catch