From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期一, 11 十一月 2024 16:55:28 +0800 Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口 --- 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