exam-system/src/main/resources/mapper/institutionaccess/ThStudyDetailMapper.xml
@@ -39,10 +39,10 @@ </if> <if test="query.status == 0"></if> <if test="query.status == 1"> and TIMESTAMPDIFF(SECOND, start_time, finish_time) = d.duration and (d.duration - TIMESTAMPDIFF(SECOND, start_time, finish_time)) <= 30 </if> <if test="query.status == 2"> and TIMESTAMPDIFF(SECOND, start_time, finish_time) < d.duration and (d.duration-TIMESTAMPDIFF(SECOND, start_time, finish_time)) > 30 </if> ORDER BY d.id DESC