|
@@ -284,9 +284,9 @@
|
|
t.id
|
|
t.id
|
|
from
|
|
from
|
|
t_e_exam_student t
|
|
t_e_exam_student t
|
|
- left join t_e_exam_activity f on
|
|
|
|
|
|
+ join t_e_exam_activity f on
|
|
t.exam_activity_id = f.id
|
|
t.exam_activity_id = f.id
|
|
- left join t_e_exam tee on
|
|
|
|
|
|
+ join t_e_exam tee on
|
|
tee.id = t.exam_id
|
|
tee.id = t.exam_id
|
|
where
|
|
where
|
|
NOT EXISTS(
|
|
NOT EXISTS(
|
|
@@ -331,13 +331,13 @@
|
|
t.id
|
|
t.id
|
|
from
|
|
from
|
|
t_oe_exam_record toer
|
|
t_oe_exam_record toer
|
|
- left join t_e_exam_student t on
|
|
|
|
|
|
+ join t_e_exam_student t on
|
|
t.id = toer.exam_student_id
|
|
t.id = toer.exam_student_id
|
|
and t.exam_id = toer.exam_id
|
|
and t.exam_id = toer.exam_id
|
|
and t.exam_activity_id = toer.exam_activity_id
|
|
and t.exam_activity_id = toer.exam_activity_id
|
|
- left join t_e_exam_activity f on
|
|
|
|
|
|
+ join t_e_exam_activity f on
|
|
t.exam_activity_id = f.id
|
|
t.exam_activity_id = f.id
|
|
- left join t_e_exam tee on
|
|
|
|
|
|
+ join t_e_exam tee on
|
|
tee.id = t.exam_id
|
|
tee.id = t.exam_id
|
|
where
|
|
where
|
|
toer.exam_id = #{examId}
|
|
toer.exam_id = #{examId}
|
|
@@ -371,7 +371,7 @@
|
|
distinct t.exam_student_id as id
|
|
distinct t.exam_student_id as id
|
|
from
|
|
from
|
|
t_oe_exam_record t
|
|
t_oe_exam_record t
|
|
- left join t_e_exam_student s on
|
|
|
|
|
|
+ join t_e_exam_student s on
|
|
t.exam_student_id = s.id
|
|
t.exam_student_id = s.id
|
|
where
|
|
where
|
|
t.exam_id = #{examId}
|
|
t.exam_id = #{examId}
|