


ALTER TABLE swap_order_step
    ADD COLUMN step_type INT COMMENT '步骤类型（1：自动 2：手动）',
ADD COLUMN step_desc varchar(255) COMMENT '描述',
ADD COLUMN param text COMMENT '参数';


INSERT INTO `sys_config` VALUES (1300000000180, 'Station.ServiceTotalFee', 'ServiceTotalFee', '10000', 2, 'Station', 100, NULL, NULL, NULL, NULL, NULL, NULL, NULL, b'0');
INSERT INTO `sys_config` VALUES (1300000000181, 'Station.ElectricityTotalFee', 'ElectricityTotalFee', '100000', 2, 'Station', 100, NULL, NULL, NULL, NULL, NULL, NULL, NULL, b'0');
INSERT INTO `sys_config` VALUES (1300000000182, 'Station.AppendTotalFee', 'AppendTotalFee', '10000', 2, 'Station', 100, NULL, NULL, NULL, NULL, NULL, NULL, NULL, b'0');


ALTER TABLE swap_order_battery
    DROP COLUMN nominal_energy;

ALTER TABLE swap_order_battery
    ADD COLUMN down_nominal_energy DECIMAL(24,2) COMMENT '放电池标称能量',
    ADD COLUMN up_nominal_energy DECIMAL(24,2) COMMENT '取电池标称能量';

ALTER TABLE bin_info
    ADD COLUMN nominal_energy DECIMAL(24,2) COMMENT '电池标称能量';

ALTER TABLE swap_order
    ADD COLUMN service_total_fee INT COMMENT '换电服务费';

ALTER TABLE swap_order
    MODIFY COLUMN electricity_total_fee DECIMAL(24,2) COMMENT '电费',
    MODIFY COLUMN append_total_fee DECIMAL(24,2) COMMENT '附加费',
    MODIFY COLUMN total_fee DECIMAL(24,2) COMMENT '总费用(所有的总费用)',
    MODIFY COLUMN service_total_fee DECIMAL(24,2) COMMENT '换电服务费';
