This commit is contained in:
tanglong 2025-10-14 10:15:41 +08:00
parent a4d00be7bd
commit dddcff8573

View File

@ -353,7 +353,7 @@ namespace VOL.Ai.Services
StudentName = s.StudentName, StudentName = s.StudentName,
Sex = s.Sex, Sex = s.Sex,
Age = s.Age, Age = s.Age,
Photo = s.Photo, Photo = s.Photo ?? "",
ClassName = c.ClassName, ClassName = c.ClassName,
GradeName = g.GradeName, GradeName = g.GradeName,
OrderNo = s.OrderNo OrderNo = s.OrderNo
@ -1488,7 +1488,7 @@ namespace VOL.Ai.Services
&& (paramDto.ClassRoomStageId <= 0 || hrd.ClassroomStageId == paramDto.ClassRoomStageId) && (paramDto.ClassRoomStageId <= 0 || hrd.ClassroomStageId == paramDto.ClassRoomStageId)
select hrd; 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) if (heartRateDataList.Count == 0)
return res; return res;