codex/issue-24-protocol-op-log-ce880af00b97
V2.0
biz_protocol_operation_log
SECRET_KEY=... pytest backend/tests/test_protocol_operation_log.py
node --test
pnpm build
npm run build
docs/sql/migrations/2026-11-05-protocol-operation-log.sql
为细胞存储与科研捐赠协议增加 append-only 操作日志,覆盖 Web/小程序 create/update/delete/状态类动作,并在查看弹窗与移动详情提供操作日志入口(Issue #24)。 Co-authored-by: Cursor <cursoragent@cursor.com>
修复 DonationViewDialog 缺失的操作日志状态与加载调用,清理误插入的重置语句,并避免显式 audit 动作被状态映射覆盖。 Co-authored-by: Cursor <cursoragent@cursor.com>
No dependencies set.
The note is not visible to the blocked user.
Summary
biz_protocol_operation_log,记录细胞存储/科研捐赠协议操作前、动作、操作后快照(Web + 小程序)Test plan
SECRET_KEY=... pytest backend/tests/test_protocol_operation_log.py(2 passed)node --testmobile-oa-h5 market parity/contracts(39 passed)pnpm buildweb-adminnpm run buildmobile-oa-h5docs/sql/migrations/2026-11-05-protocol-operation-log.sqlNotes