소스 검색

成绩查询加入缺考

wangliang 3 년 전
부모
커밋
7c48ac07d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

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

@@ -476,7 +476,7 @@
         from
         t_oe_exam_record toer
         where
-        toer.exam_student_id = tees.id) as examCount,
+        toer.exam_student_id = tees.id and toer.first_start_time is not null) as examCount,
         (select count(toer.id) from t_oe_exam_record toer
         where toer.exam_student_id = tees.id and toer.breach_status = 0) as breachCount,
         0 as objectiveScore,