From 15a2c1510f776c5ab91187d8e6b69ca636f4c343 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Fri, 13 Jun 2025 15:36:26 +0800 Subject: [PATCH] ScoreTime --- WeChatApplet/Services/Impl/TeacherService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChatApplet/Services/Impl/TeacherService.cs b/WeChatApplet/Services/Impl/TeacherService.cs index 4234dfc..36fc993 100644 --- a/WeChatApplet/Services/Impl/TeacherService.cs +++ b/WeChatApplet/Services/Impl/TeacherService.cs @@ -525,7 +525,7 @@ namespace YD_WeChatApplet.Services } - var jumpRecordList = await _sportsContext.Ai_FastJumpRopeData.Where(x => x.ClassRoomRecordId == classRoomId && x.StudentNo == studentNo).Select(x => new JumpRecordListDto() + var jumpRecordList = await _sportsContext.Ai_FastJumpRopeData.Where(x => x.ClassRoomRecordId == classRoomId && x.StudentNo == studentNo).OrderByDescending(x => x.ScoreTime).Select(x => new JumpRecordListDto() { TotalCount = x.JumpValue ?? 0, TotalDuration = x.MotionDuration ?? 0,