Procházet zdrojové kódy

fix

release_toaliyun_real
winter před 1 rokem
rodič
revize
9f88861c5d
2 změnil soubory, kde provedl 361 přidání a 3 odebrání
  1. +340
    -3
      mallinkAdmin/src/main/resources/db/migration/V202407018.sql
  2. +21
    -0
      mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java

+ 340
- 3
mallinkAdmin/src/main/resources/db/migration/V202407018.sql Zobrazit soubor

@@ -2842,8 +2842,9 @@ CREATE TABLE `wx_finance_receive` (
`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,
`total_money` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '总支付金额',
`remain_money` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '剩余金额',
`receive_money` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '实收金额',
`set_off_money` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '冲抵费用',
`use_money` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '已使用金额',
`status` int(3) NOT NULL COMMENT '状态',
`create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
`create_by_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建人名称',
@@ -2853,11 +2854,13 @@ CREATE TABLE `wx_finance_receive` (
`merchant_id` bigint(20) NOT NULL COMMENT '商户编号',
`remark` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注',
`type` int(1) NOT NULL COMMENT '类型',
`fees_id` bigint(20) DEFAULT NULL COMMENT '科目id',
`is_print` int(1) NOT NULL DEFAULT '0' COMMENT '是否已打印',
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_finance_setoff_bill` (
CREATE TABLE `wx_finance_receive_bill` (
`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',
@@ -2868,8 +2871,342 @@ CREATE TABLE `wx_finance_setoff_bill` (
`fees_id` bigint(20) NOT NULL COMMENT '费用科目',
`pay_way` bigint(20) DEFAULT NULL COMMENT '支付方式',
`receive_id` bigint(20) NOT NULL COMMENT '收款编号',
`receive` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '收款金额',
`merchant_id` bigint(20) NOT NULL COMMENT '商户编号',
`starttime` timestamp NULL DEFAULT NULL COMMENT '账单开始时间',
`endtime` timestamp NULL DEFAULT NULL COMMENT '账单结束时间',
`is_del` int(1) NOT NULL DEFAULT '0' COMMENT '是否已删除',
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

CREATE TABLE `wx_finance_receive_setoff` (
`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,
`bill_id` bigint(20) NOT NULL COMMENT '账单id',
`bill_type` int(3) NOT NULL COMMENT '账单类型',
`fees_id` bigint(20) NOT NULL COMMENT '费用科目',
`advance_id` bigint(20) NOT NULL COMMENT '预收收款编号',
`setoff` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '冲抵金额',
`starttime` timestamp NULL DEFAULT NULL COMMENT '账单开始时间',
`endtime` timestamp NULL DEFAULT NULL COMMENT '账单结束时间',
`merchant_id` bigint(20) DEFAULT NULL COMMENT '商户编号',
`is_del` int(1) NOT NULL DEFAULT '0' COMMENT '是否已删除',
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='能耗表';

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

drop table wx_finance_receive;


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

drop table wx_finance_receive_bill;


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

drop table wx_finance_receive_setoff;


+ 21
- 0
mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java Zobrazit soubor

@@ -463,6 +463,27 @@ public class BaseMyBatisConfiguration {
wxEnergyFeesSetoffSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxEnergyFeesSetoffSharding);
ShardingSphere wxFinanceReceiveSharding = new ShardingSphere();
wxEnergyFeesSetoffSharding.setColumn("tenant_id");
wxFinanceReceiveSharding.setTableName("wx_finance_receive");
wxFinanceReceiveSharding.setCount(100);
wxFinanceReceiveSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxFinanceReceiveSharding);
ShardingSphere wxFinanceReceiveBillSharding = new ShardingSphere();
wxFinanceReceiveBillSharding.setColumn("tenant_id");
wxFinanceReceiveBillSharding.setTableName("wx_finance_receive_bill");
wxFinanceReceiveBillSharding.setCount(100);
wxFinanceReceiveBillSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxFinanceReceiveBillSharding);
ShardingSphere wxFinanceReceiveSetoffSharding = new ShardingSphere();
wxFinanceReceiveSetoffSharding.setColumn("tenant_id");
wxFinanceReceiveSetoffSharding.setTableName("wx_finance_receive_setoff");
wxFinanceReceiveSetoffSharding.setCount(100);
wxFinanceReceiveSetoffSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxFinanceReceiveSetoffSharding);
//初始化
shardingSpherePlugin.setShardingSpheres(shardingList);
Properties properties = new Properties();


Načítá se…
Zrušit
Uložit