feat(shipping-notice): 新增订单行与字段冲突管理功能,支持字段冲突查询与解决
This commit is contained in:
1 parent
4fbaed2b4c
commit
9da0481fc3
74 files changed
+4861
-375
No files matched your search
@@ -60,10 +60,14 @@ def assess_candidate_business_summary(summary: dict[str, Any] | None) -> dict[st
|
||||
missing_required: list[str] = []
|
||||
if not normalized_lines:
|
||||
missing_required.extend(BUILD_REQUIRED_FIELDS)
|
||||
# Reservation 是逐行匹配键;任一有效订单行缺失都必须保留流程字段门禁。
|
||||
missing_process = [
|
||||
field
|
||||
for field in PROCESS_FIELDS
|
||||
if not any(str(line.get(field) or '').strip() for line in normalized_lines)
|
||||
if any(
|
||||
not validated_reservation_id(line.get(field))
|
||||
for line in normalized_lines
|
||||
)
|
||||
]
|
||||
blocking = [
|
||||
{'code': 'invalid_order_line', **item}
|
||||
|
||||
Reference in new issue
Block a user