CREATE TABLE `wx_energy_meter` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `is_del` int(1) NOT NULL DEFAULT '0',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '表名称',
  `type` int(3) NOT NULL COMMENT '表类型',
  `rate` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '倍率',
  `is_public` int(1) NOT NULL DEFAULT '0' COMMENT '用户表0 , 总表1',
  `building_id` bigint(20) DEFAULT NULL,
  `floor_id` bigint(20) DEFAULT NULL,
  `shop_id` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_energy_meter_reading` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `cur_number` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '本次读数',
  `pre_number` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '上次度数',
  `pre_time` timestamp NULL DEFAULT NULL COMMENT '上次读数时间',
  `start_time` timestamp NULL DEFAULT NULL COMMENT '所属周期开始',
  `end_time` timestamp NULL DEFAULT NULL COMMENT '所属周期结束',
  `create_by` bigint(20) DEFAULT NULL,
  `create_by_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `update_by` bigint(20) DEFAULT NULL,
  `update_by_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remark` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_id` bigint(20) NOT NULL COMMENT '区间ID',
  `meter_id` bigint(20) NOT NULL COMMENT '表ID',
  `meter_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '表名称',
  `is_public` int(3) NOT NULL COMMENT '是否总表',
  `shop_id` bigint(20) DEFAULT NULL COMMENT '店铺ID',
  `shop_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '店铺编号',
  `building_id` bigint(20) NOT NULL COMMENT '楼座ID',
  `floor_id` bigint(20) NOT NULL COMMENT '楼层ID',
  `price` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '单价',
  `meter_type` int(3) NOT NULL COMMENT '表类型',
  `meter_rate` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '表倍率',
  `pre_by` bigint(20) DEFAULT NULL COMMENT '上次抄表人',
  `pre_by_name` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '上次抄表人',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  KEY `T_T_F` (`tenant_id`,`time_id`,`meter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表抄表';


