feat: v1.4.0 - 典型方案采纳、推荐方案列表、审计字段、导航优化
- 添加典型方案采纳功能 (POST /api/plans/<id>/adopt) - 添加推荐方案列表 (GET /api/students/<id>/recommended-plans) - PracticePlan 新增 created_by/updated_by/updated_at 审计字段 - 方案编辑/详情页导航优化 (bfcache 处理、pageshow 事件) - 方案列表支持删除功能 - 学员列表'暂无方案/问题'样式统一 - 更新文档:问题文件已废弃(迁移到数据库) - 更新部署脚本和验证清单
This commit is contained in:
@@ -104,8 +104,17 @@
|
||||
|------|------|------|
|
||||
| id | Integer | 主键,自增 |
|
||||
| student_id | Integer | 外键,关联 Student |
|
||||
| template_id | Integer | 外键,关联 Template(AI提示词模板) |
|
||||
| is_typical | Boolean | 是否为典型方案 |
|
||||
| content | Text | 方案内容(JSON格式) |
|
||||
| created_by | Integer | 外键,关联 User(创建人) |
|
||||
| created_at | DateTime | 创建时间 |
|
||||
| updated_by | Integer | 外键,关联 User(更新人,仅编辑时设置) |
|
||||
| updated_at | DateTime | 更新时间(仅编辑时设置) |
|
||||
|
||||
**审计字段说明**:
|
||||
- `created_by`:创建时设置
|
||||
- `updated_by`、`updated_at`:仅在编辑更新时设置,初次创建时为空
|
||||
|
||||
**content 字段结构**:
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user