diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index 0bf9f0e..41a4cbd 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -268,7 +268,7 @@ namespace VOL.Ai.Services return new Grades { - Id =1, + Id = 1, Name = firstGrade.GradeName, Class = allClasses .Select(c => new Classes @@ -330,7 +330,7 @@ namespace VOL.Ai.Services // .ToList() //}; - var json= JsonConvert.SerializeObject(res); + var json = JsonConvert.SerializeObject(res); return res; } @@ -1742,7 +1742,7 @@ namespace VOL.Ai.Services // 分页查询 var list = await query - .OrderByDescending(x => x.StartTime) + .OrderByDescending(x => x.Id) .Skip((paramDto.PageIndex - 1) * paramDto.PageSize) .Take(paramDto.PageSize) .Select(x => new Ai_ClassRoomRecordPageListDto