|
@@ -500,7 +500,9 @@
|
|
<if test="roomCode != null and roomCode != ''">
|
|
<if test="roomCode != null and roomCode != ''">
|
|
and t.room_code = #{roomCode}
|
|
and t.room_code = #{roomCode}
|
|
</if>
|
|
</if>
|
|
- and (toer.id is null or (toer.status in ('FIRST_PREPARE', 'JUNK') and toer.client_websocket_status = 'OFF_LINE' and t.already_exam_count = 0))
|
|
|
|
|
|
+ and (toer.id is null or (toer.status in ('FIRST_PREPARE', 'JUNK') and toer.client_websocket_status = 'OFF_LINE')
|
|
|
|
+ or (toer.id is not null and toer.status in ('FIRST_PREPARE', 'JUNK') and toer.client_websocket_status is null))
|
|
|
|
+ and t.already_exam_count = 0
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|