##备份 ########## wx_rent_contract,wx_property_contract,wx_shop_users

alter table wx_rent_contract drop column merchant_id;
alter table wx_rent_contract drop column merchant_name;
alter table wx_rent_contract drop column brand;
alter table wx_rent_contract drop column business_id;
alter table wx_rent_contract drop column shop_type;
alter table wx_rent_contract drop column shop_type_str;
alter table wx_rent_contract drop column property_name;
alter table wx_rent_contract drop column property_fee;
alter table wx_rent_contract drop column fee_cycle;
alter table wx_rent_contract drop column water_fee;
alter table wx_rent_contract drop column electricity_fees;
alter table wx_rent_contract drop column first_party_bank_info;
alter table wx_rent_contract drop column second_party_bank_info;
alter table wx_rent_contract drop column second_party_tax_info;
alter table wx_rent_contract drop column shop_type_sub;
alter table wx_rent_contract drop column lease_purpose;
alter table wx_rent_contract drop column contractual_rules;
alter table wx_rent_contract drop column delivery_date;
alter table wx_rent_contract drop column delivery_grace_period;
alter table wx_rent_contract drop column opening_date;
alter table wx_rent_contract drop column business_hours;
alter table wx_rent_contract drop column scope_metre;
alter table wx_rent_contract drop column pay_date;
alter table wx_rent_contract drop column shop_name;

alter table wx_rent_contract_agile_deposit drop column merchant_id;
alter table wx_rent_contract_agile_un_deposit drop column merchant_id;
alter table wx_rent_contract_agile_un_deposit_item drop column merchant_id;

#此处要把万星的虚拟商户给删掉 soho的
alter table wx_rent_contract drop column is_private_merchant;
alter table wx_rent_contract drop column private_rent_shop_type;

alter table wx_property_contract drop column merchant_id;
alter table wx_property_contract drop column merchant_name;
alter table wx_property_contract drop column is_private_merchant;
alter table wx_property_contract drop column private_rent_shop_type;
alter table wx_property_contract drop column brand;
alter table wx_property_contract drop column business_id;
alter table wx_property_contract drop column shop_type;
alter table wx_property_contract drop column shop_ids;
alter table wx_property_contract drop column shop_numbers;
alter table wx_property_contract drop column pay_date;


#此处要把万星的合同，根据商户的刷成customers_id (商业和soho的)
alter table wx_rent_contract add column customers_id bigint(20) not null comment '客户ID';
alter table wx_property_contract add column customers_id bigint(20) not null comment '客户ID';
alter table wx_rent_contract add column shop_id_str varchar(300) not null comment '客户ID';
alter table wx_property_contract add column shop_id_str varchar(300) not null comment '客户ID';

alter table wx_rent_contract_revenue_sales drop column bill_id;
alter table wx_rent_contract_revenue_sales drop column bill_money;
去掉唯一索引，增加  contract_id, starttime,endtime 联合唯一索引

alter table wx_rent_contract_agile_un_deposit_item drop column merchant_id;
alter table wx_rent_contract_agile_un_deposit_item drop column shop_number;

alter table wx_shop_users change shop_id create_shop_id bigint(20) not null; 
alter table wx_shop_users drop column status;
alter table wx_shop_users drop column begin_date;
alter table wx_shop_users drop column end_date;
alter table wx_shop_users drop column type;

alter table wx_shop_users rename wx_shop_users_info;

