feat(student): 添加学生查询功能并支持按姓名过滤
- 学生查询页面新增姓名输入框及查询、重置按钮 - 实现学生列表展示与分页功能 - 支持根据选中班级和年级联动查询学生 - 学生接口新增按姓名条件查询支持 - 服务层及Mapper层方法添加姓名参数过滤功能 - Vue页面同步新增学生相关响应式状态与方法 - 优化表格交互,支持点击行选中高亮及联动查询
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user