【新增】 学生端错题集相关功能(查询)
This commit is contained in:
@@ -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>
|
@@ -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>
|
Reference in New Issue
Block a user