“djh”
2024-11-11 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2
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">