From ef57094e91072ebe05bb3781e028d6d7ad8a0c45 Mon Sep 17 00:00:00 2001 From: heheng <heheng@123456> Date: 星期一, 17 二月 2025 11:15:35 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-20250116' into dev-20250116 --- exam-system/src/main/resources/mapper/institutionaccess/ThStudyDetailMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exam-system/src/main/resources/mapper/institutionaccess/ThStudyDetailMapper.xml b/exam-system/src/main/resources/mapper/institutionaccess/ThStudyDetailMapper.xml index cd6c189..c557339 100644 --- a/exam-system/src/main/resources/mapper/institutionaccess/ThStudyDetailMapper.xml +++ b/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 -- Gitblit v1.9.2