ScoreTime

This commit is contained in:
tanglong 2025-06-13 15:36:26 +08:00
parent 96fc80bebd
commit 15a2c1510f

View File

@ -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,