You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.5 KiB

2 months ago
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 '取电池标称能量';
2 months ago
ALTER TABLE bin_info
ADD COLUMN nominal_energy DECIMAL(24,2) COMMENT '电池标称能量';
2 months ago
ALTER TABLE swap_order
2 months ago
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 '换电服务费';