feat(class): 实现班级列表分页查询功能

- 新增班级后端分页接口及相关服务实现
- 实现班级与年级关联数据查询及映射
- 新增分页请求和响应VO类支持前后端数据传输
- 修改前端class.vue,增加班级列表分页展示组件
- 增加前端分页逻辑及状态管理,支持切换页码和页面大小
- 创建GradeClassDO实体及对应Mapper实现关联查询
- 优化数据库Mapper XML,增加分页查询及计数SQL语句
- 调整MyBatis配置生成grade_class表实体类和Mapper接口
This commit is contained in:
lbw
2025-12-14 18:35:00 +08:00
parent 0ad8edbac1
commit ef48923422
15 changed files with 296 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
import axios from "@/axios";
export function getClassList(page, size) {
return axios.post('/class/list', {
page: page,
pageSize: size
})
}