瀏覽代碼

在线考试2022/05/20临时上线需求更改,缺考修改

wangliang 3 年之前
父節點
當前提交
c9c95122a5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

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

@@ -1344,7 +1344,7 @@
         or t.STATUS = 'PERSISTED')
         union all
         select
-        count(1) as c
+        count(distinct t.id) as c
         from
         t_e_exam_student t
         left join t_e_exam_activity f on
@@ -1366,7 +1366,7 @@
         </foreach>
         union all
         select
-        count(1) as c
+        count(distinct toer.exam_student_id) as c
         from
         t_oe_exam_record toer
         join t_e_exam_student t on