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自动换电" ;