feat(shipping-notice): 完成货代发货通知全门禁恢复MVP收口

完成全门禁恢复MVP版本交付:调整自动上传与重试配置,重构正式执行链路;修复多处代码bug,新增测试与审计工具;更新全流程文档与契约规范。
This commit is contained in:
hugo committed 2026-08-11 14:04:39 +08:00
1 parent 8e0bbf7a81
commit c94d173f92
181 files changed
+12947 -1724

No files matched your search

@@ -259,9 +259,15 @@ class ShippingProcessGateAttempt(Base):
finished_at: Mapped[Optional[datetime]] = mapped_column(DateTime, nullable=True)
error_code: Mapped[Optional[str]] = mapped_column(String(64), nullable=True)
error_summary: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
recovery_plan_id: Mapped[Optional[int]] = mapped_column(
ForeignKey('shipping_process_recovery_plans.id', use_alter=True), nullable=True, index=True,
)
created_at: Mapped[datetime] = mapped_column(DateTime, default=_utc_now, nullable=False)
gate: Mapped[ShippingProcessGate] = relationship(
back_populates='attempts',
foreign_keys=[gate_id],
)
recovery_plan = relationship(
'ShippingProcessRecoveryPlan', back_populates='attempts', foreign_keys=[recovery_plan_id],
)