20261008-ide1.0发布 #1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user