소스 검색

在线考试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