|
@@ -49,6 +49,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="recordingUrl" column="recording_url"/>
|
|
|
<result property="doType" column="do_type"/>
|
|
|
<result property="liveUrl" column="live_url"/>
|
|
|
+ <result property="performance" column="performance"/>
|
|
|
+ <result property="reportStatus" column="report_status"/>
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
@@ -121,14 +123,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
e.exam_name as name,
|
|
|
e.exam_id as type_id,
|
|
|
#{gradeId} as grade_id,
|
|
|
- 2 as type
|
|
|
+ 2 as type,
|
|
|
+ ubr.report_status,
|
|
|
+ ubr.performance
|
|
|
FROM
|
|
|
exam e
|
|
|
LEFT JOIN course_menu_exam cme ON cme.exam_id = e.exam_id
|
|
|
+ LEFT JOIN user_bank_record ubr on e.exam_id = ubr.exam_id and ubr.user_id = #{userId}
|
|
|
+ and ubr.chapter_id = #{userId}
|
|
|
where 1=1
|
|
|
and cme.chapter_id = #{chapterId}
|
|
|
- and cme.course_id = #{courseId}
|
|
|
- and cme.module_id = #{moduleId}
|
|
|
+ and cme.course_id = #{courseId}
|
|
|
+ and cme.module_id = #{moduleId}
|
|
|
</select>
|
|
|
|
|
|
<select id="getListTotalTime" parameterType="Long" resultType="java.lang.Long">
|