feat(student): 添加学生查询功能并支持按姓名过滤

- 学生查询页面新增姓名输入框及查询、重置按钮
- 实现学生列表展示与分页功能
- 支持根据选中班级和年级联动查询学生
- 学生接口新增按姓名条件查询支持
- 服务层及Mapper层方法添加姓名参数过滤功能
- Vue页面同步新增学生相关响应式状态与方法
- 优化表格交互,支持点击行选中高亮及联动查询
This commit is contained in:
lbw
2025-12-15 11:15:47 +08:00
parent 857fa85c74
commit eb2c0d2f6c
8 changed files with 112 additions and 12 deletions

View File

@@ -22,7 +22,10 @@
<if test="gradeId != null">
AND grade_id = #{gradeId}
</if>
LIMIT #{offset}, #{pageSize}
<if test="name != null">
AND name like concat('%', #{name}, '%')
</if>
LIMIT #{startIndex}, #{pageSize}
</select>
<select id="selectStudentCount">