diff --git a/VOL.Business/Services/Norm/N_SportsTestResultService.cs b/VOL.Business/Services/Norm/N_SportsTestResultService.cs index 723b6b4..6029a71 100644 --- a/VOL.Business/Services/Norm/N_SportsTestResultService.cs +++ b/VOL.Business/Services/Norm/N_SportsTestResultService.cs @@ -1628,6 +1628,7 @@ namespace VOL.Business.Services GradeId = r.Id, GradeName = r.GradeName, StudentNo = r.StudentNo, + StudentName = r.StudentName, CategoryName = c.CategoryName, ClassId = r.ClassId, ClassName = r.ClassName, @@ -1641,7 +1642,8 @@ namespace VOL.Business.Services Rank = r.Rank, CategoryId = c.Id, Score = r.Score, - Sex = r.Sex == SexType.Male ? "男" : "女" + Sex = r.Sex == SexType.Male ? "男" : "女", + ScoreTime = r.ScoreTime }; if (!string.IsNullOrWhiteSpace(paramDto.StudentNo)) @@ -1676,7 +1678,7 @@ namespace VOL.Business.Services res.Total = await query.CountAsync(); - var list = await query + var list = await query.OrderByDescending(x => x.ScoreTime) .Skip((paramDto.PageIndex - 1) * paramDto.PageSize) .Take(paramDto.PageSize) .ToListAsync(); diff --git a/VOL.Model/Norm/Response/StudentsTestDataModel.cs b/VOL.Model/Norm/Response/StudentsTestDataModel.cs index 930488e..c2938e7 100644 --- a/VOL.Model/Norm/Response/StudentsTestDataModel.cs +++ b/VOL.Model/Norm/Response/StudentsTestDataModel.cs @@ -63,6 +63,12 @@ namespace VOL.Model [Display(Name = "学生学号")] public string StudentNo { get; set; } + /// + ///学生姓名 + /// + [Display(Name = "学生姓名")] + public string StudentName { get; set; } + /// ///性别 /// @@ -123,5 +129,10 @@ namespace VOL.Model [Display(Name = "备注")] public string Remarks { get; set; } + /// + /// 测试时间 + /// + public DateTime ScoreTime { get; set; } + } } diff --git a/docs/FastJumpRopeResultUpload接口文档.docx b/docs/FastJumpRopeResultUpload接口文档.docx new file mode 100644 index 0000000..f71ab41 Binary files /dev/null and b/docs/FastJumpRopeResultUpload接口文档.docx differ diff --git a/docs/HeartRateResultUpload接口文档.docx b/docs/HeartRateResultUpload接口文档.docx new file mode 100644 index 0000000..0e5a7e1 Binary files /dev/null and b/docs/HeartRateResultUpload接口文档.docx differ