From dddcff857374d0a004695b522cf77be725d8b3f1 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Tue, 14 Oct 2025 10:15:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VOL.Ai/Services/AiAppService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index ceec64e..508764a 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -353,7 +353,7 @@ namespace VOL.Ai.Services StudentName = s.StudentName, Sex = s.Sex, Age = s.Age, - Photo = s.Photo, + Photo = s.Photo ?? "", ClassName = c.ClassName, GradeName = g.GradeName, OrderNo = s.OrderNo @@ -1488,7 +1488,7 @@ namespace VOL.Ai.Services && (paramDto.ClassRoomStageId <= 0 || hrd.ClassroomStageId == paramDto.ClassRoomStageId) select hrd; - var heartRateDataList = await query.Select(x => new { x.GradeName, x.StudentNo, x.StudentName, x.Sex, x.ClassName, x.Value, x.Strength, x.Consumption, x.ScoreTime }).ToListAsync(); + var heartRateDataList = await query.ToListAsync(); if (heartRateDataList.Count == 0) return res;