CREATE TABLE `wx_energy_fees_time` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `is_del` int(1) NOT NULL DEFAULT '0',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '表名称',
  `type` int(3) NOT NULL COMMENT '表类型',
  `start_time` timestamp NULL DEFAULT NULL,
  `end_time` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_energy_fees` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `is_del` int(1) NOT NULL DEFAULT '0',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
  `price` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '单价',
  `public_calcute` int(1) NOT NULL COMMENT '公摊计费规则',
  `type` int(1) NOT NULL COMMENT '表类型',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_energy_reading_calcute` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `create_by` bigint(20) DEFAULT NULL,
  `create_by_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `update_by` bigint(20) DEFAULT NULL,
  `update_by_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remark` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_id` bigint(20) NOT NULL COMMENT '区间ID',
  `fees_id` bigint(20) NOT NULL COMMENT '科目ID',
  `is_calcuted` int(1) NOT NULL DEFAULT '0' COMMENT '是否已计算过',
  `is_imported` int(1) NOT NULL DEFAULT '0' COMMENT '是否导入过',
  `import_success` int(1) DEFAULT '0' COMMENT '导入是否成功',
  `calcute_success` int(1) DEFAULT '0' COMMENT '计算是否成功',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `T_T_F` (`tenant_id`,`time_id`,`fees_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表抄表';


ALTER TABLE wx_bill_daily_0        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_1        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_2        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_3        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_4        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_5        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_6        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_7        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_8        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_9        ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_10       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_11       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_12       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_13       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_14       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_15       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_16       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_17       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_18       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_19       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_20       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_21       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_22       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_23       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_24       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_25       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_26       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_27       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_28       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_29       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_30       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_31       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_32       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_33       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_34       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_35       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_36       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_37       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_38       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_39       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_40       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_41       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_42       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_43       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_44       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_45       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_46       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_47       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_48       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_49       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_50       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_51       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_52       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_53       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_54       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_55       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_56       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_57       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_58       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_59       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_60       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_61       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_62       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_63       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_64       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_65       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_66       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_67       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_68       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_69       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_70       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_71       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_72       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_73       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_74       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_75       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_76       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_77       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_78       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_79       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_80       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_81       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_82       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_83       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_84       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_85       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_86       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_87       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_88       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_89       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_90       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_91       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_92       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_93       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_94       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_95       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_96       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_97       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_98       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;
ALTER TABLE wx_bill_daily_99       ADD COLUMN energy_reading_calcuteId BIGINT(20) COMMENT '能源抄表计算ID' ;

ALTER TABLE wx_bill_daily_0        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_1        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_2        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_3        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_4        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_5        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_6        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_7        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_8        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_9        ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_10       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_11       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_12       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_13       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_14       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_15       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_16       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_17       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_18       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_19       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_20       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_21       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_22       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_23       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_24       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_25       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_26       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_27       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_28       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_29       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_30       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_31       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_32       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_33       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_34       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_35       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_36       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_37       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_38       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_39       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_40       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_41       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_42       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_43       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_44       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_45       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_46       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_47       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_48       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_49       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_50       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_51       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_52       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_53       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_54       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_55       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_56       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_57       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_58       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_59       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_60       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_61       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_62       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_63       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_64       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_65       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_66       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_67       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_68       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_69       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_70       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_71       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_72       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_73       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_74       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_75       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_76       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_77       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_78       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_79       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_80       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_81       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_82       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_83       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_84       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_85       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_86       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_87       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_88       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_89       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_90       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_91       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_92       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_93       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_94       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_95       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_96       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_97       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_98       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;
ALTER TABLE wx_bill_daily_99       ADD COLUMN energy_reading_id BIGINT(20) COMMENT '能源抄表ID' ;

create table wx_energy_meter_reading_0       like wx_energy_meter_reading;
create table wx_energy_meter_reading_1       like wx_energy_meter_reading;
create table wx_energy_meter_reading_2       like wx_energy_meter_reading;
create table wx_energy_meter_reading_3       like wx_energy_meter_reading;
create table wx_energy_meter_reading_4       like wx_energy_meter_reading;
create table wx_energy_meter_reading_5       like wx_energy_meter_reading;
create table wx_energy_meter_reading_6       like wx_energy_meter_reading;
create table wx_energy_meter_reading_7       like wx_energy_meter_reading;
create table wx_energy_meter_reading_8       like wx_energy_meter_reading;
create table wx_energy_meter_reading_9       like wx_energy_meter_reading;
create table wx_energy_meter_reading_10      like wx_energy_meter_reading;
create table wx_energy_meter_reading_11      like wx_energy_meter_reading;
create table wx_energy_meter_reading_12      like wx_energy_meter_reading;
create table wx_energy_meter_reading_13      like wx_energy_meter_reading;
create table wx_energy_meter_reading_14      like wx_energy_meter_reading;
create table wx_energy_meter_reading_15      like wx_energy_meter_reading;
create table wx_energy_meter_reading_16      like wx_energy_meter_reading;
create table wx_energy_meter_reading_17      like wx_energy_meter_reading;
create table wx_energy_meter_reading_18      like wx_energy_meter_reading;
create table wx_energy_meter_reading_19      like wx_energy_meter_reading;
create table wx_energy_meter_reading_20      like wx_energy_meter_reading;
create table wx_energy_meter_reading_21      like wx_energy_meter_reading;
create table wx_energy_meter_reading_22      like wx_energy_meter_reading;
create table wx_energy_meter_reading_23      like wx_energy_meter_reading;
create table wx_energy_meter_reading_24      like wx_energy_meter_reading;
create table wx_energy_meter_reading_25      like wx_energy_meter_reading;
create table wx_energy_meter_reading_26      like wx_energy_meter_reading;
create table wx_energy_meter_reading_27      like wx_energy_meter_reading;
create table wx_energy_meter_reading_28      like wx_energy_meter_reading;
create table wx_energy_meter_reading_29      like wx_energy_meter_reading;
create table wx_energy_meter_reading_30      like wx_energy_meter_reading;
create table wx_energy_meter_reading_31      like wx_energy_meter_reading;
create table wx_energy_meter_reading_32      like wx_energy_meter_reading;
create table wx_energy_meter_reading_33      like wx_energy_meter_reading;
create table wx_energy_meter_reading_34      like wx_energy_meter_reading;
create table wx_energy_meter_reading_35      like wx_energy_meter_reading;
create table wx_energy_meter_reading_36      like wx_energy_meter_reading;
create table wx_energy_meter_reading_37      like wx_energy_meter_reading;
create table wx_energy_meter_reading_38      like wx_energy_meter_reading;
create table wx_energy_meter_reading_39      like wx_energy_meter_reading;
create table wx_energy_meter_reading_40      like wx_energy_meter_reading;
create table wx_energy_meter_reading_41      like wx_energy_meter_reading;
create table wx_energy_meter_reading_42      like wx_energy_meter_reading;
create table wx_energy_meter_reading_43      like wx_energy_meter_reading;
create table wx_energy_meter_reading_44      like wx_energy_meter_reading;
create table wx_energy_meter_reading_45      like wx_energy_meter_reading;
create table wx_energy_meter_reading_46      like wx_energy_meter_reading;
create table wx_energy_meter_reading_47      like wx_energy_meter_reading;
create table wx_energy_meter_reading_48      like wx_energy_meter_reading;
create table wx_energy_meter_reading_49      like wx_energy_meter_reading;
create table wx_energy_meter_reading_50      like wx_energy_meter_reading;
create table wx_energy_meter_reading_51      like wx_energy_meter_reading;
create table wx_energy_meter_reading_52      like wx_energy_meter_reading;
create table wx_energy_meter_reading_53      like wx_energy_meter_reading;
create table wx_energy_meter_reading_54      like wx_energy_meter_reading;
create table wx_energy_meter_reading_55      like wx_energy_meter_reading;
create table wx_energy_meter_reading_56      like wx_energy_meter_reading;
create table wx_energy_meter_reading_57      like wx_energy_meter_reading;
create table wx_energy_meter_reading_58      like wx_energy_meter_reading;
create table wx_energy_meter_reading_59      like wx_energy_meter_reading;
create table wx_energy_meter_reading_60      like wx_energy_meter_reading;
create table wx_energy_meter_reading_61      like wx_energy_meter_reading;
create table wx_energy_meter_reading_62      like wx_energy_meter_reading;
create table wx_energy_meter_reading_63      like wx_energy_meter_reading;
create table wx_energy_meter_reading_64      like wx_energy_meter_reading;
create table wx_energy_meter_reading_65      like wx_energy_meter_reading;
create table wx_energy_meter_reading_66      like wx_energy_meter_reading;
create table wx_energy_meter_reading_67      like wx_energy_meter_reading;
create table wx_energy_meter_reading_68      like wx_energy_meter_reading;
create table wx_energy_meter_reading_69      like wx_energy_meter_reading;
create table wx_energy_meter_reading_70      like wx_energy_meter_reading;
create table wx_energy_meter_reading_71      like wx_energy_meter_reading;
create table wx_energy_meter_reading_72      like wx_energy_meter_reading;
create table wx_energy_meter_reading_73      like wx_energy_meter_reading;
create table wx_energy_meter_reading_74      like wx_energy_meter_reading;
create table wx_energy_meter_reading_75      like wx_energy_meter_reading;
create table wx_energy_meter_reading_76      like wx_energy_meter_reading;
create table wx_energy_meter_reading_77      like wx_energy_meter_reading;
create table wx_energy_meter_reading_78      like wx_energy_meter_reading;
create table wx_energy_meter_reading_79      like wx_energy_meter_reading;
create table wx_energy_meter_reading_80      like wx_energy_meter_reading;
create table wx_energy_meter_reading_81      like wx_energy_meter_reading;
create table wx_energy_meter_reading_82      like wx_energy_meter_reading;
create table wx_energy_meter_reading_83      like wx_energy_meter_reading;
create table wx_energy_meter_reading_84      like wx_energy_meter_reading;
create table wx_energy_meter_reading_85      like wx_energy_meter_reading;
create table wx_energy_meter_reading_86      like wx_energy_meter_reading;
create table wx_energy_meter_reading_87      like wx_energy_meter_reading;
create table wx_energy_meter_reading_88      like wx_energy_meter_reading;
create table wx_energy_meter_reading_89      like wx_energy_meter_reading;
create table wx_energy_meter_reading_90      like wx_energy_meter_reading;
create table wx_energy_meter_reading_91      like wx_energy_meter_reading;
create table wx_energy_meter_reading_92      like wx_energy_meter_reading;
create table wx_energy_meter_reading_93      like wx_energy_meter_reading;
create table wx_energy_meter_reading_94      like wx_energy_meter_reading;
create table wx_energy_meter_reading_95      like wx_energy_meter_reading;
create table wx_energy_meter_reading_96      like wx_energy_meter_reading;
create table wx_energy_meter_reading_97      like wx_energy_meter_reading;
create table wx_energy_meter_reading_98      like wx_energy_meter_reading;
create table wx_energy_meter_reading_99      like wx_energy_meter_reading;

drop table wx_energy_meter_reading;


alter table wx_bill_rent_0       modify column pay_way bigint(20);
alter table wx_bill_rent_1       modify column pay_way bigint(20);
alter table wx_bill_rent_2       modify column pay_way bigint(20);
alter table wx_bill_rent_3       modify column pay_way bigint(20);
alter table wx_bill_rent_4       modify column pay_way bigint(20);
alter table wx_bill_rent_5       modify column pay_way bigint(20);
alter table wx_bill_rent_6       modify column pay_way bigint(20);
alter table wx_bill_rent_7       modify column pay_way bigint(20);
alter table wx_bill_rent_8       modify column pay_way bigint(20);
alter table wx_bill_rent_9       modify column pay_way bigint(20);
alter table wx_bill_rent_10      modify column pay_way bigint(20);
alter table wx_bill_rent_11      modify column pay_way bigint(20);
alter table wx_bill_rent_12      modify column pay_way bigint(20);
alter table wx_bill_rent_13      modify column pay_way bigint(20);
alter table wx_bill_rent_14      modify column pay_way bigint(20);
alter table wx_bill_rent_15      modify column pay_way bigint(20);
alter table wx_bill_rent_16      modify column pay_way bigint(20);
alter table wx_bill_rent_17      modify column pay_way bigint(20);
alter table wx_bill_rent_18      modify column pay_way bigint(20);
alter table wx_bill_rent_19      modify column pay_way bigint(20);
alter table wx_bill_rent_20      modify column pay_way bigint(20);
alter table wx_bill_rent_21      modify column pay_way bigint(20);
alter table wx_bill_rent_22      modify column pay_way bigint(20);
alter table wx_bill_rent_23      modify column pay_way bigint(20);
alter table wx_bill_rent_24      modify column pay_way bigint(20);
alter table wx_bill_rent_25      modify column pay_way bigint(20);
alter table wx_bill_rent_26      modify column pay_way bigint(20);
alter table wx_bill_rent_27      modify column pay_way bigint(20);
alter table wx_bill_rent_28      modify column pay_way bigint(20);
alter table wx_bill_rent_29      modify column pay_way bigint(20);
alter table wx_bill_rent_30      modify column pay_way bigint(20);
alter table wx_bill_rent_31      modify column pay_way bigint(20);
alter table wx_bill_rent_32      modify column pay_way bigint(20);
alter table wx_bill_rent_33      modify column pay_way bigint(20);
alter table wx_bill_rent_34      modify column pay_way bigint(20);
alter table wx_bill_rent_35      modify column pay_way bigint(20);
alter table wx_bill_rent_36      modify column pay_way bigint(20);
alter table wx_bill_rent_37      modify column pay_way bigint(20);
alter table wx_bill_rent_38      modify column pay_way bigint(20);
alter table wx_bill_rent_39      modify column pay_way bigint(20);
alter table wx_bill_rent_40      modify column pay_way bigint(20);
alter table wx_bill_rent_41      modify column pay_way bigint(20);
alter table wx_bill_rent_42      modify column pay_way bigint(20);
alter table wx_bill_rent_43      modify column pay_way bigint(20);
alter table wx_bill_rent_44      modify column pay_way bigint(20);
alter table wx_bill_rent_45      modify column pay_way bigint(20);
alter table wx_bill_rent_46      modify column pay_way bigint(20);
alter table wx_bill_rent_47      modify column pay_way bigint(20);
alter table wx_bill_rent_48      modify column pay_way bigint(20);
alter table wx_bill_rent_49      modify column pay_way bigint(20);
alter table wx_bill_rent_50      modify column pay_way bigint(20);
alter table wx_bill_rent_51      modify column pay_way bigint(20);
alter table wx_bill_rent_52      modify column pay_way bigint(20);
alter table wx_bill_rent_53      modify column pay_way bigint(20);
alter table wx_bill_rent_54      modify column pay_way bigint(20);
alter table wx_bill_rent_55      modify column pay_way bigint(20);
alter table wx_bill_rent_56      modify column pay_way bigint(20);
alter table wx_bill_rent_57      modify column pay_way bigint(20);
alter table wx_bill_rent_58      modify column pay_way bigint(20);
alter table wx_bill_rent_59      modify column pay_way bigint(20);
alter table wx_bill_rent_60      modify column pay_way bigint(20);
alter table wx_bill_rent_61      modify column pay_way bigint(20);
alter table wx_bill_rent_62      modify column pay_way bigint(20);
alter table wx_bill_rent_63      modify column pay_way bigint(20);
alter table wx_bill_rent_64      modify column pay_way bigint(20);
alter table wx_bill_rent_65      modify column pay_way bigint(20);
alter table wx_bill_rent_66      modify column pay_way bigint(20);
alter table wx_bill_rent_67      modify column pay_way bigint(20);
alter table wx_bill_rent_68      modify column pay_way bigint(20);
alter table wx_bill_rent_69      modify column pay_way bigint(20);
alter table wx_bill_rent_70      modify column pay_way bigint(20);
alter table wx_bill_rent_71      modify column pay_way bigint(20);
alter table wx_bill_rent_72      modify column pay_way bigint(20);
alter table wx_bill_rent_73      modify column pay_way bigint(20);
alter table wx_bill_rent_74      modify column pay_way bigint(20);
alter table wx_bill_rent_75      modify column pay_way bigint(20);
alter table wx_bill_rent_76      modify column pay_way bigint(20);
alter table wx_bill_rent_77      modify column pay_way bigint(20);
alter table wx_bill_rent_78      modify column pay_way bigint(20);
alter table wx_bill_rent_79      modify column pay_way bigint(20);
alter table wx_bill_rent_80      modify column pay_way bigint(20);
alter table wx_bill_rent_81      modify column pay_way bigint(20);
alter table wx_bill_rent_82      modify column pay_way bigint(20);
alter table wx_bill_rent_83      modify column pay_way bigint(20);
alter table wx_bill_rent_84      modify column pay_way bigint(20);
alter table wx_bill_rent_85      modify column pay_way bigint(20);
alter table wx_bill_rent_86      modify column pay_way bigint(20);
alter table wx_bill_rent_87      modify column pay_way bigint(20);
alter table wx_bill_rent_88      modify column pay_way bigint(20);
alter table wx_bill_rent_89      modify column pay_way bigint(20);
alter table wx_bill_rent_90      modify column pay_way bigint(20);
alter table wx_bill_rent_91      modify column pay_way bigint(20);
alter table wx_bill_rent_92      modify column pay_way bigint(20);
alter table wx_bill_rent_93      modify column pay_way bigint(20);
alter table wx_bill_rent_94      modify column pay_way bigint(20);
alter table wx_bill_rent_95      modify column pay_way bigint(20);
alter table wx_bill_rent_96      modify column pay_way bigint(20);
alter table wx_bill_rent_97      modify column pay_way bigint(20);
alter table wx_bill_rent_98      modify column pay_way bigint(20);
alter table wx_bill_rent_99      modify column pay_way bigint(20);

alter table wx_bill_action_0       modify column pay_way bigint(20);
alter table wx_bill_action_1       modify column pay_way bigint(20);
alter table wx_bill_action_2       modify column pay_way bigint(20);
alter table wx_bill_action_3       modify column pay_way bigint(20);
alter table wx_bill_action_4       modify column pay_way bigint(20);
alter table wx_bill_action_5       modify column pay_way bigint(20);
alter table wx_bill_action_6       modify column pay_way bigint(20);
alter table wx_bill_action_7       modify column pay_way bigint(20);
alter table wx_bill_action_8       modify column pay_way bigint(20);
alter table wx_bill_action_9       modify column pay_way bigint(20);
alter table wx_bill_action_10      modify column pay_way bigint(20);
alter table wx_bill_action_11      modify column pay_way bigint(20);
alter table wx_bill_action_12      modify column pay_way bigint(20);
alter table wx_bill_action_13      modify column pay_way bigint(20);
alter table wx_bill_action_14      modify column pay_way bigint(20);
alter table wx_bill_action_15      modify column pay_way bigint(20);
alter table wx_bill_action_16      modify column pay_way bigint(20);
alter table wx_bill_action_17      modify column pay_way bigint(20);
alter table wx_bill_action_18      modify column pay_way bigint(20);
alter table wx_bill_action_19      modify column pay_way bigint(20);
alter table wx_bill_action_20      modify column pay_way bigint(20);
alter table wx_bill_action_21      modify column pay_way bigint(20);
alter table wx_bill_action_22      modify column pay_way bigint(20);
alter table wx_bill_action_23      modify column pay_way bigint(20);
alter table wx_bill_action_24      modify column pay_way bigint(20);
alter table wx_bill_action_25      modify column pay_way bigint(20);
alter table wx_bill_action_26      modify column pay_way bigint(20);
alter table wx_bill_action_27      modify column pay_way bigint(20);
alter table wx_bill_action_28      modify column pay_way bigint(20);
alter table wx_bill_action_29      modify column pay_way bigint(20);
alter table wx_bill_action_30      modify column pay_way bigint(20);
alter table wx_bill_action_31      modify column pay_way bigint(20);
alter table wx_bill_action_32      modify column pay_way bigint(20);
alter table wx_bill_action_33      modify column pay_way bigint(20);
alter table wx_bill_action_34      modify column pay_way bigint(20);
alter table wx_bill_action_35      modify column pay_way bigint(20);
alter table wx_bill_action_36      modify column pay_way bigint(20);
alter table wx_bill_action_37      modify column pay_way bigint(20);
alter table wx_bill_action_38      modify column pay_way bigint(20);
alter table wx_bill_action_39      modify column pay_way bigint(20);
alter table wx_bill_action_40      modify column pay_way bigint(20);
alter table wx_bill_action_41      modify column pay_way bigint(20);
alter table wx_bill_action_42      modify column pay_way bigint(20);
alter table wx_bill_action_43      modify column pay_way bigint(20);
alter table wx_bill_action_44      modify column pay_way bigint(20);
alter table wx_bill_action_45      modify column pay_way bigint(20);
alter table wx_bill_action_46      modify column pay_way bigint(20);
alter table wx_bill_action_47      modify column pay_way bigint(20);
alter table wx_bill_action_48      modify column pay_way bigint(20);
alter table wx_bill_action_49      modify column pay_way bigint(20);
alter table wx_bill_action_50      modify column pay_way bigint(20);
alter table wx_bill_action_51      modify column pay_way bigint(20);
alter table wx_bill_action_52      modify column pay_way bigint(20);
alter table wx_bill_action_53      modify column pay_way bigint(20);
alter table wx_bill_action_54      modify column pay_way bigint(20);
alter table wx_bill_action_55      modify column pay_way bigint(20);
alter table wx_bill_action_56      modify column pay_way bigint(20);
alter table wx_bill_action_57      modify column pay_way bigint(20);
alter table wx_bill_action_58      modify column pay_way bigint(20);
alter table wx_bill_action_59      modify column pay_way bigint(20);
alter table wx_bill_action_60      modify column pay_way bigint(20);
alter table wx_bill_action_61      modify column pay_way bigint(20);
alter table wx_bill_action_62      modify column pay_way bigint(20);
alter table wx_bill_action_63      modify column pay_way bigint(20);
alter table wx_bill_action_64      modify column pay_way bigint(20);
alter table wx_bill_action_65      modify column pay_way bigint(20);
alter table wx_bill_action_66      modify column pay_way bigint(20);
alter table wx_bill_action_67      modify column pay_way bigint(20);
alter table wx_bill_action_68      modify column pay_way bigint(20);
alter table wx_bill_action_69      modify column pay_way bigint(20);
alter table wx_bill_action_70      modify column pay_way bigint(20);
alter table wx_bill_action_71      modify column pay_way bigint(20);
alter table wx_bill_action_72      modify column pay_way bigint(20);
alter table wx_bill_action_73      modify column pay_way bigint(20);
alter table wx_bill_action_74      modify column pay_way bigint(20);
alter table wx_bill_action_75      modify column pay_way bigint(20);
alter table wx_bill_action_76      modify column pay_way bigint(20);
alter table wx_bill_action_77      modify column pay_way bigint(20);
alter table wx_bill_action_78      modify column pay_way bigint(20);
alter table wx_bill_action_79      modify column pay_way bigint(20);
alter table wx_bill_action_80      modify column pay_way bigint(20);
alter table wx_bill_action_81      modify column pay_way bigint(20);
alter table wx_bill_action_82      modify column pay_way bigint(20);
alter table wx_bill_action_83      modify column pay_way bigint(20);
alter table wx_bill_action_84      modify column pay_way bigint(20);
alter table wx_bill_action_85      modify column pay_way bigint(20);
alter table wx_bill_action_86      modify column pay_way bigint(20);
alter table wx_bill_action_87      modify column pay_way bigint(20);
alter table wx_bill_action_88      modify column pay_way bigint(20);
alter table wx_bill_action_89      modify column pay_way bigint(20);
alter table wx_bill_action_90      modify column pay_way bigint(20);
alter table wx_bill_action_91      modify column pay_way bigint(20);
alter table wx_bill_action_92      modify column pay_way bigint(20);
alter table wx_bill_action_93      modify column pay_way bigint(20);
alter table wx_bill_action_94      modify column pay_way bigint(20);
alter table wx_bill_action_95      modify column pay_way bigint(20);
alter table wx_bill_action_96      modify column pay_way bigint(20);
alter table wx_bill_action_97      modify column pay_way bigint(20);
alter table wx_bill_action_98      modify column pay_way bigint(20);
alter table wx_bill_action_99      modify column pay_way bigint(20);

alter table wx_bill_rent_manage_0       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_1       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_2       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_3       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_4       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_5       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_6       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_7       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_8       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_9       modify column pay_way bigint(20);
alter table wx_bill_rent_manage_10      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_11      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_12      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_13      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_14      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_15      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_16      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_17      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_18      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_19      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_20      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_21      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_22      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_23      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_24      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_25      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_26      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_27      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_28      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_29      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_30      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_31      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_32      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_33      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_34      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_35      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_36      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_37      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_38      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_39      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_40      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_41      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_42      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_43      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_44      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_45      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_46      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_47      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_48      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_49      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_50      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_51      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_52      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_53      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_54      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_55      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_56      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_57      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_58      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_59      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_60      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_61      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_62      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_63      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_64      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_65      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_66      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_67      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_68      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_69      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_70      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_71      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_72      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_73      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_74      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_75      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_76      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_77      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_78      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_79      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_80      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_81      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_82      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_83      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_84      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_85      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_86      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_87      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_88      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_89      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_90      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_91      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_92      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_93      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_94      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_95      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_96      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_97      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_98      modify column pay_way bigint(20);
alter table wx_bill_rent_manage_99      modify column pay_way bigint(20);

alter table wx_bill_rent_deposit_0       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_1       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_2       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_3       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_4       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_5       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_6       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_7       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_8       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_9       modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_10      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_11      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_12      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_13      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_14      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_15      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_16      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_17      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_18      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_19      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_20      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_21      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_22      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_23      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_24      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_25      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_26      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_27      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_28      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_29      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_30      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_31      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_32      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_33      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_34      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_35      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_36      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_37      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_38      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_39      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_40      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_41      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_42      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_43      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_44      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_45      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_46      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_47      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_48      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_49      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_50      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_51      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_52      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_53      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_54      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_55      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_56      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_57      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_58      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_59      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_60      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_61      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_62      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_63      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_64      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_65      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_66      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_67      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_68      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_69      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_70      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_71      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_72      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_73      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_74      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_75      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_76      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_77      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_78      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_79      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_80      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_81      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_82      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_83      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_84      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_85      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_86      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_87      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_88      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_89      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_90      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_91      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_92      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_93      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_94      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_95      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_96      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_97      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_98      modify column pay_way bigint(20);
alter table wx_bill_rent_deposit_99      modify column pay_way bigint(20);

alter table wx_bill_property_0       modify column pay_way bigint(20);
alter table wx_bill_property_1       modify column pay_way bigint(20);
alter table wx_bill_property_2       modify column pay_way bigint(20);
alter table wx_bill_property_3       modify column pay_way bigint(20);
alter table wx_bill_property_4       modify column pay_way bigint(20);
alter table wx_bill_property_5       modify column pay_way bigint(20);
alter table wx_bill_property_6       modify column pay_way bigint(20);
alter table wx_bill_property_7       modify column pay_way bigint(20);
alter table wx_bill_property_8       modify column pay_way bigint(20);
alter table wx_bill_property_9       modify column pay_way bigint(20);
alter table wx_bill_property_10      modify column pay_way bigint(20);
alter table wx_bill_property_11      modify column pay_way bigint(20);
alter table wx_bill_property_12      modify column pay_way bigint(20);
alter table wx_bill_property_13      modify column pay_way bigint(20);
alter table wx_bill_property_14      modify column pay_way bigint(20);
alter table wx_bill_property_15      modify column pay_way bigint(20);
alter table wx_bill_property_16      modify column pay_way bigint(20);
alter table wx_bill_property_17      modify column pay_way bigint(20);
alter table wx_bill_property_18      modify column pay_way bigint(20);
alter table wx_bill_property_19      modify column pay_way bigint(20);
alter table wx_bill_property_20      modify column pay_way bigint(20);
alter table wx_bill_property_21      modify column pay_way bigint(20);
alter table wx_bill_property_22      modify column pay_way bigint(20);
alter table wx_bill_property_23      modify column pay_way bigint(20);
alter table wx_bill_property_24      modify column pay_way bigint(20);
alter table wx_bill_property_25      modify column pay_way bigint(20);
alter table wx_bill_property_26      modify column pay_way bigint(20);
alter table wx_bill_property_27      modify column pay_way bigint(20);
alter table wx_bill_property_28      modify column pay_way bigint(20);
alter table wx_bill_property_29      modify column pay_way bigint(20);
alter table wx_bill_property_30      modify column pay_way bigint(20);
alter table wx_bill_property_31      modify column pay_way bigint(20);
alter table wx_bill_property_32      modify column pay_way bigint(20);
alter table wx_bill_property_33      modify column pay_way bigint(20);
alter table wx_bill_property_34      modify column pay_way bigint(20);
alter table wx_bill_property_35      modify column pay_way bigint(20);
alter table wx_bill_property_36      modify column pay_way bigint(20);
alter table wx_bill_property_37      modify column pay_way bigint(20);
alter table wx_bill_property_38      modify column pay_way bigint(20);
alter table wx_bill_property_39      modify column pay_way bigint(20);
alter table wx_bill_property_40      modify column pay_way bigint(20);
alter table wx_bill_property_41      modify column pay_way bigint(20);
alter table wx_bill_property_42      modify column pay_way bigint(20);
alter table wx_bill_property_43      modify column pay_way bigint(20);
alter table wx_bill_property_44      modify column pay_way bigint(20);
alter table wx_bill_property_45      modify column pay_way bigint(20);
alter table wx_bill_property_46      modify column pay_way bigint(20);
alter table wx_bill_property_47      modify column pay_way bigint(20);
alter table wx_bill_property_48      modify column pay_way bigint(20);
alter table wx_bill_property_49      modify column pay_way bigint(20);
alter table wx_bill_property_50      modify column pay_way bigint(20);
alter table wx_bill_property_51      modify column pay_way bigint(20);
alter table wx_bill_property_52      modify column pay_way bigint(20);
alter table wx_bill_property_53      modify column pay_way bigint(20);
alter table wx_bill_property_54      modify column pay_way bigint(20);
alter table wx_bill_property_55      modify column pay_way bigint(20);
alter table wx_bill_property_56      modify column pay_way bigint(20);
alter table wx_bill_property_57      modify column pay_way bigint(20);
alter table wx_bill_property_58      modify column pay_way bigint(20);
alter table wx_bill_property_59      modify column pay_way bigint(20);
alter table wx_bill_property_60      modify column pay_way bigint(20);
alter table wx_bill_property_61      modify column pay_way bigint(20);
alter table wx_bill_property_62      modify column pay_way bigint(20);
alter table wx_bill_property_63      modify column pay_way bigint(20);
alter table wx_bill_property_64      modify column pay_way bigint(20);
alter table wx_bill_property_65      modify column pay_way bigint(20);
alter table wx_bill_property_66      modify column pay_way bigint(20);
alter table wx_bill_property_67      modify column pay_way bigint(20);
alter table wx_bill_property_68      modify column pay_way bigint(20);
alter table wx_bill_property_69      modify column pay_way bigint(20);
alter table wx_bill_property_70      modify column pay_way bigint(20);
alter table wx_bill_property_71      modify column pay_way bigint(20);
alter table wx_bill_property_72      modify column pay_way bigint(20);
alter table wx_bill_property_73      modify column pay_way bigint(20);
alter table wx_bill_property_74      modify column pay_way bigint(20);
alter table wx_bill_property_75      modify column pay_way bigint(20);
alter table wx_bill_property_76      modify column pay_way bigint(20);
alter table wx_bill_property_77      modify column pay_way bigint(20);
alter table wx_bill_property_78      modify column pay_way bigint(20);
alter table wx_bill_property_79      modify column pay_way bigint(20);
alter table wx_bill_property_80      modify column pay_way bigint(20);
alter table wx_bill_property_81      modify column pay_way bigint(20);
alter table wx_bill_property_82      modify column pay_way bigint(20);
alter table wx_bill_property_83      modify column pay_way bigint(20);
alter table wx_bill_property_84      modify column pay_way bigint(20);
alter table wx_bill_property_85      modify column pay_way bigint(20);
alter table wx_bill_property_86      modify column pay_way bigint(20);
alter table wx_bill_property_87      modify column pay_way bigint(20);
alter table wx_bill_property_88      modify column pay_way bigint(20);
alter table wx_bill_property_89      modify column pay_way bigint(20);
alter table wx_bill_property_90      modify column pay_way bigint(20);
alter table wx_bill_property_91      modify column pay_way bigint(20);
alter table wx_bill_property_92      modify column pay_way bigint(20);
alter table wx_bill_property_93      modify column pay_way bigint(20);
alter table wx_bill_property_94      modify column pay_way bigint(20);
alter table wx_bill_property_95      modify column pay_way bigint(20);
alter table wx_bill_property_96      modify column pay_way bigint(20);
alter table wx_bill_property_97      modify column pay_way bigint(20);
alter table wx_bill_property_98      modify column pay_way bigint(20);
alter table wx_bill_property_99      modify column pay_way bigint(20);

alter table wx_bill_property_deposit_0       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_1       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_2       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_3       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_4       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_5       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_6       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_7       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_8       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_9       modify column pay_way bigint(20);
alter table wx_bill_property_deposit_10      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_11      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_12      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_13      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_14      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_15      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_16      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_17      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_18      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_19      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_20      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_21      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_22      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_23      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_24      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_25      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_26      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_27      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_28      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_29      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_30      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_31      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_32      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_33      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_34      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_35      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_36      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_37      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_38      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_39      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_40      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_41      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_42      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_43      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_44      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_45      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_46      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_47      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_48      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_49      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_50      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_51      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_52      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_53      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_54      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_55      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_56      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_57      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_58      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_59      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_60      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_61      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_62      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_63      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_64      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_65      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_66      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_67      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_68      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_69      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_70      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_71      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_72      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_73      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_74      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_75      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_76      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_77      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_78      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_79      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_80      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_81      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_82      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_83      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_84      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_85      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_86      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_87      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_88      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_89      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_90      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_91      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_92      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_93      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_94      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_95      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_96      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_97      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_98      modify column pay_way bigint(20);
alter table wx_bill_property_deposit_99      modify column pay_way bigint(20);

alter table wx_bill_daily_0       modify column pay_way bigint(20);
alter table wx_bill_daily_1       modify column pay_way bigint(20);
alter table wx_bill_daily_2       modify column pay_way bigint(20);
alter table wx_bill_daily_3       modify column pay_way bigint(20);
alter table wx_bill_daily_4       modify column pay_way bigint(20);
alter table wx_bill_daily_5       modify column pay_way bigint(20);
alter table wx_bill_daily_6       modify column pay_way bigint(20);
alter table wx_bill_daily_7       modify column pay_way bigint(20);
alter table wx_bill_daily_8       modify column pay_way bigint(20);
alter table wx_bill_daily_9       modify column pay_way bigint(20);
alter table wx_bill_daily_10      modify column pay_way bigint(20);
alter table wx_bill_daily_11      modify column pay_way bigint(20);
alter table wx_bill_daily_12      modify column pay_way bigint(20);
alter table wx_bill_daily_13      modify column pay_way bigint(20);
alter table wx_bill_daily_14      modify column pay_way bigint(20);
alter table wx_bill_daily_15      modify column pay_way bigint(20);
alter table wx_bill_daily_16      modify column pay_way bigint(20);
alter table wx_bill_daily_17      modify column pay_way bigint(20);
alter table wx_bill_daily_18      modify column pay_way bigint(20);
alter table wx_bill_daily_19      modify column pay_way bigint(20);
alter table wx_bill_daily_20      modify column pay_way bigint(20);
alter table wx_bill_daily_21      modify column pay_way bigint(20);
alter table wx_bill_daily_22      modify column pay_way bigint(20);
alter table wx_bill_daily_23      modify column pay_way bigint(20);
alter table wx_bill_daily_24      modify column pay_way bigint(20);
alter table wx_bill_daily_25      modify column pay_way bigint(20);
alter table wx_bill_daily_26      modify column pay_way bigint(20);
alter table wx_bill_daily_27      modify column pay_way bigint(20);
alter table wx_bill_daily_28      modify column pay_way bigint(20);
alter table wx_bill_daily_29      modify column pay_way bigint(20);
alter table wx_bill_daily_30      modify column pay_way bigint(20);
alter table wx_bill_daily_31      modify column pay_way bigint(20);
alter table wx_bill_daily_32      modify column pay_way bigint(20);
alter table wx_bill_daily_33      modify column pay_way bigint(20);
alter table wx_bill_daily_34      modify column pay_way bigint(20);
alter table wx_bill_daily_35      modify column pay_way bigint(20);
alter table wx_bill_daily_36      modify column pay_way bigint(20);
alter table wx_bill_daily_37      modify column pay_way bigint(20);
alter table wx_bill_daily_38      modify column pay_way bigint(20);
alter table wx_bill_daily_39      modify column pay_way bigint(20);
alter table wx_bill_daily_40      modify column pay_way bigint(20);
alter table wx_bill_daily_41      modify column pay_way bigint(20);
alter table wx_bill_daily_42      modify column pay_way bigint(20);
alter table wx_bill_daily_43      modify column pay_way bigint(20);
alter table wx_bill_daily_44      modify column pay_way bigint(20);
alter table wx_bill_daily_45      modify column pay_way bigint(20);
alter table wx_bill_daily_46      modify column pay_way bigint(20);
alter table wx_bill_daily_47      modify column pay_way bigint(20);
alter table wx_bill_daily_48      modify column pay_way bigint(20);
alter table wx_bill_daily_49      modify column pay_way bigint(20);
alter table wx_bill_daily_50      modify column pay_way bigint(20);
alter table wx_bill_daily_51      modify column pay_way bigint(20);
alter table wx_bill_daily_52      modify column pay_way bigint(20);
alter table wx_bill_daily_53      modify column pay_way bigint(20);
alter table wx_bill_daily_54      modify column pay_way bigint(20);
alter table wx_bill_daily_55      modify column pay_way bigint(20);
alter table wx_bill_daily_56      modify column pay_way bigint(20);
alter table wx_bill_daily_57      modify column pay_way bigint(20);
alter table wx_bill_daily_58      modify column pay_way bigint(20);
alter table wx_bill_daily_59      modify column pay_way bigint(20);
alter table wx_bill_daily_60      modify column pay_way bigint(20);
alter table wx_bill_daily_61      modify column pay_way bigint(20);
alter table wx_bill_daily_62      modify column pay_way bigint(20);
alter table wx_bill_daily_63      modify column pay_way bigint(20);
alter table wx_bill_daily_64      modify column pay_way bigint(20);
alter table wx_bill_daily_65      modify column pay_way bigint(20);
alter table wx_bill_daily_66      modify column pay_way bigint(20);
alter table wx_bill_daily_67      modify column pay_way bigint(20);
alter table wx_bill_daily_68      modify column pay_way bigint(20);
alter table wx_bill_daily_69      modify column pay_way bigint(20);
alter table wx_bill_daily_70      modify column pay_way bigint(20);
alter table wx_bill_daily_71      modify column pay_way bigint(20);
alter table wx_bill_daily_72      modify column pay_way bigint(20);
alter table wx_bill_daily_73      modify column pay_way bigint(20);
alter table wx_bill_daily_74      modify column pay_way bigint(20);
alter table wx_bill_daily_75      modify column pay_way bigint(20);
alter table wx_bill_daily_76      modify column pay_way bigint(20);
alter table wx_bill_daily_77      modify column pay_way bigint(20);
alter table wx_bill_daily_78      modify column pay_way bigint(20);
alter table wx_bill_daily_79      modify column pay_way bigint(20);
alter table wx_bill_daily_80      modify column pay_way bigint(20);
alter table wx_bill_daily_81      modify column pay_way bigint(20);
alter table wx_bill_daily_82      modify column pay_way bigint(20);
alter table wx_bill_daily_83      modify column pay_way bigint(20);
alter table wx_bill_daily_84      modify column pay_way bigint(20);
alter table wx_bill_daily_85      modify column pay_way bigint(20);
alter table wx_bill_daily_86      modify column pay_way bigint(20);
alter table wx_bill_daily_87      modify column pay_way bigint(20);
alter table wx_bill_daily_88      modify column pay_way bigint(20);
alter table wx_bill_daily_89      modify column pay_way bigint(20);
alter table wx_bill_daily_90      modify column pay_way bigint(20);
alter table wx_bill_daily_91      modify column pay_way bigint(20);
alter table wx_bill_daily_92      modify column pay_way bigint(20);
alter table wx_bill_daily_93      modify column pay_way bigint(20);
alter table wx_bill_daily_94      modify column pay_way bigint(20);
alter table wx_bill_daily_95      modify column pay_way bigint(20);
alter table wx_bill_daily_96      modify column pay_way bigint(20);
alter table wx_bill_daily_97      modify column pay_way bigint(20);
alter table wx_bill_daily_98      modify column pay_way bigint(20);
alter table wx_bill_daily_99      modify column pay_way bigint(20);

alter table wx_bill_other_0       modify column pay_way bigint(20);
alter table wx_bill_other_1       modify column pay_way bigint(20);
alter table wx_bill_other_2       modify column pay_way bigint(20);
alter table wx_bill_other_3       modify column pay_way bigint(20);
alter table wx_bill_other_4       modify column pay_way bigint(20);
alter table wx_bill_other_5       modify column pay_way bigint(20);
alter table wx_bill_other_6       modify column pay_way bigint(20);
alter table wx_bill_other_7       modify column pay_way bigint(20);
alter table wx_bill_other_8       modify column pay_way bigint(20);
alter table wx_bill_other_9       modify column pay_way bigint(20);
alter table wx_bill_other_10      modify column pay_way bigint(20);
alter table wx_bill_other_11      modify column pay_way bigint(20);
alter table wx_bill_other_12      modify column pay_way bigint(20);
alter table wx_bill_other_13      modify column pay_way bigint(20);
alter table wx_bill_other_14      modify column pay_way bigint(20);
alter table wx_bill_other_15      modify column pay_way bigint(20);
alter table wx_bill_other_16      modify column pay_way bigint(20);
alter table wx_bill_other_17      modify column pay_way bigint(20);
alter table wx_bill_other_18      modify column pay_way bigint(20);
alter table wx_bill_other_19      modify column pay_way bigint(20);
alter table wx_bill_other_20      modify column pay_way bigint(20);
alter table wx_bill_other_21      modify column pay_way bigint(20);
alter table wx_bill_other_22      modify column pay_way bigint(20);
alter table wx_bill_other_23      modify column pay_way bigint(20);
alter table wx_bill_other_24      modify column pay_way bigint(20);
alter table wx_bill_other_25      modify column pay_way bigint(20);
alter table wx_bill_other_26      modify column pay_way bigint(20);
alter table wx_bill_other_27      modify column pay_way bigint(20);
alter table wx_bill_other_28      modify column pay_way bigint(20);
alter table wx_bill_other_29      modify column pay_way bigint(20);
alter table wx_bill_other_30      modify column pay_way bigint(20);
alter table wx_bill_other_31      modify column pay_way bigint(20);
alter table wx_bill_other_32      modify column pay_way bigint(20);
alter table wx_bill_other_33      modify column pay_way bigint(20);
alter table wx_bill_other_34      modify column pay_way bigint(20);
alter table wx_bill_other_35      modify column pay_way bigint(20);
alter table wx_bill_other_36      modify column pay_way bigint(20);
alter table wx_bill_other_37      modify column pay_way bigint(20);
alter table wx_bill_other_38      modify column pay_way bigint(20);
alter table wx_bill_other_39      modify column pay_way bigint(20);
alter table wx_bill_other_40      modify column pay_way bigint(20);
alter table wx_bill_other_41      modify column pay_way bigint(20);
alter table wx_bill_other_42      modify column pay_way bigint(20);
alter table wx_bill_other_43      modify column pay_way bigint(20);
alter table wx_bill_other_44      modify column pay_way bigint(20);
alter table wx_bill_other_45      modify column pay_way bigint(20);
alter table wx_bill_other_46      modify column pay_way bigint(20);
alter table wx_bill_other_47      modify column pay_way bigint(20);
alter table wx_bill_other_48      modify column pay_way bigint(20);
alter table wx_bill_other_49      modify column pay_way bigint(20);
alter table wx_bill_other_50      modify column pay_way bigint(20);
alter table wx_bill_other_51      modify column pay_way bigint(20);
alter table wx_bill_other_52      modify column pay_way bigint(20);
alter table wx_bill_other_53      modify column pay_way bigint(20);
alter table wx_bill_other_54      modify column pay_way bigint(20);
alter table wx_bill_other_55      modify column pay_way bigint(20);
alter table wx_bill_other_56      modify column pay_way bigint(20);
alter table wx_bill_other_57      modify column pay_way bigint(20);
alter table wx_bill_other_58      modify column pay_way bigint(20);
alter table wx_bill_other_59      modify column pay_way bigint(20);
alter table wx_bill_other_60      modify column pay_way bigint(20);
alter table wx_bill_other_61      modify column pay_way bigint(20);
alter table wx_bill_other_62      modify column pay_way bigint(20);
alter table wx_bill_other_63      modify column pay_way bigint(20);
alter table wx_bill_other_64      modify column pay_way bigint(20);
alter table wx_bill_other_65      modify column pay_way bigint(20);
alter table wx_bill_other_66      modify column pay_way bigint(20);
alter table wx_bill_other_67      modify column pay_way bigint(20);
alter table wx_bill_other_68      modify column pay_way bigint(20);
alter table wx_bill_other_69      modify column pay_way bigint(20);
alter table wx_bill_other_70      modify column pay_way bigint(20);
alter table wx_bill_other_71      modify column pay_way bigint(20);
alter table wx_bill_other_72      modify column pay_way bigint(20);
alter table wx_bill_other_73      modify column pay_way bigint(20);
alter table wx_bill_other_74      modify column pay_way bigint(20);
alter table wx_bill_other_75      modify column pay_way bigint(20);
alter table wx_bill_other_76      modify column pay_way bigint(20);
alter table wx_bill_other_77      modify column pay_way bigint(20);
alter table wx_bill_other_78      modify column pay_way bigint(20);
alter table wx_bill_other_79      modify column pay_way bigint(20);
alter table wx_bill_other_80      modify column pay_way bigint(20);
alter table wx_bill_other_81      modify column pay_way bigint(20);
alter table wx_bill_other_82      modify column pay_way bigint(20);
alter table wx_bill_other_83      modify column pay_way bigint(20);
alter table wx_bill_other_84      modify column pay_way bigint(20);
alter table wx_bill_other_85      modify column pay_way bigint(20);
alter table wx_bill_other_86      modify column pay_way bigint(20);
alter table wx_bill_other_87      modify column pay_way bigint(20);
alter table wx_bill_other_88      modify column pay_way bigint(20);
alter table wx_bill_other_89      modify column pay_way bigint(20);
alter table wx_bill_other_90      modify column pay_way bigint(20);
alter table wx_bill_other_91      modify column pay_way bigint(20);
alter table wx_bill_other_92      modify column pay_way bigint(20);
alter table wx_bill_other_93      modify column pay_way bigint(20);
alter table wx_bill_other_94      modify column pay_way bigint(20);
alter table wx_bill_other_95      modify column pay_way bigint(20);
alter table wx_bill_other_96      modify column pay_way bigint(20);
alter table wx_bill_other_97      modify column pay_way bigint(20);
alter table wx_bill_other_98      modify column pay_way bigint(20);
alter table wx_bill_other_99      modify column pay_way bigint(20);

alter table wx_bill_other_deposit_0       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_1       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_2       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_3       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_4       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_5       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_6       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_7       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_8       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_9       modify column pay_way bigint(20);
alter table wx_bill_other_deposit_10      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_11      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_12      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_13      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_14      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_15      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_16      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_17      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_18      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_19      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_20      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_21      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_22      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_23      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_24      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_25      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_26      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_27      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_28      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_29      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_30      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_31      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_32      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_33      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_34      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_35      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_36      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_37      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_38      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_39      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_40      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_41      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_42      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_43      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_44      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_45      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_46      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_47      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_48      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_49      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_50      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_51      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_52      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_53      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_54      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_55      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_56      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_57      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_58      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_59      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_60      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_61      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_62      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_63      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_64      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_65      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_66      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_67      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_68      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_69      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_70      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_71      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_72      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_73      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_74      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_75      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_76      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_77      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_78      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_79      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_80      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_81      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_82      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_83      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_84      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_85      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_86      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_87      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_88      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_89      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_90      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_91      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_92      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_93      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_94      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_95      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_96      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_97      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_98      modify column pay_way bigint(20);
alter table wx_bill_other_deposit_99      modify column pay_way bigint(20);

CREATE TABLE `wx_bill_pay_way` (
  `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',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `is_del` int(1) NOT NULL DEFAULT '0',
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '表名称',
  `is_system` int(1) NOT NULL DEFAULT '0' COMMENT '是否系统默认',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';


create table wx_bill_pay_way_0       like wx_bill_pay_way;
create table wx_bill_pay_way_1       like wx_bill_pay_way;
create table wx_bill_pay_way_2       like wx_bill_pay_way;
create table wx_bill_pay_way_3       like wx_bill_pay_way;
create table wx_bill_pay_way_4       like wx_bill_pay_way;
create table wx_bill_pay_way_5       like wx_bill_pay_way;
create table wx_bill_pay_way_6       like wx_bill_pay_way;
create table wx_bill_pay_way_7       like wx_bill_pay_way;
create table wx_bill_pay_way_8       like wx_bill_pay_way;
create table wx_bill_pay_way_9       like wx_bill_pay_way;
create table wx_bill_pay_way_10      like wx_bill_pay_way;
create table wx_bill_pay_way_11      like wx_bill_pay_way;
create table wx_bill_pay_way_12      like wx_bill_pay_way;
create table wx_bill_pay_way_13      like wx_bill_pay_way;
create table wx_bill_pay_way_14      like wx_bill_pay_way;
create table wx_bill_pay_way_15      like wx_bill_pay_way;
create table wx_bill_pay_way_16      like wx_bill_pay_way;
create table wx_bill_pay_way_17      like wx_bill_pay_way;
create table wx_bill_pay_way_18      like wx_bill_pay_way;
create table wx_bill_pay_way_19      like wx_bill_pay_way;
create table wx_bill_pay_way_20      like wx_bill_pay_way;
create table wx_bill_pay_way_21      like wx_bill_pay_way;
create table wx_bill_pay_way_22      like wx_bill_pay_way;
create table wx_bill_pay_way_23      like wx_bill_pay_way;
create table wx_bill_pay_way_24      like wx_bill_pay_way;
create table wx_bill_pay_way_25      like wx_bill_pay_way;
create table wx_bill_pay_way_26      like wx_bill_pay_way;
create table wx_bill_pay_way_27      like wx_bill_pay_way;
create table wx_bill_pay_way_28      like wx_bill_pay_way;
create table wx_bill_pay_way_29      like wx_bill_pay_way;
create table wx_bill_pay_way_30      like wx_bill_pay_way;
create table wx_bill_pay_way_31      like wx_bill_pay_way;
create table wx_bill_pay_way_32      like wx_bill_pay_way;
create table wx_bill_pay_way_33      like wx_bill_pay_way;
create table wx_bill_pay_way_34      like wx_bill_pay_way;
create table wx_bill_pay_way_35      like wx_bill_pay_way;
create table wx_bill_pay_way_36      like wx_bill_pay_way;
create table wx_bill_pay_way_37      like wx_bill_pay_way;
create table wx_bill_pay_way_38      like wx_bill_pay_way;
create table wx_bill_pay_way_39      like wx_bill_pay_way;
create table wx_bill_pay_way_40      like wx_bill_pay_way;
create table wx_bill_pay_way_41      like wx_bill_pay_way;
create table wx_bill_pay_way_42      like wx_bill_pay_way;
create table wx_bill_pay_way_43      like wx_bill_pay_way;
create table wx_bill_pay_way_44      like wx_bill_pay_way;
create table wx_bill_pay_way_45      like wx_bill_pay_way;
create table wx_bill_pay_way_46      like wx_bill_pay_way;
create table wx_bill_pay_way_47      like wx_bill_pay_way;
create table wx_bill_pay_way_48      like wx_bill_pay_way;
create table wx_bill_pay_way_49      like wx_bill_pay_way;
create table wx_bill_pay_way_50      like wx_bill_pay_way;
create table wx_bill_pay_way_51      like wx_bill_pay_way;
create table wx_bill_pay_way_52      like wx_bill_pay_way;
create table wx_bill_pay_way_53      like wx_bill_pay_way;
create table wx_bill_pay_way_54      like wx_bill_pay_way;
create table wx_bill_pay_way_55      like wx_bill_pay_way;
create table wx_bill_pay_way_56      like wx_bill_pay_way;
create table wx_bill_pay_way_57      like wx_bill_pay_way;
create table wx_bill_pay_way_58      like wx_bill_pay_way;
create table wx_bill_pay_way_59      like wx_bill_pay_way;
create table wx_bill_pay_way_60      like wx_bill_pay_way;
create table wx_bill_pay_way_61      like wx_bill_pay_way;
create table wx_bill_pay_way_62      like wx_bill_pay_way;
create table wx_bill_pay_way_63      like wx_bill_pay_way;
create table wx_bill_pay_way_64      like wx_bill_pay_way;
create table wx_bill_pay_way_65      like wx_bill_pay_way;
create table wx_bill_pay_way_66      like wx_bill_pay_way;
create table wx_bill_pay_way_67      like wx_bill_pay_way;
create table wx_bill_pay_way_68      like wx_bill_pay_way;
create table wx_bill_pay_way_69      like wx_bill_pay_way;
create table wx_bill_pay_way_70      like wx_bill_pay_way;
create table wx_bill_pay_way_71      like wx_bill_pay_way;
create table wx_bill_pay_way_72      like wx_bill_pay_way;
create table wx_bill_pay_way_73      like wx_bill_pay_way;
create table wx_bill_pay_way_74      like wx_bill_pay_way;
create table wx_bill_pay_way_75      like wx_bill_pay_way;
create table wx_bill_pay_way_76      like wx_bill_pay_way;
create table wx_bill_pay_way_77      like wx_bill_pay_way;
create table wx_bill_pay_way_78      like wx_bill_pay_way;
create table wx_bill_pay_way_79      like wx_bill_pay_way;
create table wx_bill_pay_way_80      like wx_bill_pay_way;
create table wx_bill_pay_way_81      like wx_bill_pay_way;
create table wx_bill_pay_way_82      like wx_bill_pay_way;
create table wx_bill_pay_way_83      like wx_bill_pay_way;
create table wx_bill_pay_way_84      like wx_bill_pay_way;
create table wx_bill_pay_way_85      like wx_bill_pay_way;
create table wx_bill_pay_way_86      like wx_bill_pay_way;
create table wx_bill_pay_way_87      like wx_bill_pay_way;
create table wx_bill_pay_way_88      like wx_bill_pay_way;
create table wx_bill_pay_way_89      like wx_bill_pay_way;
create table wx_bill_pay_way_90      like wx_bill_pay_way;
create table wx_bill_pay_way_91      like wx_bill_pay_way;
create table wx_bill_pay_way_92      like wx_bill_pay_way;
create table wx_bill_pay_way_93      like wx_bill_pay_way;
create table wx_bill_pay_way_94      like wx_bill_pay_way;
create table wx_bill_pay_way_95      like wx_bill_pay_way;
create table wx_bill_pay_way_96      like wx_bill_pay_way;
create table wx_bill_pay_way_97      like wx_bill_pay_way;
create table wx_bill_pay_way_98      like wx_bill_pay_way;
create table wx_bill_pay_way_99      like wx_bill_pay_way;

drop table wx_bill_pay_way;

INSERT INTO wx_bill_pay_way_3 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1003',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1003',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_8 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1008','1028',NOW(),NOW(),0,'商户小程序',1), (2,'1008','1028',NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_9 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1009',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1009',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_10 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1010',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1010',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_12 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1012',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1012',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_13 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1013',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1013',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_19 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1019',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1019',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_20 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1020','1028',NOW(),NOW(),0,'商户小程序',1), (2,'1020','1028',NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_22 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1022',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1022',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_24 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1024',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1024',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_42 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1042',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1042',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_63 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1063',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1063',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_95 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1095',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1095',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_96 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'1096',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'1096',NULL,NOW(),NOW(),0,'系统自动结清',1);

INSERT INTO wx_bill_pay_way_89 (id,tenant_id,parent_tenant_id,create_time,update_time,is_del,NAME,is_system) 
VALUES (1,'789',NULL,NOW(),NOW(),0,'商户小程序',1), (2,'789',NULL,NOW(),NOW(),0,'系统自动结清',1);



