This commit is contained in:
tanglong 2025-06-12 14:30:32 +08:00
parent 1e43a83a2c
commit 58b7f2b0ae
2 changed files with 11 additions and 1 deletions

View File

@ -502,6 +502,16 @@ namespace YD_WeChatApplet.Services
}
}
var jumpRecordList = await _sportsContext.Ai_FastJumpRopeData.Where(x => x.ClassRoomRecordId == classRoomId && x.StudentNo == studentNo).Select(x => new JumpRecordListDto()
{
TotalCount = x.JumpValue ?? 0,
TotalDuration = x.MotionDuration ?? 0,
}).ToListAsync();
res.JumpRecordList = jumpRecordList;
return res;
}

View File

@ -47,7 +47,7 @@ namespace YD_WeChatApplet.Commons.Dto.ClassRoomRecord
/// <summary>
/// 跳绳类型
/// </summary>
public string JumpType { get; set; }
public string JumpType { get; set; } = "智能跳绳";
/// <summary>
/// 总个数