【新增】 学生端错题集相关功能(查询)

This commit is contained in:
dlaren
2025-08-28 17:12:18 +08:00
parent 4ffc0ff98e
commit 5d1188bcf2
13 changed files with 468 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pc.exam.pp.module.exam.dal.mysql.error.ExamErrorQuestionInfoMapper">
<select id="selectByQuId" resultType="string"
parameterType="string">
SELECT count(*)
FROM exam_error_question_info
WHERE qu_id = #{quId}
</select>
</mapper>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pc.exam.pp.module.exam.dal.mysql.error.ExamErrorQuestionMapper">
<select id="selectByUserId" resultType="pc.exam.pp.module.exam.controller.admin.error.vo.ErrorQuestionListVo"
parameterType="string">
SELECT *, ept.task_name as taskName
FROM exam_error_question eeq
left join education_paper_task ept on eeq.task_id = ept.task_id
WHERE eeq.creator = #{id}
</select>
</mapper>