|
|
|
@ -1,7 +1,4 @@
|
|
|
|
|
ALTER TABLE swap_order
|
|
|
|
|
ADD COLUMN electricity_total_fee INT COMMENT '电费',
|
|
|
|
|
ADD COLUMN append_total_fee INT COMMENT '附加费',
|
|
|
|
|
ADD COLUMN total_fee INT COMMENT '总费用(所有的总费用)';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALTER TABLE swap_order_step
|
|
|
|
@ -10,11 +7,26 @@ 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 nominal_energy DECIMAL(24, 2) COMMENT '电池标称能量';
|
|
|
|
|
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 '电池标称能量';
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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 '换电服务费';
|
|
|
|
|