From 6f828ee8dde4f646417b1a4c5a1eda4c9ac1cb86 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Mon, 28 Jul 2025 13:43:33 +0800 Subject: [PATCH] sws --- YD_AllHeartRates.Api/Services/Impl/HeartRateReportService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YD_AllHeartRates.Api/Services/Impl/HeartRateReportService.cs b/YD_AllHeartRates.Api/Services/Impl/HeartRateReportService.cs index c1b2ca4..8815e09 100644 --- a/YD_AllHeartRates.Api/Services/Impl/HeartRateReportService.cs +++ b/YD_AllHeartRates.Api/Services/Impl/HeartRateReportService.cs @@ -140,7 +140,7 @@ namespace YD_AllHeartRates.Api.Services.Impl ClassId = c.Id, ClassName = c.ClassName, GradeName = c.GradeName, - TeacherName = t != null ? t.TeacherName : null + TeacherName = t != null ? t.TeacherName : "" }) .OrderBy(x => x.ClassId) .ToListAsync();