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
@@ -2,7 +2,7 @@
|
||||
backend/app/models/shipping_customer_resolution.py
|
||||
|
||||
用途:保存订单候选的客户影子识别结果与人工标签。
|
||||
依赖:ShippingNoticeCandidate、ShippingNoticeIntake、ShippingCustomer、User。
|
||||
依赖:ShippingOrderCandidate、ShippingOrderIntake、ShippingCustomer、User。
|
||||
逻辑:订单候选抽取后幂等刷新本表;阶段 3 仅用于质量观测,禁止据此绑定业务单或生成编号。
|
||||
"""
|
||||
|
||||
@@ -32,12 +32,12 @@ class ShippingCustomerShadowResolution(Base):
|
||||
|
||||
id: Mapped[int] = mapped_column(primary_key=True)
|
||||
candidate_id: Mapped[int] = mapped_column(
|
||||
ForeignKey('shipping_notice_candidates.id', ondelete='CASCADE'),
|
||||
ForeignKey('shipping_order_candidates.id', ondelete='CASCADE'),
|
||||
nullable=False,
|
||||
unique=True,
|
||||
)
|
||||
intake_id: Mapped[int] = mapped_column(
|
||||
ForeignKey('shipping_notice_intakes.id', ondelete='CASCADE'),
|
||||
ForeignKey('shipping_order_intakes.id', ondelete='CASCADE'),
|
||||
nullable=False,
|
||||
index=True,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user