feat(shipping-notice): 增强发货通知与审计功能,支持敏感数据控制与哈希链校验
- 更新发货通知工具 API,剥离不可信的操作人身份字段,确保审计安全 - 引入审计事件的哈希链校验机制,支持数据完整性验证 - 增强订单抽取与审计功能,支持敏感快照的访问控制 - 更新相关模型与服务,确保新功能的完整性与可追溯性 - 完善文档与代码注释,反映新的业务逻辑与审计要求
This commit is contained in:
1 parent
95cdfe66b0
commit
d0fe084999
225 files changed
+25923
-6653
No files matched your search
@@ -121,6 +121,7 @@ def test_unknown_upload_result_hides_retry_and_requires_reconciliation(app):
|
||||
|
||||
state = resolve_task_ui_state(task)
|
||||
assert state.checkpoint == 'upload_result_unknown'
|
||||
# 结果未知时禁止 RPA 重试,允许下载 Excel + 人工凭据/回执登记收口。
|
||||
assert state.human_options == ['refresh', 'download_excel', 'mark_manual_uploaded']
|
||||
assert 'retry_upload' not in state.human_options
|
||||
assert db.session.get(ShippingReservation, reservation.id).status == 'artifact_reserved'
|
||||
|
||||
Reference in new issue
Block a user