|
|
@@ -45,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="chapterExamId" column="chapter_exam_id"/>
|
|
|
<result property="doQuestionIds" column="do_question_ids"/>
|
|
|
<result property="rightQuestionIds" column="right_question_ids"/>
|
|
|
+ <result property="doType" column="do_type"/>
|
|
|
|
|
|
<result property="examName" column="exam_name"/>
|
|
|
<result property="paperName" column="paper_name"/>
|
|
|
@@ -152,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
SELECT
|
|
|
e.exam_id,
|
|
|
e.exam_name,
|
|
|
+ e.do_type,
|
|
|
uer.total_question_num
|
|
|
FROM
|
|
|
( SELECT exam_id, MAX( total_question_num ) total_question_num FROM user_exam_record WHERE user_id = #{userId} AND goods_id = #{goodsId} GROUP BY exam_id ) uer
|