feat(exam): 增加试卷结果分页查询接口及前端显示功能
- 新增ExamWordsResultReqVO和ExamWordsResultRspVO用于请求与响应封装 - ExamWordsController新增getExamWordsResult方法支持分页查询试卷结果 - ExamWordsJudgeService接口及实现中添加分页获取试卷结果方法及统计总数 - Mapper层添加分页查询和统计的SQL语句支持 - Vue前端uploadpng页面优化为两列布局,新增结果集表格与分页控件 - 上传功能改用自定义http-request,上传后自动刷新结果列表 - Class页面调整布局增加额外展示内容 - 删除未使用接口ExamWordsJudge接口及相关引用 - 重命名ExamWordsJudge相关类和测试类以统一命名规范
This commit is contained in:
@@ -50,5 +50,16 @@
|
||||
where id = #{examWordsJudgeResultDO.id}
|
||||
</update>
|
||||
|
||||
<select id="selectByPage" resultMap="BaseResultMap">
|
||||
select *
|
||||
from exam_words_judge_result
|
||||
order by start_date
|
||||
limit #{startIndex}, #{pageSize}
|
||||
</select>
|
||||
|
||||
<select id="selectCount" resultType="java.lang.Integer">
|
||||
select count(1)
|
||||
from exam_words_judge_result
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user