feat(student-plan): 实现学生学案查询功能
- 新增FindStudentPlansReqVO和FindStudentPlansRspVO定义请求和响应数据结构 - 新增LessonPlanItem用于描述单个学案项 - StudentLessonPlansDO模型新增isFinished属性 - 扩展StudentLessonPlansDOMapper,添加分页及按姓名查询学生学案列表方法及统计总数方法 - 扩展LessonPlansDOMapper,新增按学案ID列表批量查询方法 - 实现StudentLessonPlansService及LessonPlansService接口对应查询方法 - 新增StudentLessonPlansController,提供学生学案分页查询接口 - 在前端LearningPlan.vue添加学案查询界面及分页、搜索功能 - 封装studentLessonPlans接口axios方法,支持分页按姓名查询学生学案数据 - 添加单元测试更新验证数据库查询正确性
This commit is contained in:
9
enlish-vue/src/api/studentLessonPlans.js
Normal file
9
enlish-vue/src/api/studentLessonPlans.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import axios from "@/axios";
|
||||
|
||||
export function findStudentLessonPlans(page, size, name) {
|
||||
return axios.post('/studentLessonPlans/list', {
|
||||
page: page,
|
||||
size: size,
|
||||
name: name ?? ''
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user