空运人工价锁舱现拉补全舱位并拦清缺参;成交/报价填表与工单陆运费率展示同步收紧。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -850,6 +850,7 @@ def _resume_cabin_step(
|
||||
work_order_no=no,
|
||||
lock_id=lock_id,
|
||||
sender_id=sender,
|
||||
operator_name=str(extra.get("operator_name") or "").strip(),
|
||||
instruction_text=instruction,
|
||||
)
|
||||
or {}
|
||||
@@ -860,13 +861,20 @@ def _resume_cabin_step(
|
||||
service = "空运舱位"
|
||||
reason = "空运释放舱位接口调用失败"
|
||||
else:
|
||||
# 与首次群锁舱对齐:重试必须带 operatorName / airline,否则 MANUAL 出站缺姓名。
|
||||
locker = getattr(ledger, "lock_cabin", None)
|
||||
op_name = str(extra.get("operator_name") or "").strip()
|
||||
airline = str(extra.get("airline") or "").strip()
|
||||
flight_no = str(extra.get("flight_no") or "").strip()
|
||||
out = call_with_retries(
|
||||
lambda: locker(
|
||||
work_order_no=no,
|
||||
option_no=option_no,
|
||||
sender_id=sender,
|
||||
operator_name=op_name,
|
||||
instruction_text=instruction,
|
||||
airline=airline,
|
||||
flight_no=flight_no,
|
||||
)
|
||||
or {}
|
||||
if callable(locker)
|
||||
|
||||
Reference in New Issue
Block a user