kongzy
2024-09-14 f0f00e9ba8a755e4317e029d73b69a92ad9f9df1
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">