diff --git a/WeChatApplet/Services/Impl/TeacherService.cs b/WeChatApplet/Services/Impl/TeacherService.cs index 9387030..9ef38c7 100644 --- a/WeChatApplet/Services/Impl/TeacherService.cs +++ b/WeChatApplet/Services/Impl/TeacherService.cs @@ -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; } diff --git a/YD_WeChatApplet.Commons/Dto/ClassRoomRecord/StudentClassRoomReportDto.cs b/YD_WeChatApplet.Commons/Dto/ClassRoomRecord/StudentClassRoomReportDto.cs index a82303e..4f9117f 100644 --- a/YD_WeChatApplet.Commons/Dto/ClassRoomRecord/StudentClassRoomReportDto.cs +++ b/YD_WeChatApplet.Commons/Dto/ClassRoomRecord/StudentClassRoomReportDto.cs @@ -47,7 +47,7 @@ namespace YD_WeChatApplet.Commons.Dto.ClassRoomRecord /// /// 跳绳类型 /// - public string JumpType { get; set; } + public string JumpType { get; set; } = "智能跳绳"; /// /// 总个数