diff --git a/HealthMonitor.Service/Biz/IotWebApiService.cs b/HealthMonitor.Service/Biz/IotWebApiService.cs index 9e1c1f6..cbebb3b 100644 --- a/HealthMonitor.Service/Biz/IotWebApiService.cs +++ b/HealthMonitor.Service/Biz/IotWebApiService.cs @@ -204,7 +204,7 @@ namespace HealthMonitor.Service.Biz }; var person = await _gpsPersonApiClient.GetFirstAsync(condition, new RequestHeader() { RequestId = $"{imei}" }).ConfigureAwait(false); // 若remark为空,更新person remark字段 - if (!string.IsNullOrWhiteSpace(person?.Remarks)) + if (string.IsNullOrWhiteSpace(person?.Remarks)) { var newRemarkData = new {