Browse Source

Merge branch 'dev_openapi_bugfix'

luoshi 4 years ago
parent
commit
739476592b

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

@@ -861,7 +861,7 @@
                t.finish_time     as finishTime
                t.finish_time     as finishTime
         FROM t_oe_exam_record t
         FROM t_oe_exam_record t
         where t.exam_student_id = #{examStudentId}
         where t.exam_student_id = #{examStudentId}
-          and t.breach_status != 1
+          and (t.breach_status is null or t.breach_status != 1)
     </select>
     </select>
 
 
     <select id="findMaxObjectiveScore" resultType="com.qmth.themis.business.entity.TOeExamRecord">
     <select id="findMaxObjectiveScore" resultType="com.qmth.themis.business.entity.TOeExamRecord">