Kaynağa Gözat

Merge branch 'dev'
1

wangliang 4 yıl önce
ebeveyn
işleme
6cab3f017f

+ 1 - 3
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -698,7 +698,7 @@
 		t.roomCode,
 		t.roomName,
 		sum(t.warningCount) as warningCount,
-		count(t.client_websocket_status) as clientWebsocketStatusCount
+		count((t.client_websocket_status = 'OFF_LINE' or t.client_websocket_status is null) or null) as clientWebsocketStatusCount
 		from
 		(
 		select
@@ -744,8 +744,6 @@
 			and tee.enable = 1
 			and teea.enable = 1
 			and teea.finish_time > unix_timestamp(current_timestamp()) * 1000
-			and (t.client_websocket_status = 'OFF_LINE' or t.client_websocket_status is null)
-			and (t.status = 'FIRST_PREPARE' or t.status = 'ANSWERING' or t.status = 'BREAK_OFF' or t.status = 'RESUME_PREPARE')
 		</where> ) t
 		group by
 		t.roomCode,