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">