From cd59ededbf05a0ae73b8f4944fbf40a1fb01d28a Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期一, 11 十一月 2024 18:03:43 +0800 Subject: [PATCH] 错题详情 --- src/main/resources/mapper/ExamPaperScoreMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/ExamPaperScoreMapper.xml b/src/main/resources/mapper/ExamPaperScoreMapper.xml index a29bf61..0c5d29f 100644 --- a/src/main/resources/mapper/ExamPaperScoreMapper.xml +++ b/src/main/resources/mapper/ExamPaperScoreMapper.xml @@ -149,6 +149,9 @@ <if test="examName != null and examName != ''"> AND INSTR(t.exam_name, #{examName}) </if> + <if test="examId != null and examId != ''"> + AND t.id = #{examId} + </if> </where> GROUP BY t.id ORDER BY t.id DESC @@ -167,4 +170,13 @@ GROUP BY a.id </select> + <select id="selectByUserId" resultType="com.ycl.jxkg.domain.entity.ExamPaperScore"> + SELECT + <include refid="Base_Column_List"/> + from t_exam_paper_score + where user_id = #{userId} + </select> + <select id="selectWrong" resultType="com.ycl.jxkg.domain.vo.student.wrong.WrongResponseVO"> + + </select> </mapper> -- Gitblit v1.8.0