diff --git a/HealthMonitor.WebApi/Worker.cs b/HealthMonitor.WebApi/Worker.cs index eb34af7..02d5422 100644 --- a/HealthMonitor.WebApi/Worker.cs +++ b/HealthMonitor.WebApi/Worker.cs @@ -298,7 +298,7 @@ namespace HealthMonitor.WebApi if (!string.IsNullOrEmpty(trigger)) { var triggerHeartRate = JsonConvert.DeserializeObject(trigger); - using (_logger.BeginScope(new Dictionary { ["RequestId"] = triggerHeartRate?.MessageId! })) + using (_logger.BeginScope(new Dictionary { ["RequestId"] = $"FREQ-HR-{triggerHeartRate?.MessageId!}" })) { var watchConfig = await _deviceCacheMgr.GetGpsDeviceWatchConfigCacheObjectBySerialNoAsync(imeiDel, "0067"); _logger.LogInformation($"{imeiDel}高频结束后,延迟计算高频数据产生的胎心数据"); @@ -376,7 +376,10 @@ namespace HealthMonitor.WebApi } else { - _logger.LogWarning($"{imeiDel} 超过12条连续正常,高频不停止,暂不处理"); + _logger.LogWarning($"{imeiDel} 超过12条连续正常,高频不停止,暂不处理" + + $"\n 高频首条心率ID:{phrFreqstatus.MessageId}-时间:{phrFreqstatus.LastUpdate.ToString("yyyy-MM-dd HH:mm:ss")}" + + $"\n 触发计算高频心率ID:{triggerHeartRate?.MessageId}-时间:{triggerHeartRate?.LastUpdate?.ToString("yyyy-MM-dd HH:mm:ss")}"); + await _deviceCacheMgr.DelPregnancyHeartRateFreqStatusAsync(imeiDel); } } else