fix(shipping-notice): 修复订单阶段投影与复核冻结门禁
This commit is contained in:
1 parent
9745bb78a7
commit
44c3bd0e80
8 files changed
+259
-17
No files matched your search
@@ -405,9 +405,9 @@ def test_gate_maps_to_lifecycle_stage_b(app, gate_chain, scenario):
|
||||
"""五阶段门禁→生命周期 唯一映射必须正确(B 侧,真实 Notice 路径)。
|
||||
|
||||
`LIFECYCLE_STAGE_BY_GATE`(lifecycle_projection.py:30)是正式 Gate→五阶段业务码的唯一表。
|
||||
B(build_task_ui_state on Notice,processing_stage=None)经 project_lifecycle 走 Gate 兜底,
|
||||
必须按该表落到正确业务码。**freight_upload_rpa / manual_upload_handoff 必须属于 freight_upload**
|
||||
—— 这是用户确认的契约(方案 A)。
|
||||
B(build_task_ui_state on Notice)经 OT.stage + Gate 仅向前抬升后调用 project_lifecycle;
|
||||
履约 Gate(inventory_* / freight_*)须落到正确业务码。**freight_upload_rpa /
|
||||
manual_upload_handoff 必须属于 freight_upload** —— 这是用户确认的契约(方案 A)。
|
||||
"""
|
||||
gate_code, expected_stage = scenario
|
||||
with app.app_context():
|
||||
|
||||
Reference in new issue
Block a user