feat(shipping-notice): 落地 XFA 拆分、版面签名、统一进度与处理域履约

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-06 10:18:37 +08:00
1 parent 3a9fbac2fc
commit d2b3d74def
571 files changed
+78064 -24681

No files matched your search

+4 -4
View File
@@ -2,8 +2,8 @@
backend/app/models/shipping_customer.py
用途:货代标准客户、客户识别证据、业务单聚合与业务编号流水模型。
依赖:models.base.Base、users、shipping_tasks。
逻辑:客户主数据提供稳定身份;ShippingCase 聚合任务修订链;流水表供后续编号服务原子递增。
依赖:models.base.Base、users、shipping_notices。
逻辑:客户主数据提供稳定身份;ShippingCase 聚合 Notice 修订链;流水表供后续编号服务原子递增。
"""
from __future__ import annotations
@@ -216,8 +216,8 @@ class ShippingCase(Base):
updated_at: Mapped[datetime] = mapped_column(default=datetime.utcnow, onupdate=datetime.utcnow)
customer: Mapped[Optional['ShippingCustomer']] = relationship('ShippingCustomer', back_populates='cases')
tasks: Mapped[List['ShippingTask']] = relationship(
'ShippingTask',
tasks: Mapped[List['ShippingNotice']] = relationship(
'ShippingNotice',
back_populates='shipping_case',
lazy='selectin',
)