From f18c0b3336a10bc36a9e5ca34a03b6d19c34569b Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 12 十一月 2024 22:43:01 +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