From 47a97a29e5e5093da390837a5299938db81f931e Mon Sep 17 00:00:00 2001 From: tq <1916474859@qq,com> Date: Sun, 29 Sep 2024 09:19:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8D=A2=E7=94=B5=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Dto/SwapOrderDto.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Entity/Dto/SwapOrderDto.cs b/Entity/Dto/SwapOrderDto.cs index a853e5b..f14881d 100644 --- a/Entity/Dto/SwapOrderDto.cs +++ b/Entity/Dto/SwapOrderDto.cs @@ -70,9 +70,9 @@ public class SwapOrderDto { return SwapWay switch { - 1 => "自动换电", - 2 => "手动换电", - 3 => "半自动换电", + 0 => "自动换电", + 1 => "手动换电", + 2 => "半自动换电", _ => "未知" }; } From 4cd310dae72a8e3e20db72e1900be3c93cf1d8aa Mon Sep 17 00:00:00 2001 From: zby <2494737567@qq.com> Date: Sun, 29 Sep 2024 09:24:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8D=A2=E7=94=B5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Dto/SwapOrderDto.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Entity/Dto/SwapOrderDto.cs b/Entity/Dto/SwapOrderDto.cs index f14881d..0abfa8c 100644 --- a/Entity/Dto/SwapOrderDto.cs +++ b/Entity/Dto/SwapOrderDto.cs @@ -70,8 +70,8 @@ public class SwapOrderDto { return SwapWay switch { - 0 => "自动换电", - 1 => "手动换电", + 1 => "自动换电", + 0 => "手动换电", 2 => "半自动换电", _ => "未知" };