alter table meter_04kv
    drop column dilute;

alter table end_user_detail
    drop column dilute,
    drop column maintenance_fee_diluted,
    drop column public_consumption_diluted;

alter table maintenance_fee
    add column period varchar(10);

alter table report_summary
    drop column customer_consumption,
    drop column customer_consumption_fee,
    drop column customer_consumption_critical,
    drop column customer_consumption_critical_fee,
    drop column customer_consumption_peak,
    drop column customer_consumption_peak_fee,
    drop column customer_consumption_flat,
    drop column customer_consumption_flat_fee,
    drop column customer_consumption_valley,
    drop column customer_consumption_valley_fee,
    drop column public_consumption,
    drop column public_consumption_fee,
    drop column public_consumption_critical,
    drop column public_consumption_critical_fee,
    drop column public_consumption_peak,
    drop column public_consumption_peak_fee,
    drop column public_consumption_flat,
    drop column public_consumption_flat_fee,
    drop column public_consumption_valley,
    drop column public_consumption_valley_fee,
    drop column public_consumption_proportion,
    drop column diluteds,
    add column authorize_loss numeric(14,2),
    add column authorize_loss_fee numeric(16,2),
    add column authorize_loss_proportion numeric(16,15);