From 247cb86585a1d1894596ed18a6c93efecb992946 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期四, 14 十一月 2024 10:34:27 +0800
Subject: [PATCH] 班级成绩图表分析

---
 src/main/resources/mapper/QuestionAnswerRecordMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/QuestionAnswerRecordMapper.xml b/src/main/resources/mapper/QuestionAnswerRecordMapper.xml
index 578eba4..a40b668 100644
--- a/src/main/resources/mapper/QuestionAnswerRecordMapper.xml
+++ b/src/main/resources/mapper/QuestionAnswerRecordMapper.xml
@@ -14,7 +14,8 @@
     </resultMap>
 
     <resultMap id="WrongResultMap" type="com.ycl.jxkg.domain.vo.student.wrong.WrongResponseVO">
-        <result property="paperId" column="paper_id" />
+        <result property="examId" column="exam_id" />
+        <result property="questionId" column="question_id" />
         <result property="title" column="title" />
         <result property="questionType" column="question_type" />
         <result property="difficult" column="difficult" />
@@ -25,7 +26,8 @@
 
     <select id="selectWrongQuestion" resultMap="WrongResultMap">
         SELECT
-            qar.paper_id,
+            e.id AS exam_id,
+            q.id AS question_id,
             q.title,
             q.question_type,
             q.difficult,

--
Gitblit v1.8.0