wangliang 3 лет назад
Родитель
Сommit
b7ff317854
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

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

@@ -1365,7 +1365,7 @@
             #{roomCode}
         </foreach>
         and (t.STATUS = 'FINISHED'
-        or t.STATUS = 'PERSISTED')
+        or t.STATUS = 'PERSISTED') and t.first_start_time is not null
         union all
         select
         count(distinct t.id) as c