|
@@ -199,6 +199,7 @@
|
|
|
</resultMap>
|
|
|
<sql id="queryExamReviewRecordListSql">
|
|
|
<where>
|
|
|
+ ersr.sign_in_time_ IS NOT NULL
|
|
|
<if test="reviewFlag != null and reviewFlag == 1">
|
|
|
AND er.id_ IS NOT NULL
|
|
|
</if>
|
|
@@ -218,7 +219,7 @@
|
|
|
LEFT JOIN student_exam_result ser ON ser.exam_registration_id_ = ersr.exam_registration_id_
|
|
|
LEFT JOIN exam_review er ON ser.exam_registration_id_ = er.exam_registration_id_ AND er.teacher_id_ = #{teacherId}
|
|
|
<include refid="queryExamReviewRecordListSql"/>
|
|
|
- ORDER BY ser.is_finished_exam_ DESC
|
|
|
+ ORDER BY ser.is_finished_exam_ ASC
|
|
|
<include refid="global.limit"/>
|
|
|
</select>
|
|
|
|