feat(freight-rpa): 库存/收料改名在手/入站,报表归属RPA,类名统一FreightRpa
把 shipping 侧 inventory/receipt 词根迁到 onhand/inbound,29 张表与 枚举/权限/前端/i18n 同步改名;在手与入站报表配置及文件改由 freight_rpa 持有,发货与调拨仅按 source_code 消费;ORM 类加 FreightRpa 前缀, 上传动作改为 freight_rpa_upload。含类名与上传动作改名规格文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ffc0d4a430
commit
39fe3c05f2
453 files changed
+17945
-8646
No files matched your search
@@ -2,7 +2,7 @@
|
||||
models/shipping_process_gate.py
|
||||
|
||||
用途:门禁级中断恢复的持久化模型——Execution / Gate / Attempt。
|
||||
依赖:SQLAlchemy Base、ReviewCase、ShippingOrderTask、Job;状态枚举与 process_gate_contract 对齐。
|
||||
依赖:SQLAlchemy Base、ReviewCase、ShippingOrderTask、Job、shipping_onhand_candidate_sets;状态枚举与 process_gate_contract 对齐。
|
||||
逻辑:Execution 为业务恢复真相;Gate 保存当前门禁状态;Attempt 不可变执行尝试并承载租约。
|
||||
由领域服务独占写入;Job 仅调度。
|
||||
co8e9f0a1b2c:已移除对 shipping_notice_workflow_* 的硬外键(无历史兼容)。
|
||||
@@ -78,7 +78,7 @@ class ShippingProcessExecution(Base):
|
||||
)
|
||||
# 绑定候选版本,防止旧 callback/job 写入新候选链。
|
||||
candidate_set_id: Mapped[Optional[int]] = mapped_column(
|
||||
ForeignKey('shipping_inventory_candidate_sets.id'), nullable=True,
|
||||
ForeignKey('shipping_onhand_candidate_sets.id'), nullable=True,
|
||||
)
|
||||
execution_revision: Mapped[int] = mapped_column(
|
||||
Integer, nullable=False, default=1, server_default='1',
|
||||
|
||||
Reference in new issue
Block a user