kindergarten_java/reading-platform-frontend
En b361b1885b fix: 教师端首页今日课程 courseName 和 className 关联查询
问题:
- 今日课程功能只查询了 lesson 表,没有 JOIN 关联表
- TeacherLessonVO 的 courseName 和 className 字段为 null
- 前端无法显示课程名称和班级名称

修复:
- LessonMapper 新增 selectTodayLessonsWithDetails() 方法
- 通过 LEFT JOIN course_package 和 clazz 表获取名称
- TeacherStatsServiceImpl 重写 getTodayLessons() 方法
- 添加类型转换辅助方法 (getLong/getString/getLocalDate/getLocalTime/getLocalDateTime)

影响范围:
- 教师端首页 - 今日课程模块
- API: GET /api/v1/teacher/today-lessons
- API: GET /api/v1/teacher/dashboard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 18:43:47 +08:00
..
public 添加logo 2026-03-16 17:49:09 +08:00
scripts feat: 套餐管理功能增强 2026-03-18 18:19:25 +08:00
src fix: 教师端首页今日课程 courseName 和 className 关联查询 2026-03-21 18:43:47 +08:00
tests feat: 教师端数据看板与学校端课程统计功能 2026-03-21 12:45:56 +08:00
.DS_Store refactor: 完成代码重构规范化 - 2026-03-12 2026-03-12 17:27:13 +08:00
.env.development feat: 更新 FileUploader 组件和生成的 API 类型 2026-03-16 18:15:34 +08:00
.env.test fix: 教师端首页今日课程 courseName 和 className 关联查询 2026-03-21 18:43:47 +08:00
dev.db 提交说明 2026-02-28 16:41:39 +08:00
index.html 视频预览 2026-03-17 14:17:21 +08:00
openapi.json feat: 教师端数据看板与学校端课程统计功能 2026-03-21 12:45:56 +08:00
orval.config.ts fix: 修复租户管理选择套餐显示 NaN 元问题 2026-03-19 09:34:54 +08:00
package-lock.json 优化 2026-03-17 10:38:51 +08:00
package.json 优化 2026-03-17 10:38:51 +08:00
playwright.config.ts fix: 教师端首页今日课程 courseName 和 className 关联查询 2026-03-21 18:43:47 +08:00
start-frontend.sh 提交说明 2026-02-28 16:41:39 +08:00
test-page.mjs refactor: 完成代码重构规范化 - 2026-03-12 2026-03-12 17:27:13 +08:00
tsconfig.json Initialize the Kindergarten platform source code. 2026-02-26 15:22:26 +08:00
tsconfig.node.json Initialize the Kindergarten platform source code. 2026-02-26 15:22:26 +08:00
uno.config.ts 在线文档支持 2026-03-16 20:06:56 +08:00
vite.config.ts fix: 教师端首页今日课程 courseName 和 className 关联查询 2026-03-21 18:43:47 +08:00