From cf93f940fc78ff0058dc8856a1a46669282010b0 Mon Sep 17 00:00:00 2001 From: fyf Date: Tue, 31 May 2022 12:46:20 +0800 Subject: [PATCH] 232 --- DataVAPI/Controllers/OrderController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DataVAPI/Controllers/OrderController.cs b/DataVAPI/Controllers/OrderController.cs index 89fef52..ca33f27 100644 --- a/DataVAPI/Controllers/OrderController.cs +++ b/DataVAPI/Controllers/OrderController.cs @@ -220,7 +220,7 @@ namespace DataVAPI.Controllers #endregion if (i == 0) { devid = p.DeviceID.ToString(); - namesy = dev != null ? dev.devicename : ""; + namesy = dev != null ? dev.devicename : "空"; i++; } aly_data.Add( new @@ -230,7 +230,7 @@ namespace DataVAPI.Controllers DeviceID = p.DeviceID.ToString(), DeviceName = p.DeviceName, DeviceTypeKey = p.DeviceTypeKey, - AlyName = dev != null ? dev.devicename : "", + AlyName = dev != null ? dev.devicename : "空", }); }); } @@ -296,7 +296,7 @@ namespace DataVAPI.Controllers DeviceID= p.DeviceID.ToString(), DeviceName= p.DeviceName, DeviceTypeKey = p.DeviceTypeKey, - AlyName= dev!=null?dev.devicename: "", + AlyName= dev!=null?dev.devicename: "空", }; list.Add(obj); });