From a39e023677a9c5c68ba3b6577f0d7da24b9dc65e Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Wed, 30 Oct 2024 11:14:08 +0800
Subject: [PATCH] update
---
exam-system/src/main/resources/mapper/system/ExStudentAnswerMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/exam-system/src/main/resources/mapper/system/ExStudentAnswerMapper.xml b/exam-system/src/main/resources/mapper/system/ExStudentAnswerMapper.xml
index 48ba21e..c283c0a 100644
--- a/exam-system/src/main/resources/mapper/system/ExStudentAnswerMapper.xml
+++ b/exam-system/src/main/resources/mapper/system/ExStudentAnswerMapper.xml
@@ -9,7 +9,7 @@
<select id="selectPassCount" resultType="java.lang.Integer">
select count(1) from ex_student_answer a
inner join ex_question b on b.id=a.question_id
- where a.paper_id=#{paperId} and a.student_id=#{studentId} and b.questionType=#{questionType} and a.passed=1
+ where a.paper_id=#{paperId} and a.student_id=#{studentId} and b.question_type=#{questionType} and a.passed=1
</select>
<select id="getStudentAnswer" resultType="com.gkhy.exam.system.domain.ExStudentAnswer">
--
Gitblit v1.9.2