浏览代码

补充考试记录查询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>