فهرست منبع

补充考试记录查询SQL过滤条件

luoshi 4 سال پیش
والد
کامیت
fad6064057
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

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

@@ -861,6 +861,7 @@
                t.finish_time     as finishTime
         FROM t_oe_exam_record t
         where t.exam_student_id = #{examStudentId}
+          and t.finish_time is not null
           and (t.breach_status is null or t.breach_status != 1)
     </select>