From 7ccb9838069f7365ef6d27cc2fcc3540480d307e Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 30 Nov 2023 11:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Resolver/BloodpressResolver.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HealthMonitor.Service/Resolver/BloodpressResolver.cs b/HealthMonitor.Service/Resolver/BloodpressResolver.cs index 7ec87f7..a65cc4f 100644 --- a/HealthMonitor.Service/Resolver/BloodpressResolver.cs +++ b/HealthMonitor.Service/Resolver/BloodpressResolver.cs @@ -135,14 +135,14 @@ namespace HealthMonitor.Service.Resolver //验证这个信息是否存在 if (person == null || person?.Person.BornDate == null) { - _logger.LogWarning($"{bp.Serialno}--{bp.MessageId}验证个人信息,找不到个人信息,跳过此消息"); + _logger.LogWarning($"{bp.Serialno}--{bp.MessageId} 验证个人信息,找不到个人信息,跳过此消息"); return; } // 验证年龄是否在范围 (2 - 120) var age = SafeType.SafeInt(DateTime.Today.Year - person?.Person.BornDate!.Value.Year!); if (age < 2 || age > 120) { - _logger.LogWarning("验证年龄,不在范围 (2 - 120)岁,跳过此消息"); + _logger.LogWarning($"{bp.Serialno}--{bp.MessageId} 验证年龄,不在范围 (2 - 120)岁,跳过此消息"); return; }