|
@@ -16,7 +16,9 @@
|
|
left join t_b_exam_invigilate_user tbeiu on
|
|
left join t_b_exam_invigilate_user tbeiu on
|
|
tbeiu.exam_id = tieic.exam_id
|
|
tbeiu.exam_id = tieic.exam_id
|
|
and tbeiu.room_code = tees.room_code
|
|
and tbeiu.room_code = tees.room_code
|
|
- <where>
|
|
|
|
|
|
+ left join t_oe_exam_record toer on
|
|
|
|
+ toer.id = tieic.exam_record_id
|
|
|
|
+ <where> 1 = 1
|
|
<if test="examId != null and examId != ''">
|
|
<if test="examId != null and examId != ''">
|
|
and tieic.exam_id = #{examId}
|
|
and tieic.exam_id = #{examId}
|
|
</if>
|
|
</if>
|
|
@@ -33,6 +35,7 @@
|
|
and tieic.call_status = #{callStatus}
|
|
and tieic.call_status = #{callStatus}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
|
|
+ and (toer.status <![CDATA[ <> ]]> 'FINISHED' and toer.status <![CDATA[ <> ]]> 'PERSISTED')
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="examInvigilateCallQueryCount" resultType="java.lang.Integer">
|
|
<select id="examInvigilateCallQueryCount" resultType="java.lang.Integer">
|