From 2392e7b72d02eba76de0c3bef34b18c8c8ab91d9 Mon Sep 17 00:00:00 2001 From: tq <1916474859@qq,com> Date: Wed, 5 Jun 2024 11:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/DbModel/Station/SwapOrder.cs | 2 +- WebStarter/db/lxw0527.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Entity/DbModel/Station/SwapOrder.cs b/Entity/DbModel/Station/SwapOrder.cs index ed10166..57aea8d 100644 --- a/Entity/DbModel/Station/SwapOrder.cs +++ b/Entity/DbModel/Station/SwapOrder.cs @@ -153,6 +153,6 @@ namespace Entity.DbModel.Station /// Nullable:True /// [SugarColumn(ColumnName = "swap_type")] - public int? SwapType { get; set; } + public int? SwapModel { get; set; } } } \ No newline at end of file diff --git a/WebStarter/db/lxw0527.sql b/WebStarter/db/lxw0527.sql index 4e55d7c..1fcadb6 100644 --- a/WebStarter/db/lxw0527.sql +++ b/WebStarter/db/lxw0527.sql @@ -3,4 +3,4 @@ alter table bin_info add column cache_bin_flag int(1) DEFAULT 0 COMMENT "0: -- 添加充电模式控制 ALTER TABLE equip_info ADD auto_charge INT DEFAULT 0 COMMENT "0-手动;1-自动充电" ; -- 添加换电类型 -ALTER TABLE swap_order ADD swap_type INT DEFAULT 0 COMMENT "换电类型:;0手动换电;1自动换电" ; +ALTER TABLE swap_model ADD swap_type INT DEFAULT 0 COMMENT "换电类型:;0手动换电;1自动换电" ;