fix: take also finished exams into running check

This commit is contained in:
anhefti 2021-03-01 20:07:00 +01:00
parent 290ca046c3
commit 0383aebcbf

View file

@ -431,7 +431,7 @@ public class ExamDAOImpl implements ExamDAO {
isEqualTo(BooleanUtils.toInteger(true)))
.and(
ExamRecordDynamicSqlSupport.status,
isEqualTo(ExamStatus.UP_COMING.name()))
isNotEqualTo(ExamStatus.RUNNING.name()))
.and(
ExamRecordDynamicSqlSupport.updating,
isEqualTo(BooleanUtils.toInteger(false)))