feat(shipping-notice): 落地 XFA 拆分、版面签名、统一进度与处理域履约
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3a9fbac2fc
commit
d2b3d74def
571 files changed
+78064
-24681
No files matched your search
@@ -10,7 +10,7 @@ from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
from app.models import ShippingTask
|
||||
from app.models import ShippingNotice
|
||||
from app.services.shipping_notice.order_field_purposes import task_line_purpose_values
|
||||
from app.services.shipping_notice.reservation_id import is_valid_reservation_id
|
||||
|
||||
@@ -20,7 +20,7 @@ def reservation_gate_issues(lines: list[Any] | None) -> list[dict[str, Any]]:
|
||||
返回缺失或格式非法的订单行 Reservation ID 问题。
|
||||
|
||||
Args:
|
||||
lines: ShippingTask 订单行数组。
|
||||
lines: ShippingNotice 订单行数组。
|
||||
|
||||
Returns:
|
||||
含行号、内部料号、原值和原因的 blocking issue;全部合法时返回空列表。
|
||||
@@ -67,7 +67,7 @@ def reservation_gate_issues(lines: list[Any] | None) -> list[dict[str, Any]]:
|
||||
return issues
|
||||
|
||||
|
||||
def task_reservation_gate_issues(task: ShippingTask) -> list[dict[str, Any]]:
|
||||
def task_reservation_gate_issues(task: ShippingNotice) -> list[dict[str, Any]]:
|
||||
"""读取当前已裁决订单字段的预定单号并执行门禁。"""
|
||||
try:
|
||||
lines = task_line_purpose_values(task, required={'reservation_id'})
|
||||
|
||||
Reference in new issue
Block a user