CREATE TABLE `wx_shop_users` (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户ID',
  `parent_tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID',
  `shop_id` bigint(20) NOT NULL COMMENT '店铺编号',
  `begin_date` datetime DEFAULT NULL COMMENT '入住日期',
  `end_date` datetime DEFAULT NULL COMMENT '离开日期',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  `status` int(1) NOT NULL DEFAULT '0' COMMENT '状态',
  `info_id` bigint(20) NOT NULL,
  `type` int(1) NOT NULL DEFAULT '2' COMMENT '类型',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `UNIQUE_S_U` (`tenant_id`,`shop_id`,`shop_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='商铺';


CREATE TABLE `wx_contract_customers` (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户ID',
  `parent_tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID',
  `principal_type` int(20) NOT NULL COMMENT '主体类型',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
  `phone` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '电话',
  `legal_person` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '法人',
  `id_number` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '身份证号',
  `sex` int(1) DEFAULT NULL COMMENT '性别',
  `link_person` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '联系人',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  `status` int(1) NOT NULL DEFAULT '0' COMMENT '状态',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='合同意向客户';

CREATE TABLE `wx_contract_shop` (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户ID',
  `parent_tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID',
  `contract_id` bigint(20) NOT NULL COMMENT '合同编号',
  `shop_id` bigint(20) NOT NULL COMMENT '店铺编号',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQUE_R_S` (`tenant_id`,`contract_id`,`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='合同铺位关联';



alter table wx_all_bill_0       drop column merchant_id;
alter table wx_all_bill_1       drop column merchant_id;
alter table wx_all_bill_2       drop column merchant_id;
alter table wx_all_bill_3       drop column merchant_id;
alter table wx_all_bill_4       drop column merchant_id;
alter table wx_all_bill_5       drop column merchant_id;
alter table wx_all_bill_6       drop column merchant_id;
alter table wx_all_bill_7       drop column merchant_id;
alter table wx_all_bill_8       drop column merchant_id;
alter table wx_all_bill_9       drop column merchant_id;
alter table wx_all_bill_10      drop column merchant_id;
alter table wx_all_bill_11      drop column merchant_id;
alter table wx_all_bill_12      drop column merchant_id;
alter table wx_all_bill_13      drop column merchant_id;
alter table wx_all_bill_14      drop column merchant_id;
alter table wx_all_bill_15      drop column merchant_id;
alter table wx_all_bill_16      drop column merchant_id;
alter table wx_all_bill_17      drop column merchant_id;
alter table wx_all_bill_18      drop column merchant_id;
alter table wx_all_bill_19      drop column merchant_id;
alter table wx_all_bill_20      drop column merchant_id;
alter table wx_all_bill_21      drop column merchant_id;
alter table wx_all_bill_22      drop column merchant_id;
alter table wx_all_bill_23      drop column merchant_id;
alter table wx_all_bill_24      drop column merchant_id;
alter table wx_all_bill_25      drop column merchant_id;
alter table wx_all_bill_26      drop column merchant_id;
alter table wx_all_bill_27      drop column merchant_id;
alter table wx_all_bill_28      drop column merchant_id;
alter table wx_all_bill_29      drop column merchant_id;
alter table wx_all_bill_30      drop column merchant_id;
alter table wx_all_bill_31      drop column merchant_id;
alter table wx_all_bill_32      drop column merchant_id;
alter table wx_all_bill_33      drop column merchant_id;
alter table wx_all_bill_34      drop column merchant_id;
alter table wx_all_bill_35      drop column merchant_id;
alter table wx_all_bill_36      drop column merchant_id;
alter table wx_all_bill_37      drop column merchant_id;
alter table wx_all_bill_38      drop column merchant_id;
alter table wx_all_bill_39      drop column merchant_id;
alter table wx_all_bill_40      drop column merchant_id;
alter table wx_all_bill_41      drop column merchant_id;
alter table wx_all_bill_42      drop column merchant_id;
alter table wx_all_bill_43      drop column merchant_id;
alter table wx_all_bill_44      drop column merchant_id;
alter table wx_all_bill_45      drop column merchant_id;
alter table wx_all_bill_46      drop column merchant_id;
alter table wx_all_bill_47      drop column merchant_id;
alter table wx_all_bill_48      drop column merchant_id;
alter table wx_all_bill_49      drop column merchant_id;
alter table wx_all_bill_50      drop column merchant_id;
alter table wx_all_bill_51      drop column merchant_id;
alter table wx_all_bill_52      drop column merchant_id;
alter table wx_all_bill_53      drop column merchant_id;
alter table wx_all_bill_54      drop column merchant_id;
alter table wx_all_bill_55      drop column merchant_id;
alter table wx_all_bill_56      drop column merchant_id;
alter table wx_all_bill_57      drop column merchant_id;
alter table wx_all_bill_58      drop column merchant_id;
alter table wx_all_bill_59      drop column merchant_id;
alter table wx_all_bill_60      drop column merchant_id;
alter table wx_all_bill_61      drop column merchant_id;
alter table wx_all_bill_62      drop column merchant_id;
alter table wx_all_bill_63      drop column merchant_id;
alter table wx_all_bill_64      drop column merchant_id;
alter table wx_all_bill_65      drop column merchant_id;
alter table wx_all_bill_66      drop column merchant_id;
alter table wx_all_bill_67      drop column merchant_id;
alter table wx_all_bill_68      drop column merchant_id;
alter table wx_all_bill_69      drop column merchant_id;
alter table wx_all_bill_70      drop column merchant_id;
alter table wx_all_bill_71      drop column merchant_id;
alter table wx_all_bill_72      drop column merchant_id;
alter table wx_all_bill_73      drop column merchant_id;
alter table wx_all_bill_74      drop column merchant_id;
alter table wx_all_bill_75      drop column merchant_id;
alter table wx_all_bill_76      drop column merchant_id;
alter table wx_all_bill_77      drop column merchant_id;
alter table wx_all_bill_78      drop column merchant_id;
alter table wx_all_bill_79      drop column merchant_id;
alter table wx_all_bill_80      drop column merchant_id;
alter table wx_all_bill_81      drop column merchant_id;
alter table wx_all_bill_82      drop column merchant_id;
alter table wx_all_bill_83      drop column merchant_id;
alter table wx_all_bill_84      drop column merchant_id;
alter table wx_all_bill_85      drop column merchant_id;
alter table wx_all_bill_86      drop column merchant_id;
alter table wx_all_bill_87      drop column merchant_id;
alter table wx_all_bill_88      drop column merchant_id;
alter table wx_all_bill_89      drop column merchant_id;
alter table wx_all_bill_90      drop column merchant_id;
alter table wx_all_bill_91      drop column merchant_id;
alter table wx_all_bill_92      drop column merchant_id;
alter table wx_all_bill_93      drop column merchant_id;
alter table wx_all_bill_94      drop column merchant_id;
alter table wx_all_bill_95      drop column merchant_id;
alter table wx_all_bill_96      drop column merchant_id;
alter table wx_all_bill_97      drop column merchant_id;
alter table wx_all_bill_98      drop column merchant_id;
alter table wx_all_bill_99      drop column merchant_id;

alter table wx_all_bill_0       drop column shop_number;
alter table wx_all_bill_1       drop column shop_number;
alter table wx_all_bill_2       drop column shop_number;
alter table wx_all_bill_3       drop column shop_number;
alter table wx_all_bill_4       drop column shop_number;
alter table wx_all_bill_5       drop column shop_number;
alter table wx_all_bill_6       drop column shop_number;
alter table wx_all_bill_7       drop column shop_number;
alter table wx_all_bill_8       drop column shop_number;
alter table wx_all_bill_9       drop column shop_number;
alter table wx_all_bill_10      drop column shop_number;
alter table wx_all_bill_11      drop column shop_number;
alter table wx_all_bill_12      drop column shop_number;
alter table wx_all_bill_13      drop column shop_number;
alter table wx_all_bill_14      drop column shop_number;
alter table wx_all_bill_15      drop column shop_number;
alter table wx_all_bill_16      drop column shop_number;
alter table wx_all_bill_17      drop column shop_number;
alter table wx_all_bill_18      drop column shop_number;
alter table wx_all_bill_19      drop column shop_number;
alter table wx_all_bill_20      drop column shop_number;
alter table wx_all_bill_21      drop column shop_number;
alter table wx_all_bill_22      drop column shop_number;
alter table wx_all_bill_23      drop column shop_number;
alter table wx_all_bill_24      drop column shop_number;
alter table wx_all_bill_25      drop column shop_number;
alter table wx_all_bill_26      drop column shop_number;
alter table wx_all_bill_27      drop column shop_number;
alter table wx_all_bill_28      drop column shop_number;
alter table wx_all_bill_29      drop column shop_number;
alter table wx_all_bill_30      drop column shop_number;
alter table wx_all_bill_31      drop column shop_number;
alter table wx_all_bill_32      drop column shop_number;
alter table wx_all_bill_33      drop column shop_number;
alter table wx_all_bill_34      drop column shop_number;
alter table wx_all_bill_35      drop column shop_number;
alter table wx_all_bill_36      drop column shop_number;
alter table wx_all_bill_37      drop column shop_number;
alter table wx_all_bill_38      drop column shop_number;
alter table wx_all_bill_39      drop column shop_number;
alter table wx_all_bill_40      drop column shop_number;
alter table wx_all_bill_41      drop column shop_number;
alter table wx_all_bill_42      drop column shop_number;
alter table wx_all_bill_43      drop column shop_number;
alter table wx_all_bill_44      drop column shop_number;
alter table wx_all_bill_45      drop column shop_number;
alter table wx_all_bill_46      drop column shop_number;
alter table wx_all_bill_47      drop column shop_number;
alter table wx_all_bill_48      drop column shop_number;
alter table wx_all_bill_49      drop column shop_number;
alter table wx_all_bill_50      drop column shop_number;
alter table wx_all_bill_51      drop column shop_number;
alter table wx_all_bill_52      drop column shop_number;
alter table wx_all_bill_53      drop column shop_number;
alter table wx_all_bill_54      drop column shop_number;
alter table wx_all_bill_55      drop column shop_number;
alter table wx_all_bill_56      drop column shop_number;
alter table wx_all_bill_57      drop column shop_number;
alter table wx_all_bill_58      drop column shop_number;
alter table wx_all_bill_59      drop column shop_number;
alter table wx_all_bill_60      drop column shop_number;
alter table wx_all_bill_61      drop column shop_number;
alter table wx_all_bill_62      drop column shop_number;
alter table wx_all_bill_63      drop column shop_number;
alter table wx_all_bill_64      drop column shop_number;
alter table wx_all_bill_65      drop column shop_number;
alter table wx_all_bill_66      drop column shop_number;
alter table wx_all_bill_67      drop column shop_number;
alter table wx_all_bill_68      drop column shop_number;
alter table wx_all_bill_69      drop column shop_number;
alter table wx_all_bill_70      drop column shop_number;
alter table wx_all_bill_71      drop column shop_number;
alter table wx_all_bill_72      drop column shop_number;
alter table wx_all_bill_73      drop column shop_number;
alter table wx_all_bill_74      drop column shop_number;
alter table wx_all_bill_75      drop column shop_number;
alter table wx_all_bill_76      drop column shop_number;
alter table wx_all_bill_77      drop column shop_number;
alter table wx_all_bill_78      drop column shop_number;
alter table wx_all_bill_79      drop column shop_number;
alter table wx_all_bill_80      drop column shop_number;
alter table wx_all_bill_81      drop column shop_number;
alter table wx_all_bill_82      drop column shop_number;
alter table wx_all_bill_83      drop column shop_number;
alter table wx_all_bill_84      drop column shop_number;
alter table wx_all_bill_85      drop column shop_number;
alter table wx_all_bill_86      drop column shop_number;
alter table wx_all_bill_87      drop column shop_number;
alter table wx_all_bill_88      drop column shop_number;
alter table wx_all_bill_89      drop column shop_number;
alter table wx_all_bill_90      drop column shop_number;
alter table wx_all_bill_91      drop column shop_number;
alter table wx_all_bill_92      drop column shop_number;
alter table wx_all_bill_93      drop column shop_number;
alter table wx_all_bill_94      drop column shop_number;
alter table wx_all_bill_95      drop column shop_number;
alter table wx_all_bill_96      drop column shop_number;
alter table wx_all_bill_97      drop column shop_number;
alter table wx_all_bill_98      drop column shop_number;
alter table wx_all_bill_99      drop column shop_number;


alter table wx_all_bill_0       modify column shop_id bigint(20) not null;
alter table wx_all_bill_1       modify column shop_id bigint(20) not null;
alter table wx_all_bill_2       modify column shop_id bigint(20) not null;
alter table wx_all_bill_3       modify column shop_id bigint(20) not null;
alter table wx_all_bill_4       modify column shop_id bigint(20) not null;
alter table wx_all_bill_5       modify column shop_id bigint(20) not null;
alter table wx_all_bill_6       modify column shop_id bigint(20) not null;
alter table wx_all_bill_7       modify column shop_id bigint(20) not null;
alter table wx_all_bill_8       modify column shop_id bigint(20) not null;
alter table wx_all_bill_9       modify column shop_id bigint(20) not null;
alter table wx_all_bill_10      modify column shop_id bigint(20) not null;
alter table wx_all_bill_11      modify column shop_id bigint(20) not null;
alter table wx_all_bill_12      modify column shop_id bigint(20) not null;
alter table wx_all_bill_13      modify column shop_id bigint(20) not null;
alter table wx_all_bill_14      modify column shop_id bigint(20) not null;
alter table wx_all_bill_15      modify column shop_id bigint(20) not null;
alter table wx_all_bill_16      modify column shop_id bigint(20) not null;
alter table wx_all_bill_17      modify column shop_id bigint(20) not null;
alter table wx_all_bill_18      modify column shop_id bigint(20) not null;
alter table wx_all_bill_19      modify column shop_id bigint(20) not null;
alter table wx_all_bill_20      modify column shop_id bigint(20) not null;
alter table wx_all_bill_21      modify column shop_id bigint(20) not null;
alter table wx_all_bill_22      modify column shop_id bigint(20) not null;
alter table wx_all_bill_23      modify column shop_id bigint(20) not null;
alter table wx_all_bill_24      modify column shop_id bigint(20) not null;
alter table wx_all_bill_25      modify column shop_id bigint(20) not null;
alter table wx_all_bill_26      modify column shop_id bigint(20) not null;
alter table wx_all_bill_27      modify column shop_id bigint(20) not null;
alter table wx_all_bill_28      modify column shop_id bigint(20) not null;
alter table wx_all_bill_29      modify column shop_id bigint(20) not null;
alter table wx_all_bill_30      modify column shop_id bigint(20) not null;
alter table wx_all_bill_31      modify column shop_id bigint(20) not null;
alter table wx_all_bill_32      modify column shop_id bigint(20) not null;
alter table wx_all_bill_33      modify column shop_id bigint(20) not null;
alter table wx_all_bill_34      modify column shop_id bigint(20) not null;
alter table wx_all_bill_35      modify column shop_id bigint(20) not null;
alter table wx_all_bill_36      modify column shop_id bigint(20) not null;
alter table wx_all_bill_37      modify column shop_id bigint(20) not null;
alter table wx_all_bill_38      modify column shop_id bigint(20) not null;
alter table wx_all_bill_39      modify column shop_id bigint(20) not null;
alter table wx_all_bill_40      modify column shop_id bigint(20) not null;
alter table wx_all_bill_41      modify column shop_id bigint(20) not null;
alter table wx_all_bill_42      modify column shop_id bigint(20) not null;
alter table wx_all_bill_43      modify column shop_id bigint(20) not null;
alter table wx_all_bill_44      modify column shop_id bigint(20) not null;
alter table wx_all_bill_45      modify column shop_id bigint(20) not null;
alter table wx_all_bill_46      modify column shop_id bigint(20) not null;
alter table wx_all_bill_47      modify column shop_id bigint(20) not null;
alter table wx_all_bill_48      modify column shop_id bigint(20) not null;
alter table wx_all_bill_49      modify column shop_id bigint(20) not null;
alter table wx_all_bill_50      modify column shop_id bigint(20) not null;
alter table wx_all_bill_51      modify column shop_id bigint(20) not null;
alter table wx_all_bill_52      modify column shop_id bigint(20) not null;
alter table wx_all_bill_53      modify column shop_id bigint(20) not null;
alter table wx_all_bill_54      modify column shop_id bigint(20) not null;
alter table wx_all_bill_55      modify column shop_id bigint(20) not null;
alter table wx_all_bill_56      modify column shop_id bigint(20) not null;
alter table wx_all_bill_57      modify column shop_id bigint(20) not null;
alter table wx_all_bill_58      modify column shop_id bigint(20) not null;
alter table wx_all_bill_59      modify column shop_id bigint(20) not null;
alter table wx_all_bill_60      modify column shop_id bigint(20) not null;
alter table wx_all_bill_61      modify column shop_id bigint(20) not null;
alter table wx_all_bill_62      modify column shop_id bigint(20) not null;
alter table wx_all_bill_63      modify column shop_id bigint(20) not null;
alter table wx_all_bill_64      modify column shop_id bigint(20) not null;
alter table wx_all_bill_65      modify column shop_id bigint(20) not null;
alter table wx_all_bill_66      modify column shop_id bigint(20) not null;
alter table wx_all_bill_67      modify column shop_id bigint(20) not null;
alter table wx_all_bill_68      modify column shop_id bigint(20) not null;
alter table wx_all_bill_69      modify column shop_id bigint(20) not null;
alter table wx_all_bill_70      modify column shop_id bigint(20) not null;
alter table wx_all_bill_71      modify column shop_id bigint(20) not null;
alter table wx_all_bill_72      modify column shop_id bigint(20) not null;
alter table wx_all_bill_73      modify column shop_id bigint(20) not null;
alter table wx_all_bill_74      modify column shop_id bigint(20) not null;
alter table wx_all_bill_75      modify column shop_id bigint(20) not null;
alter table wx_all_bill_76      modify column shop_id bigint(20) not null;
alter table wx_all_bill_77      modify column shop_id bigint(20) not null;
alter table wx_all_bill_78      modify column shop_id bigint(20) not null;
alter table wx_all_bill_79      modify column shop_id bigint(20) not null;
alter table wx_all_bill_80      modify column shop_id bigint(20) not null;
alter table wx_all_bill_81      modify column shop_id bigint(20) not null;
alter table wx_all_bill_82      modify column shop_id bigint(20) not null;
alter table wx_all_bill_83      modify column shop_id bigint(20) not null;
alter table wx_all_bill_84      modify column shop_id bigint(20) not null;
alter table wx_all_bill_85      modify column shop_id bigint(20) not null;
alter table wx_all_bill_86      modify column shop_id bigint(20) not null;
alter table wx_all_bill_87      modify column shop_id bigint(20) not null;
alter table wx_all_bill_88      modify column shop_id bigint(20) not null;
alter table wx_all_bill_89      modify column shop_id bigint(20) not null;
alter table wx_all_bill_90      modify column shop_id bigint(20) not null;
alter table wx_all_bill_91      modify column shop_id bigint(20) not null;
alter table wx_all_bill_92      modify column shop_id bigint(20) not null;
alter table wx_all_bill_93      modify column shop_id bigint(20) not null;
alter table wx_all_bill_94      modify column shop_id bigint(20) not null;
alter table wx_all_bill_95      modify column shop_id bigint(20) not null;
alter table wx_all_bill_96      modify column shop_id bigint(20) not null;
alter table wx_all_bill_97      modify column shop_id bigint(20) not null;
alter table wx_all_bill_98      modify column shop_id bigint(20) not null;
alter table wx_all_bill_99      modify column shop_id bigint(20) not null;

alter table wx_finance_receive_0       drop column merchant_id;
alter table wx_finance_receive_1       drop column merchant_id;
alter table wx_finance_receive_2       drop column merchant_id;
alter table wx_finance_receive_3       drop column merchant_id;
alter table wx_finance_receive_4       drop column merchant_id;
alter table wx_finance_receive_5       drop column merchant_id;
alter table wx_finance_receive_6       drop column merchant_id;
alter table wx_finance_receive_7       drop column merchant_id;
alter table wx_finance_receive_8       drop column merchant_id;
alter table wx_finance_receive_9       drop column merchant_id;
alter table wx_finance_receive_10      drop column merchant_id;
alter table wx_finance_receive_11      drop column merchant_id;
alter table wx_finance_receive_12      drop column merchant_id;
alter table wx_finance_receive_13      drop column merchant_id;
alter table wx_finance_receive_14      drop column merchant_id;
alter table wx_finance_receive_15      drop column merchant_id;
alter table wx_finance_receive_16      drop column merchant_id;
alter table wx_finance_receive_17      drop column merchant_id;
alter table wx_finance_receive_18      drop column merchant_id;
alter table wx_finance_receive_19      drop column merchant_id;
alter table wx_finance_receive_20      drop column merchant_id;
alter table wx_finance_receive_21      drop column merchant_id;
alter table wx_finance_receive_22      drop column merchant_id;
alter table wx_finance_receive_23      drop column merchant_id;
alter table wx_finance_receive_24      drop column merchant_id;
alter table wx_finance_receive_25      drop column merchant_id;
alter table wx_finance_receive_26      drop column merchant_id;
alter table wx_finance_receive_27      drop column merchant_id;
alter table wx_finance_receive_28      drop column merchant_id;
alter table wx_finance_receive_29      drop column merchant_id;
alter table wx_finance_receive_30      drop column merchant_id;
alter table wx_finance_receive_31      drop column merchant_id;
alter table wx_finance_receive_32      drop column merchant_id;
alter table wx_finance_receive_33      drop column merchant_id;
alter table wx_finance_receive_34      drop column merchant_id;
alter table wx_finance_receive_35      drop column merchant_id;
alter table wx_finance_receive_36      drop column merchant_id;
alter table wx_finance_receive_37      drop column merchant_id;
alter table wx_finance_receive_38      drop column merchant_id;
alter table wx_finance_receive_39      drop column merchant_id;
alter table wx_finance_receive_40      drop column merchant_id;
alter table wx_finance_receive_41      drop column merchant_id;
alter table wx_finance_receive_42      drop column merchant_id;
alter table wx_finance_receive_43      drop column merchant_id;
alter table wx_finance_receive_44      drop column merchant_id;
alter table wx_finance_receive_45      drop column merchant_id;
alter table wx_finance_receive_46      drop column merchant_id;
alter table wx_finance_receive_47      drop column merchant_id;
alter table wx_finance_receive_48      drop column merchant_id;
alter table wx_finance_receive_49      drop column merchant_id;
alter table wx_finance_receive_50      drop column merchant_id;
alter table wx_finance_receive_51      drop column merchant_id;
alter table wx_finance_receive_52      drop column merchant_id;
alter table wx_finance_receive_53      drop column merchant_id;
alter table wx_finance_receive_54      drop column merchant_id;
alter table wx_finance_receive_55      drop column merchant_id;
alter table wx_finance_receive_56      drop column merchant_id;
alter table wx_finance_receive_57      drop column merchant_id;
alter table wx_finance_receive_58      drop column merchant_id;
alter table wx_finance_receive_59      drop column merchant_id;
alter table wx_finance_receive_60      drop column merchant_id;
alter table wx_finance_receive_61      drop column merchant_id;
alter table wx_finance_receive_62      drop column merchant_id;
alter table wx_finance_receive_63      drop column merchant_id;
alter table wx_finance_receive_64      drop column merchant_id;
alter table wx_finance_receive_65      drop column merchant_id;
alter table wx_finance_receive_66      drop column merchant_id;
alter table wx_finance_receive_67      drop column merchant_id;
alter table wx_finance_receive_68      drop column merchant_id;
alter table wx_finance_receive_69      drop column merchant_id;
alter table wx_finance_receive_70      drop column merchant_id;
alter table wx_finance_receive_71      drop column merchant_id;
alter table wx_finance_receive_72      drop column merchant_id;
alter table wx_finance_receive_73      drop column merchant_id;
alter table wx_finance_receive_74      drop column merchant_id;
alter table wx_finance_receive_75      drop column merchant_id;
alter table wx_finance_receive_76      drop column merchant_id;
alter table wx_finance_receive_77      drop column merchant_id;
alter table wx_finance_receive_78      drop column merchant_id;
alter table wx_finance_receive_79      drop column merchant_id;
alter table wx_finance_receive_80      drop column merchant_id;
alter table wx_finance_receive_81      drop column merchant_id;
alter table wx_finance_receive_82      drop column merchant_id;
alter table wx_finance_receive_83      drop column merchant_id;
alter table wx_finance_receive_84      drop column merchant_id;
alter table wx_finance_receive_85      drop column merchant_id;
alter table wx_finance_receive_86      drop column merchant_id;
alter table wx_finance_receive_87      drop column merchant_id;
alter table wx_finance_receive_88      drop column merchant_id;
alter table wx_finance_receive_89      drop column merchant_id;
alter table wx_finance_receive_90      drop column merchant_id;
alter table wx_finance_receive_91      drop column merchant_id;
alter table wx_finance_receive_92      drop column merchant_id;
alter table wx_finance_receive_93      drop column merchant_id;
alter table wx_finance_receive_94      drop column merchant_id;
alter table wx_finance_receive_95      drop column merchant_id;
alter table wx_finance_receive_96      drop column merchant_id;
alter table wx_finance_receive_97      drop column merchant_id;
alter table wx_finance_receive_98      drop column merchant_id;
alter table wx_finance_receive_99      drop column merchant_id;

alter table wx_finance_receive_bill_0       drop column merchant_id;
alter table wx_finance_receive_bill_1       drop column merchant_id;
alter table wx_finance_receive_bill_2       drop column merchant_id;
alter table wx_finance_receive_bill_3       drop column merchant_id;
alter table wx_finance_receive_bill_4       drop column merchant_id;
alter table wx_finance_receive_bill_5       drop column merchant_id;
alter table wx_finance_receive_bill_6       drop column merchant_id;
alter table wx_finance_receive_bill_7       drop column merchant_id;
alter table wx_finance_receive_bill_8       drop column merchant_id;
alter table wx_finance_receive_bill_9       drop column merchant_id;
alter table wx_finance_receive_bill_10      drop column merchant_id;
alter table wx_finance_receive_bill_11      drop column merchant_id;
alter table wx_finance_receive_bill_12      drop column merchant_id;
alter table wx_finance_receive_bill_13      drop column merchant_id;
alter table wx_finance_receive_bill_14      drop column merchant_id;
alter table wx_finance_receive_bill_15      drop column merchant_id;
alter table wx_finance_receive_bill_16      drop column merchant_id;
alter table wx_finance_receive_bill_17      drop column merchant_id;
alter table wx_finance_receive_bill_18      drop column merchant_id;
alter table wx_finance_receive_bill_19      drop column merchant_id;
alter table wx_finance_receive_bill_20      drop column merchant_id;
alter table wx_finance_receive_bill_21      drop column merchant_id;
alter table wx_finance_receive_bill_22      drop column merchant_id;
alter table wx_finance_receive_bill_23      drop column merchant_id;
alter table wx_finance_receive_bill_24      drop column merchant_id;
alter table wx_finance_receive_bill_25      drop column merchant_id;
alter table wx_finance_receive_bill_26      drop column merchant_id;
alter table wx_finance_receive_bill_27      drop column merchant_id;
alter table wx_finance_receive_bill_28      drop column merchant_id;
alter table wx_finance_receive_bill_29      drop column merchant_id;
alter table wx_finance_receive_bill_30      drop column merchant_id;
alter table wx_finance_receive_bill_31      drop column merchant_id;
alter table wx_finance_receive_bill_32      drop column merchant_id;
alter table wx_finance_receive_bill_33      drop column merchant_id;
alter table wx_finance_receive_bill_34      drop column merchant_id;
alter table wx_finance_receive_bill_35      drop column merchant_id;
alter table wx_finance_receive_bill_36      drop column merchant_id;
alter table wx_finance_receive_bill_37      drop column merchant_id;
alter table wx_finance_receive_bill_38      drop column merchant_id;
alter table wx_finance_receive_bill_39      drop column merchant_id;
alter table wx_finance_receive_bill_40      drop column merchant_id;
alter table wx_finance_receive_bill_41      drop column merchant_id;
alter table wx_finance_receive_bill_42      drop column merchant_id;
alter table wx_finance_receive_bill_43      drop column merchant_id;
alter table wx_finance_receive_bill_44      drop column merchant_id;
alter table wx_finance_receive_bill_45      drop column merchant_id;
alter table wx_finance_receive_bill_46      drop column merchant_id;
alter table wx_finance_receive_bill_47      drop column merchant_id;
alter table wx_finance_receive_bill_48      drop column merchant_id;
alter table wx_finance_receive_bill_49      drop column merchant_id;
alter table wx_finance_receive_bill_50      drop column merchant_id;
alter table wx_finance_receive_bill_51      drop column merchant_id;
alter table wx_finance_receive_bill_52      drop column merchant_id;
alter table wx_finance_receive_bill_53      drop column merchant_id;
alter table wx_finance_receive_bill_54      drop column merchant_id;
alter table wx_finance_receive_bill_55      drop column merchant_id;
alter table wx_finance_receive_bill_56      drop column merchant_id;
alter table wx_finance_receive_bill_57      drop column merchant_id;
alter table wx_finance_receive_bill_58      drop column merchant_id;
alter table wx_finance_receive_bill_59      drop column merchant_id;
alter table wx_finance_receive_bill_60      drop column merchant_id;
alter table wx_finance_receive_bill_61      drop column merchant_id;
alter table wx_finance_receive_bill_62      drop column merchant_id;
alter table wx_finance_receive_bill_63      drop column merchant_id;
alter table wx_finance_receive_bill_64      drop column merchant_id;
alter table wx_finance_receive_bill_65      drop column merchant_id;
alter table wx_finance_receive_bill_66      drop column merchant_id;
alter table wx_finance_receive_bill_67      drop column merchant_id;
alter table wx_finance_receive_bill_68      drop column merchant_id;
alter table wx_finance_receive_bill_69      drop column merchant_id;
alter table wx_finance_receive_bill_70      drop column merchant_id;
alter table wx_finance_receive_bill_71      drop column merchant_id;
alter table wx_finance_receive_bill_72      drop column merchant_id;
alter table wx_finance_receive_bill_73      drop column merchant_id;
alter table wx_finance_receive_bill_74      drop column merchant_id;
alter table wx_finance_receive_bill_75      drop column merchant_id;
alter table wx_finance_receive_bill_76      drop column merchant_id;
alter table wx_finance_receive_bill_77      drop column merchant_id;
alter table wx_finance_receive_bill_78      drop column merchant_id;
alter table wx_finance_receive_bill_79      drop column merchant_id;
alter table wx_finance_receive_bill_80      drop column merchant_id;
alter table wx_finance_receive_bill_81      drop column merchant_id;
alter table wx_finance_receive_bill_82      drop column merchant_id;
alter table wx_finance_receive_bill_83      drop column merchant_id;
alter table wx_finance_receive_bill_84      drop column merchant_id;
alter table wx_finance_receive_bill_85      drop column merchant_id;
alter table wx_finance_receive_bill_86      drop column merchant_id;
alter table wx_finance_receive_bill_87      drop column merchant_id;
alter table wx_finance_receive_bill_88      drop column merchant_id;
alter table wx_finance_receive_bill_89      drop column merchant_id;
alter table wx_finance_receive_bill_90      drop column merchant_id;
alter table wx_finance_receive_bill_91      drop column merchant_id;
alter table wx_finance_receive_bill_92      drop column merchant_id;
alter table wx_finance_receive_bill_93      drop column merchant_id;
alter table wx_finance_receive_bill_94      drop column merchant_id;
alter table wx_finance_receive_bill_95      drop column merchant_id;
alter table wx_finance_receive_bill_96      drop column merchant_id;
alter table wx_finance_receive_bill_97      drop column merchant_id;
alter table wx_finance_receive_bill_98      drop column merchant_id;
alter table wx_finance_receive_bill_99      drop column merchant_id;

alter table wx_finance_receive_bill_0       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_1       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_2       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_3       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_4       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_5       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_6       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_7       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_8       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_9       add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_10      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_11      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_12      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_13      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_14      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_15      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_16      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_17      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_18      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_19      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_20      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_21      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_22      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_23      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_24      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_25      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_26      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_27      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_28      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_29      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_30      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_31      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_32      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_33      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_34      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_35      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_36      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_37      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_38      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_39      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_40      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_41      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_42      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_43      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_44      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_45      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_46      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_47      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_48      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_49      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_50      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_51      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_52      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_53      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_54      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_55      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_56      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_57      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_58      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_59      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_60      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_61      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_62      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_63      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_64      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_65      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_66      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_67      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_68      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_69      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_70      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_71      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_72      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_73      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_74      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_75      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_76      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_77      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_78      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_79      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_80      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_81      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_82      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_83      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_84      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_85      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_86      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_87      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_88      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_89      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_90      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_91      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_92      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_93      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_94      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_95      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_96      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_97      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_98      add column shop_id bigint(20) not null ;
alter table wx_finance_receive_bill_99      add column shop_id bigint(20) not null ;


alter table wx_finance_receive_0       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_1       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_2       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_3       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_4       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_5       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_6       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_7       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_8       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_9       add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_10      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_11      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_12      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_13      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_14      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_15      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_16      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_17      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_18      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_19      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_20      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_21      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_22      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_23      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_24      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_25      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_26      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_27      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_28      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_29      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_30      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_31      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_32      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_33      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_34      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_35      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_36      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_37      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_38      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_39      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_40      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_41      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_42      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_43      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_44      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_45      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_46      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_47      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_48      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_49      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_50      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_51      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_52      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_53      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_54      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_55      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_56      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_57      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_58      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_59      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_60      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_61      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_62      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_63      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_64      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_65      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_66      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_67      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_68      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_69      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_70      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_71      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_72      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_73      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_74      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_75      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_76      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_77      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_78      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_79      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_80      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_81      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_82      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_83      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_84      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_85      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_86      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_87      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_88      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_89      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_90      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_91      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_92      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_93      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_94      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_95      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_96      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_97      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_98      add column bill_cus_name varchar(300) comment '客户名称' ;
alter table wx_finance_receive_99      add column bill_cus_name varchar(300) comment '客户名称' ;

alter table wx_finance_receive_0       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_1       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_2       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_3       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_4       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_5       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_6       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_7       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_8       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_9       add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_10      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_11      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_12      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_13      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_14      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_15      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_16      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_17      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_18      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_19      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_20      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_21      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_22      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_23      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_24      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_25      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_26      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_27      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_28      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_29      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_30      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_31      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_32      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_33      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_34      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_35      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_36      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_37      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_38      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_39      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_40      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_41      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_42      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_43      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_44      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_45      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_46      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_47      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_48      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_49      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_50      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_51      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_52      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_53      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_54      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_55      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_56      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_57      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_58      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_59      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_60      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_61      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_62      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_63      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_64      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_65      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_66      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_67      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_68      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_69      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_70      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_71      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_72      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_73      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_74      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_75      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_76      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_77      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_78      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_79      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_80      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_81      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_82      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_83      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_84      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_85      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_86      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_87      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_88      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_89      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_90      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_91      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_92      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_93      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_94      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_95      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_96      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_97      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_98      add column bill_shop_number varchar(300) comment '店铺编号' ;
alter table wx_finance_receive_99      add column bill_shop_number varchar(300) comment '店铺编号' ;

alter table wx_finance_receive_bill_0       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_1       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_2       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_3       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_4       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_5       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_6       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_7       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_8       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_9       add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_10      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_11      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_12      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_13      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_14      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_15      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_16      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_17      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_18      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_19      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_20      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_21      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_22      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_23      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_24      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_25      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_26      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_27      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_28      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_29      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_30      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_31      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_32      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_33      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_34      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_35      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_36      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_37      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_38      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_39      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_40      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_41      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_42      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_43      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_44      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_45      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_46      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_47      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_48      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_49      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_50      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_51      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_52      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_53      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_54      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_55      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_56      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_57      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_58      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_59      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_60      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_61      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_62      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_63      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_64      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_65      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_66      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_67      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_68      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_69      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_70      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_71      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_72      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_73      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_74      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_75      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_76      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_77      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_78      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_79      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_80      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_81      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_82      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_83      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_84      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_85      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_86      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_87      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_88      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_89      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_90      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_91      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_92      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_93      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_94      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_95      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_96      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_97      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_98      add column bill_cus_name varchar(30) comment '账单客户名称' ;
alter table wx_finance_receive_bill_99      add column bill_cus_name varchar(30) comment '账单客户名称' ;


alter table wx_finance_receive_setoff_0       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_1       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_2       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_3       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_4       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_5       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_6       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_7       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_8       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_9       add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_10      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_11      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_12      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_13      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_14      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_15      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_16      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_17      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_18      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_19      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_20      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_21      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_22      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_23      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_24      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_25      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_26      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_27      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_28      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_29      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_30      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_31      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_32      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_33      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_34      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_35      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_36      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_37      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_38      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_39      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_40      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_41      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_42      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_43      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_44      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_45      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_46      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_47      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_48      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_49      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_50      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_51      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_52      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_53      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_54      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_55      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_56      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_57      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_58      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_59      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_60      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_61      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_62      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_63      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_64      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_65      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_66      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_67      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_68      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_69      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_70      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_71      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_72      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_73      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_74      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_75      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_76      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_77      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_78      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_79      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_80      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_81      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_82      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_83      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_84      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_85      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_86      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_87      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_88      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_89      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_90      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_91      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_92      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_93      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_94      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_95      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_96      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_97      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_98      add column shop_id bigint(20) not null comment '铺位号' ;
alter table wx_finance_receive_setoff_99      add column shop_id bigint(20) not null comment '铺位号' ;

alter table wx_finance_receive_setoff_0       drop column merchant_id ;
alter table wx_finance_receive_setoff_1       drop column merchant_id ;
alter table wx_finance_receive_setoff_2       drop column merchant_id ;
alter table wx_finance_receive_setoff_3       drop column merchant_id ;
alter table wx_finance_receive_setoff_4       drop column merchant_id ;
alter table wx_finance_receive_setoff_5       drop column merchant_id ;
alter table wx_finance_receive_setoff_6       drop column merchant_id ;
alter table wx_finance_receive_setoff_7       drop column merchant_id ;
alter table wx_finance_receive_setoff_8       drop column merchant_id ;
alter table wx_finance_receive_setoff_9       drop column merchant_id ;
alter table wx_finance_receive_setoff_10      drop column merchant_id ;
alter table wx_finance_receive_setoff_11      drop column merchant_id ;
alter table wx_finance_receive_setoff_12      drop column merchant_id ;
alter table wx_finance_receive_setoff_13      drop column merchant_id ;
alter table wx_finance_receive_setoff_14      drop column merchant_id ;
alter table wx_finance_receive_setoff_15      drop column merchant_id ;
alter table wx_finance_receive_setoff_16      drop column merchant_id ;
alter table wx_finance_receive_setoff_17      drop column merchant_id ;
alter table wx_finance_receive_setoff_18      drop column merchant_id ;
alter table wx_finance_receive_setoff_19      drop column merchant_id ;
alter table wx_finance_receive_setoff_20      drop column merchant_id ;
alter table wx_finance_receive_setoff_21      drop column merchant_id ;
alter table wx_finance_receive_setoff_22      drop column merchant_id ;
alter table wx_finance_receive_setoff_23      drop column merchant_id ;
alter table wx_finance_receive_setoff_24      drop column merchant_id ;
alter table wx_finance_receive_setoff_25      drop column merchant_id ;
alter table wx_finance_receive_setoff_26      drop column merchant_id ;
alter table wx_finance_receive_setoff_27      drop column merchant_id ;
alter table wx_finance_receive_setoff_28      drop column merchant_id ;
alter table wx_finance_receive_setoff_29      drop column merchant_id ;
alter table wx_finance_receive_setoff_30      drop column merchant_id ;
alter table wx_finance_receive_setoff_31      drop column merchant_id ;
alter table wx_finance_receive_setoff_32      drop column merchant_id ;
alter table wx_finance_receive_setoff_33      drop column merchant_id ;
alter table wx_finance_receive_setoff_34      drop column merchant_id ;
alter table wx_finance_receive_setoff_35      drop column merchant_id ;
alter table wx_finance_receive_setoff_36      drop column merchant_id ;
alter table wx_finance_receive_setoff_37      drop column merchant_id ;
alter table wx_finance_receive_setoff_38      drop column merchant_id ;
alter table wx_finance_receive_setoff_39      drop column merchant_id ;
alter table wx_finance_receive_setoff_40      drop column merchant_id ;
alter table wx_finance_receive_setoff_41      drop column merchant_id ;
alter table wx_finance_receive_setoff_42      drop column merchant_id ;
alter table wx_finance_receive_setoff_43      drop column merchant_id ;
alter table wx_finance_receive_setoff_44      drop column merchant_id ;
alter table wx_finance_receive_setoff_45      drop column merchant_id ;
alter table wx_finance_receive_setoff_46      drop column merchant_id ;
alter table wx_finance_receive_setoff_47      drop column merchant_id ;
alter table wx_finance_receive_setoff_48      drop column merchant_id ;
alter table wx_finance_receive_setoff_49      drop column merchant_id ;
alter table wx_finance_receive_setoff_50      drop column merchant_id ;
alter table wx_finance_receive_setoff_51      drop column merchant_id ;
alter table wx_finance_receive_setoff_52      drop column merchant_id ;
alter table wx_finance_receive_setoff_53      drop column merchant_id ;
alter table wx_finance_receive_setoff_54      drop column merchant_id ;
alter table wx_finance_receive_setoff_55      drop column merchant_id ;
alter table wx_finance_receive_setoff_56      drop column merchant_id ;
alter table wx_finance_receive_setoff_57      drop column merchant_id ;
alter table wx_finance_receive_setoff_58      drop column merchant_id ;
alter table wx_finance_receive_setoff_59      drop column merchant_id ;
alter table wx_finance_receive_setoff_60      drop column merchant_id ;
alter table wx_finance_receive_setoff_61      drop column merchant_id ;
alter table wx_finance_receive_setoff_62      drop column merchant_id ;
alter table wx_finance_receive_setoff_63      drop column merchant_id ;
alter table wx_finance_receive_setoff_64      drop column merchant_id ;
alter table wx_finance_receive_setoff_65      drop column merchant_id ;
alter table wx_finance_receive_setoff_66      drop column merchant_id ;
alter table wx_finance_receive_setoff_67      drop column merchant_id ;
alter table wx_finance_receive_setoff_68      drop column merchant_id ;
alter table wx_finance_receive_setoff_69      drop column merchant_id ;
alter table wx_finance_receive_setoff_70      drop column merchant_id ;
alter table wx_finance_receive_setoff_71      drop column merchant_id ;
alter table wx_finance_receive_setoff_72      drop column merchant_id ;
alter table wx_finance_receive_setoff_73      drop column merchant_id ;
alter table wx_finance_receive_setoff_74      drop column merchant_id ;
alter table wx_finance_receive_setoff_75      drop column merchant_id ;
alter table wx_finance_receive_setoff_76      drop column merchant_id ;
alter table wx_finance_receive_setoff_77      drop column merchant_id ;
alter table wx_finance_receive_setoff_78      drop column merchant_id ;
alter table wx_finance_receive_setoff_79      drop column merchant_id ;
alter table wx_finance_receive_setoff_80      drop column merchant_id ;
alter table wx_finance_receive_setoff_81      drop column merchant_id ;
alter table wx_finance_receive_setoff_82      drop column merchant_id ;
alter table wx_finance_receive_setoff_83      drop column merchant_id ;
alter table wx_finance_receive_setoff_84      drop column merchant_id ;
alter table wx_finance_receive_setoff_85      drop column merchant_id ;
alter table wx_finance_receive_setoff_86      drop column merchant_id ;
alter table wx_finance_receive_setoff_87      drop column merchant_id ;
alter table wx_finance_receive_setoff_88      drop column merchant_id ;
alter table wx_finance_receive_setoff_89      drop column merchant_id ;
alter table wx_finance_receive_setoff_90      drop column merchant_id ;
alter table wx_finance_receive_setoff_91      drop column merchant_id ;
alter table wx_finance_receive_setoff_92      drop column merchant_id ;
alter table wx_finance_receive_setoff_93      drop column merchant_id ;
alter table wx_finance_receive_setoff_94      drop column merchant_id ;
alter table wx_finance_receive_setoff_95      drop column merchant_id ;
alter table wx_finance_receive_setoff_96      drop column merchant_id ;
alter table wx_finance_receive_setoff_97      drop column merchant_id ;
alter table wx_finance_receive_setoff_98      drop column merchant_id ;
alter table wx_finance_receive_setoff_99      drop column merchant_id ;


