docs: 同步批量换班级 API 说明与设计状态

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-15 16:58:56 +08:00
1 parent 3de49f732b
commit 08fbb49e89
2 files changed
+10 -1

No files matched your search

@@ -77,8 +77,17 @@
- 成功响应:`R<Void>`,`code=200`
- 失败响应:`R<Void>`,`code!=200`,并返回错误信息
## 3. 学生信息页批量换班级(前端)
- 入口:学生信息页「换班级」按钮(权限 `studentMsg:class:change`)
- 行为:勾选 1~N 名学生,共用同一目标学院/专业/班级/生效时间/原因
- 实现:前端串行多次调用 `POST /studentMsg/studentClassChange`,每人一条记录,`status=0`
- 后端:无新接口;班级实际变更仍由后台脚本 `学生换班级/process_student_class_change_fixed.sh` 处理
- 边界:已在目标班级的学生跳过并计入失败明细;部分失败不回滚已成功记录
## 更新记录
| 日期 | 更新内容 | 更新人 |
|---|---|---|
| 2026-09-15 | 补充学生信息页批量换班级说明 | Cursor |
| 2026-03-13 | 新增“复学并换班级”事务化组合接口文档 | Cursor |