From b661bcf7e065092c876e052bad0bfaecb9dc0c17 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 12 十一月 2024 21:21:06 +0800
Subject: [PATCH] 优化错题查询
---
src/main/resources/mapper/ExamPaperScoreMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/ExamPaperScoreMapper.xml b/src/main/resources/mapper/ExamPaperScoreMapper.xml
index 1221a14..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
@@ -173,4 +176,7 @@
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