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));