Browse Source

Token显示超声机名称

Jeremy 2 years ago
parent
commit
6a02c7b583
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Service/ConnectService.cs

+ 1 - 1
Service/ConnectService.cs

@@ -138,7 +138,7 @@ namespace WingDeviceService.Service
                     await _deviceInfoDBServiceProxy.UpdateDeviceInfoByCodeAsync(deviceDto.DeviceCode, deviceDto, string.Empty, true);
                 }
                 var deviceName = deviceDto.Name;
-                if (!string.IsNullOrWhiteSpace(deviceName))
+                if (string.IsNullOrWhiteSpace(deviceName))
                 {
                     deviceName = deviceDto.ShortCode;
                 }