From dbc707e59816437d209674c282632212a4dd21de Mon Sep 17 00:00:00 2001 From: H Vs Date: Tue, 6 Aug 2024 15:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Biz/db/TDengineService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HealthMonitor.Service/Biz/db/TDengineService.cs b/HealthMonitor.Service/Biz/db/TDengineService.cs index 4b8a6b3..bd43aa6 100644 --- a/HealthMonitor.Service/Biz/db/TDengineService.cs +++ b/HealthMonitor.Service/Biz/db/TDengineService.cs @@ -1036,7 +1036,7 @@ namespace HealthMonitor.Service.Biz.db // _logger.LogInformation($"{serialNo} 心率数据不足,无法计算其众数"); // return null; //} - var listRes = filteredCollection.Select(i => new { last_update=i.LastUpdate,heart_rate=i.PregnancyHeartRate }).ToList(); + var listRes = filteredCollection.Select(i => new { last_update=i.LastUpdate.ToString("yyyy-MM-dd HH:mm:ss"),heart_rate=i.PregnancyHeartRate }).ToList(); _logger.LogInformation($"highFreqSampleInterval:{highFreqSampleInterval},{serialNo} 去除高频数据后列表: {JsonConvert.SerializeObject(listRes)}"); _logger.LogInformation($"{serialNo} 去除高频数据后的数据集: " + string.Join(", ", res));