浏览代码

考试统计修改

wangliang 1 年之前
父节点
当前提交
23b1060e8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themis-business/src/main/resources/mapper/TEExamSummaryMapper.xml

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

@@ -14,7 +14,7 @@
             sum(t.warning_unread) as warningUnread,
             sum(t.warning_multiple_face_count) as warningMultipleFaceCount,
             sum(t.exception_count) as exceptionCount,
-            sum(case when (t.status = 'ANSWERING' or t.status = 'PERSISTED') then 1 else 0 end) as finishCount
+            sum(case when (t.status = 'FINISHED' or t.status = 'PERSISTED') then 1 else 0 end) as finishCount
         from t_e_exam_student s
             left join t_oe_exam_record t on t.id=s.current_record_id
         <where> 1 = 1