From 43f111dc0b9aaac9415eee56fa62dfc454ba203e Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期一, 28 十月 2024 15:22:57 +0800 Subject: [PATCH] 实现学生列表、教师列表、管理员列表的班级展示 --- src/main/resources/mapper/ExamMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/ExamMapper.xml b/src/main/resources/mapper/ExamMapper.xml index 543b5cd..89a9bc4 100644 --- a/src/main/resources/mapper/ExamMapper.xml +++ b/src/main/resources/mapper/ExamMapper.xml @@ -105,7 +105,7 @@ <if test="query.status != null and query.status != ''"> AND TE.status = #{query.status} </if> - ORDER BY orderc, TE.create_time DESC + ORDER BY FIELD(TE.status, 'ing', 'not_start', 'finished'), orderc, TE.create_time DESC </select> </mapper> -- Gitblit v1.8.0