wangziqi
|
f50301148d
|
fix(correctness): 并发/事务/实体/时区/状态一致性修复
由 OCR(open-codereview.ai,deepseek-v4-flash)审查驱动修复:
- wallets 原子扣款防 double-spend;refund 条件更新幂等;findTransactions 分页
- financial/imports/occupancies/attendance 事务与 advisory lock;重复生成/提交幂等
- 矛盾校验器、日期区间、实体双映射/DECIMAL/nullable、时区统一(china-time)
- rbac-seed 防重激活、exam 权限恢复、状态一致性、路由顺序、N+1/IN 分块等性能项
Reviewed-by: OCR (open-codereview.ai)
|
2026-08-09 21:29:54 +08:00 |
|
xiongyuxing
|
13ef357448
|
移除账号启用状态统一使用归档
|
2026-07-24 09:53:04 +08:00 |
|
xiongyuxing
|
f3b59935d6
|
feat: 集成 AI 对话与只读查询工具
|
2026-07-23 14:24:40 +08:00 |
|
wangziqi
|
7edb4ff853
|
fix: prune unused RBAC permissions
|
2026-07-17 17:43:45 +08:00 |
|
 wangziqiandCode Review <branch-review>
|
cc4f4dae4e
|
fix: audit remediation — SSE user scoping, FK transactional safety, UI error handling
- H4: scoped SSE import progress to exact userId match; non-HTTP events excluded from all subscribers
- H2: moved PRAGMA foreign_key_check inside SQLite transaction before COMMIT; violations rollback preserving old tables
- M1: removed dead axios-style error branch from extractErrorMessage (interceptor already unwraps)
- M2: split handleSave try/catch — save errors vs reload errors shown distinctly
- M3: added provider field validation before AI config test request
- Added SSE scoping regression tests (import service + controller)
- Added FK check failure rollback test (database-migrations.spec)
- Updated controller spec expectations for userId parameter
Co-authored-by: Code Review <branch-review>
|
2026-07-12 22:59:03 +08:00 |
|
wangziqi
|
8ed1682b90
|
fix permissions and teacher attendance workflows
|
2026-07-10 20:40:52 +08:00 |
|