fix: 9610预报下游回写下游单号兼容 serviceNo/orderNo
All checks were successful
Build and Deploy / deploy (push) Successful in 58s
All checks were successful
Build and Deploy / deploy (push) Successful in 58s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2836601062
commit
24b8c29c9b
@ -982,12 +982,27 @@ public class Customs9610OrderService : ApplicationService
|
|||||||
if (root.TryGetProperty("data", out var data) || root.TryGetProperty("Data", out data))
|
if (root.TryGetProperty("data", out var data) || root.TryGetProperty("Data", out data))
|
||||||
{
|
{
|
||||||
customsOrderNo = ReadString(data, "orderNo", "OrderNo", "customsOrderNo", "CustomsOrderNo");
|
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
|
else
|
||||||
{
|
{
|
||||||
customsOrderNo = ReadString(root, "orderNo", "OrderNo", "customsOrderNo", "CustomsOrderNo");
|
customsOrderNo = ReadString(root, "orderNo", "OrderNo", "customsOrderNo", "CustomsOrderNo");
|
||||||
referenceNo = ReadString(root, "referenceNo", "ReferenceNo");
|
referenceNo = ReadString(
|
||||||
|
root,
|
||||||
|
"serviceNo",
|
||||||
|
"ServiceNo",
|
||||||
|
"referenceNo",
|
||||||
|
"ReferenceNo",
|
||||||
|
"orderNo",
|
||||||
|
"OrderNo");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user