diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml index 625e71e..e167af2 100644 --- a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml @@ -222,7 +222,7 @@ and c.name like concat('%',#{params.likeClassName},'%') - + and s.state = 0 and c.start_time > now() @@ -235,6 +235,10 @@ and c.start_time <= now() and c.end_time >= now() + + and s.state = 0 + and c.end_time <= now() +