|
@@ -22,7 +22,7 @@
|
|
|
t_b_exam_invigilate_user tbeiu
|
|
|
left join t_e_exam_student tees on
|
|
|
tees.exam_id = tbeiu.exam_id
|
|
|
- and tees.room_code = tbeiu.room_code and tees.exam_id = tbeiu.exam_id
|
|
|
+ and tees.room_code = tbeiu.room_code
|
|
|
where
|
|
|
tbeiu.user_id = #{userId}
|
|
|
and t.id = tbeiu.exam_id)
|
|
@@ -95,7 +95,7 @@
|
|
|
t_b_exam_invigilate_user tbeiu
|
|
|
left join t_e_exam_student tees on
|
|
|
tees.exam_id = tbeiu.exam_id
|
|
|
- and tees.room_code = tbeiu.room_code and tees.exam_id = tbeiu.exam_id
|
|
|
+ and tees.room_code = tbeiu.room_code
|
|
|
where
|
|
|
tbeiu.user_id = #{userId}
|
|
|
and t.id = tbeiu.exam_id)
|
|
@@ -195,7 +195,7 @@
|
|
|
t_b_exam_invigilate_user tbeiu
|
|
|
left join t_e_exam_student tees on
|
|
|
tees.exam_id = tbeiu.exam_id
|
|
|
- and tees.room_code = tbeiu.room_code and tees.exam_id = tbeiu.exam_id
|
|
|
+ and tees.room_code = tbeiu.room_code
|
|
|
<where>1 = 1
|
|
|
<if test="userId != null and userId != ''">
|
|
|
and tbeiu.user_id = #{userId}
|