From 24b8c29c9b261b7bc7531038141f6f60a47c75d4 Mon Sep 17 00:00:00 2001 From: zzh <1368735060@qq.com> Date: Tue, 29 Sep 2026 14:50:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=209610=E9=A2=84=E6=8A=A5=E4=B8=8B=E6=B8=B8?= =?UTF-8?q?=E5=9B=9E=E5=86=99=E4=B8=8B=E6=B8=B8=E5=8D=95=E5=8F=B7=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=20serviceNo/orderNo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .../Orders/Customs9610OrderService.cs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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