Ver código fonte

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

wangliang 3 anos atrás
pai
commit
c9c95122a5

+ 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