Files
zkxw/docs/superpowers/plans/2026-10-22-sample-code-correction.md
T
zlwuandCursor 5dad1bb0e3 fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:02:25 +08:00

16 lines
678 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 样本编码全链路纠错 Implementation Plan
> **For agentic workers:** Implement task-by-task. Spec: `docs/superpowers/specs/2026-10-22-sample-code-correction-design.md`
**Goal:** 提供预览 + 事务级联更正样本编码,覆盖协议/捐赠 SoT 与质检/生产/缴费等下游快照表。
**Architecture:** 服务层 `sample_code_correction` 统一 count/update;API 暴露 preview/apply;审计表落库;样本信息页弹窗入口。
**Tech Stack:** FastAPI + SQLAlchemy;Vue 3 + Element Plus;pytest(sqlite in-memory)
---
### Task 1: SQL + Model + Service + API + Tests + UI
见设计文档表清单与 API 约定;本计划一次性落地。