|
@@ -1203,16 +1203,10 @@
|
|
toer.first_start_time as firstStartTime,
|
|
toer.first_start_time as firstStartTime,
|
|
toer.finish_time as finishTime,
|
|
toer.finish_time as finishTime,
|
|
toer.finish_type as finishType
|
|
toer.finish_type as finishType
|
|
- from
|
|
|
|
- t_oe_exam_record toer
|
|
|
|
- join t_e_exam tee on
|
|
|
|
- tee.id = toer.exam_id
|
|
|
|
- join t_e_exam_activity teea on
|
|
|
|
- teea.exam_id = tee.id and toer.exam_activity_id = teea.id
|
|
|
|
- join t_e_exam_student tees on
|
|
|
|
- toer.exam_id = tees.exam_id
|
|
|
|
- and toer.exam_activity_id = tees.exam_activity_id
|
|
|
|
- and tees.id = toer.exam_student_id
|
|
|
|
|
|
+ from t_oe_exam_record toer
|
|
|
|
+ join t_e_exam tee on tee.id = toer.exam_id
|
|
|
|
+ join t_e_exam_activity teea on teea.exam_id = toer.exam_id and teea.id = toer.exam_activity_id
|
|
|
|
+ join t_e_exam_student tees on tees.exam_id = toer.exam_id and tees.exam_activity_id = toer.exam_activity_id and tees.id = toer.exam_student_id
|
|
<where>
|
|
<where>
|
|
<if test="examId != null and examId != ''">
|
|
<if test="examId != null and examId != ''">
|
|
and toer.exam_id = #{examId}
|
|
and toer.exam_id = #{examId}
|