From b7ba32adec6e0dbed2700e10c2342a074809e3fd Mon Sep 17 00:00:00 2001 From: mago Date: Fri, 27 Jun 2025 12:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E5=8F=B7=E7=A0=81=E6=A0=A1=E9=AA=8C=E7=94=B7=E5=A5=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Implementations/StudentService.cs | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/Src/CodeSpirit.ExamApi/Services/Implementations/StudentService.cs b/Src/CodeSpirit.ExamApi/Services/Implementations/StudentService.cs index 5e805e1..21e506f 100644 --- a/Src/CodeSpirit.ExamApi/Services/Implementations/StudentService.cs +++ b/Src/CodeSpirit.ExamApi/Services/Implementations/StudentService.cs @@ -94,7 +94,7 @@ public class StudentService : BaseCRUDIService x.StudentGroups) .ThenInclude(x => x.StudentGroup) - .Where(predicate).OrderByDescending(x=>x.CreatedAt); + .Where(predicate).OrderByDescending(x => x.CreatedAt); // 执行分页查询 var totalCount = await query.CountAsync(); @@ -288,7 +288,7 @@ public class StudentService : BaseCRUDIService /// 批量分配考生到考生组 /// -- Gitee