alter table wx_energy_meter       drop COLUMN floor_id;
alter table wx_energy_meter       drop COLUMN shop_id;
alter table wx_energy_meter       drop COLUMN building_id;
alter table wx_energy_meter       drop COLUMN is_public;
ALTER TABLE wx_energy_meter       ADD COLUMN physics_type INT(1) NOT NULL COMMENT '表物理类型';

CREATE TABLE `wx_energy_meter_shop_floor` (
  `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,
  `type` int(3) NOT NULL COMMENT '表类型',
  `meter_id` bigint(20) NOT NULL COMMENT '表编号',
  `alise_id` bigint(20) NOT NULL COMMENT '关联的id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `T_T_M_A` (`tenant_id`,`type`,`meter_id`,`alise_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_energy_meter_child` (
  `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,
  `parent_meter_id` bigint(20) NOT NULL COMMENT '表编号',
  `child_meter_id` bigint(20) NOT NULL COMMENT '关联的id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `P_C` (`parent_meter_id`,`child_meter_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';


CREATE TABLE `wx_energy_fees_shop` (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户ID',
  `parent_tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `price` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '价格',
  `is_public` int(1) NOT NULL DEFAULT '0' COMMENT '是否公摊',
  `formula` text COLLATE utf8mb4_unicode_ci COMMENT '计算公式',
  `formula_content` text COLLATE utf8mb4_unicode_ci COMMENT '计算公式显示内容',
  `shop_id` bigint(20) NOT NULL COMMENT '店铺编号',
  `fees_id` bigint(20) NOT NULL COMMENT '科目编号',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `T_F` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

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

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

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

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

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

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

ALTER TABLE wx_energy_fees_time DROP COLUMN NAME;
ALTER TABLE wx_energy_fees_time ADD COLUMN PERIOD VARCHAR(10) NOT NULL COMMENT '所属年月';
ALTER TABLE wx_energy_fees_time ADD COLUMN shop_size INT(6) NOT NULL DEFAULT 0 COMMENT '店铺数量';
ALTER TABLE wx_energy_fees_time DROP COLUMN is_del;

CREATE TABLE `wx_energy_fees_time_shop` (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户ID',
  `parent_tenant_id` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID',
  `create_time` timestamp NULL DEFAULT NULL,
  `update_time` timestamp NULL DEFAULT NULL,
  `time_id` bigint(20) NOT NULL COMMENT '时间区间id',
  `shop_id` bigint(20) NOT NULL COMMENT '店铺编号',
  `period` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '所属年月',
  `type` int(1) NOT NULL COMMENT '表类型',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  KEY `T_P_S` (`tenant_id`,`shop_id`,`period`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';


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

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

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

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

ALTER TABLE wx_energy_reading_calcute ADD COLUMN shop TEXT COMMENT '店铺编号';

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

alter table wx_energy_fees_0       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_1       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_2       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_3       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_4       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_5       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_6       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_7       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_8       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_9       add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_10      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_11      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_12      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_13      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_14      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_15      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_16      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_17      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_18      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_19      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_20      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_21      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_22      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_23      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_24      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_25      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_26      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_27      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_28      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_29      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_30      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_31      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_32      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_33      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_34      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_35      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_36      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_37      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_38      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_39      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_40      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_41      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_42      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_43      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_44      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_45      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_46      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_47      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_48      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_49      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_50      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_51      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_52      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_53      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_54      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_55      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_56      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_57      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_58      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_59      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_60      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_61      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_62      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_63      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_64      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_65      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_66      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_67      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_68      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_69      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_70      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_71      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_72      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_73      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_74      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_75      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_76      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_77      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_78      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_79      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_80      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_81      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_82      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_83      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_84      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_85      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_86      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_87      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_88      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_89      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_90      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_91      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_92      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_93      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_94      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_95      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_96      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_97      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_98      add column is_public int(1) not null default 0 comment '是否公摊';
alter table wx_energy_fees_99      add column is_public int(1) not null default 0 comment '是否公摊';

drop TABLE wx_energy_reading_calcute;
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,
  `period` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '所属年月',
  `fees_id` bigint(20) NOT NULL COMMENT '科目ID',
  `is_calcuted` int(1) NOT NULL DEFAULT '0' COMMENT '是否已计算过',
  `is_del` int(1) NOT NULL DEFAULT '0' COMMENT '是否已删除',
  `shop_size` int(6) NOT NULL DEFAULT '0' COMMENT '店铺数量',
  `shop` text COLLATE utf8mb4_unicode_ci COMMENT '店铺编号',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `T_P_F` (`tenant_id`,`period`,`fees_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表抄表';


CREATE TABLE `wx_energy_reading_calcute_result` (
  `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,
  `calcute_id` bigint(20) NOT NULL COMMENT '费用计算ID',
  `shop_id` bigint(20) NOT NULL COMMENT '店铺ID',
  `fees_id` bigint(20) NOT NULL COMMENT '科目编号',
  `fees_shop_id` bigint(20) NOT NULL COMMENT '店铺科目编号',
  `money` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '金额',
  `period` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '所属年月',
  `money_deail` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '详细说明',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  UNIQUE KEY `T_T_F` (`tenant_id`,`calcute_id`,`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表抄表';








