feat(shipping-notice): 新增货代客户管理功能,支持客户导入、识别证据管理与客户确认

This commit is contained in:
hugo committed 2026-07-16 08:16:19 +08:00
1 parent b595e157e9
commit 4fbaed2b4c
176 files changed
+14011 -994

No files matched your search

@@ -2,7 +2,7 @@
services/shipping_notice/tools.py
用途:发货通知 Agent Tool 统一门面(API 唯一业务入口,无编排实现)。
依赖:task_workflow、inventory_workflow、inventory_rpa_workflow、fulfillment_workflow;order_extraction 延迟导入以避免建批循环依赖。
依赖:customer_identity_gate、task_workflow、inventory_workflow、inventory_rpa_workflow、fulfillment_workflow;order_extraction 延迟导入以避免建批循环依赖。
逻辑:shipping_notice_tools / workspace_shipping_notice 仅 import 本模块公开符号。
"""
@@ -14,6 +14,7 @@ from app.services.shipping_notice import (
inventory_workflow,
task_workflow,
)
from app.services.shipping_notice import customer_identity_gate
def get_order_extraction_context(payload: dict):
@@ -60,6 +61,7 @@ update_notice_fields = task_workflow.update_notice_fields
update_notice_line = task_workflow.update_notice_line
add_notice_line = task_workflow.add_notice_line
remove_notice_line = task_workflow.remove_notice_line
confirm_customer = customer_identity_gate.confirm_customer
# 库存阶段
ensure_inventory = inventory_workflow.ensure_inventory