From b8bca21231bf2cfc1722beaba46728c1e565e22e Mon Sep 17 00:00:00 2001 From: zhaokai Date: Fri, 6 Mar 2026 13:50:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(class):=20=E6=B7=BB=E5=8A=A0=E7=8F=AD?= =?UTF-8?q?=E7=BA=A7=E7=8A=B6=E6=80=81=E6=97=B6=E9=97=B4=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/study/ClassMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml b/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml index 3868644..2dae8d7 100644 --- a/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/study/ClassMapper.xml @@ -172,7 +172,7 @@ case when c.state = 1 then 1 when c.state = 2 and c.start_time > now() then 2 when c.state = 2 and c.start_time <= now() and c.end_time > now() then 3 - when c.state = 2 and c.end_time >= now() then 4 + when c.state = 2 and c.end_time <= now() then 4 end class_state, c.valid_start_time, @@ -209,7 +209,7 @@ and c.state = 2 and c.start_time > now() - and c.state = 2 and c.end_time > now() + and c.state = 2 and c.end_time > now() and c.start_time <= now() and c.state = 2 and c.end_time <= now()