Browse Source

fix cashout

release_toaliyun_real
xiaohanzi 5 years ago
parent
commit
18c3395244
2 changed files with 110 additions and 6 deletions
  1. +104
    -0
      mallinkAdmin/src/main/resources/db/migration/V202104130001__for_cash_out.sql
  2. +6
    -6
      mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java

+ 104
- 0
mallinkAdmin/src/main/resources/db/migration/V202104130001__for_cash_out.sql View File

@@ -51,4 +51,108 @@ ALTER TABLE wx_merchant ADD COLUMN `cash_out_last_time` datetime COMMENT '最近
ALTER TABLE wx_pay_account ADD COLUMN `merchant_api_key` VARCHAR(32) COMMENT '商户支付密钥' AFTER `api_key`;


create table wx_cash_out_0 like wx_cash_out;
create table wx_cash_out_1 like wx_cash_out;
create table wx_cash_out_2 like wx_cash_out;
create table wx_cash_out_3 like wx_cash_out;
create table wx_cash_out_4 like wx_cash_out;
create table wx_cash_out_5 like wx_cash_out;
create table wx_cash_out_6 like wx_cash_out;
create table wx_cash_out_7 like wx_cash_out;
create table wx_cash_out_8 like wx_cash_out;
create table wx_cash_out_9 like wx_cash_out;
create table wx_cash_out_10 like wx_cash_out;
create table wx_cash_out_11 like wx_cash_out;
create table wx_cash_out_12 like wx_cash_out;
create table wx_cash_out_13 like wx_cash_out;
create table wx_cash_out_14 like wx_cash_out;
create table wx_cash_out_15 like wx_cash_out;
create table wx_cash_out_16 like wx_cash_out;
create table wx_cash_out_17 like wx_cash_out;
create table wx_cash_out_18 like wx_cash_out;
create table wx_cash_out_19 like wx_cash_out;
create table wx_cash_out_20 like wx_cash_out;
create table wx_cash_out_21 like wx_cash_out;
create table wx_cash_out_22 like wx_cash_out;
create table wx_cash_out_23 like wx_cash_out;
create table wx_cash_out_24 like wx_cash_out;
create table wx_cash_out_25 like wx_cash_out;
create table wx_cash_out_26 like wx_cash_out;
create table wx_cash_out_27 like wx_cash_out;
create table wx_cash_out_28 like wx_cash_out;
create table wx_cash_out_29 like wx_cash_out;
create table wx_cash_out_30 like wx_cash_out;
create table wx_cash_out_31 like wx_cash_out;
create table wx_cash_out_32 like wx_cash_out;
create table wx_cash_out_33 like wx_cash_out;
create table wx_cash_out_34 like wx_cash_out;
create table wx_cash_out_35 like wx_cash_out;
create table wx_cash_out_36 like wx_cash_out;
create table wx_cash_out_37 like wx_cash_out;
create table wx_cash_out_38 like wx_cash_out;
create table wx_cash_out_39 like wx_cash_out;
create table wx_cash_out_40 like wx_cash_out;
create table wx_cash_out_41 like wx_cash_out;
create table wx_cash_out_42 like wx_cash_out;
create table wx_cash_out_43 like wx_cash_out;
create table wx_cash_out_44 like wx_cash_out;
create table wx_cash_out_45 like wx_cash_out;
create table wx_cash_out_46 like wx_cash_out;
create table wx_cash_out_47 like wx_cash_out;
create table wx_cash_out_48 like wx_cash_out;
create table wx_cash_out_49 like wx_cash_out;
create table wx_cash_out_50 like wx_cash_out;
create table wx_cash_out_51 like wx_cash_out;
create table wx_cash_out_52 like wx_cash_out;
create table wx_cash_out_53 like wx_cash_out;
create table wx_cash_out_54 like wx_cash_out;
create table wx_cash_out_55 like wx_cash_out;
create table wx_cash_out_56 like wx_cash_out;
create table wx_cash_out_57 like wx_cash_out;
create table wx_cash_out_58 like wx_cash_out;
create table wx_cash_out_59 like wx_cash_out;
create table wx_cash_out_60 like wx_cash_out;
create table wx_cash_out_61 like wx_cash_out;
create table wx_cash_out_62 like wx_cash_out;
create table wx_cash_out_63 like wx_cash_out;
create table wx_cash_out_64 like wx_cash_out;
create table wx_cash_out_65 like wx_cash_out;
create table wx_cash_out_66 like wx_cash_out;
create table wx_cash_out_67 like wx_cash_out;
create table wx_cash_out_68 like wx_cash_out;
create table wx_cash_out_69 like wx_cash_out;
create table wx_cash_out_70 like wx_cash_out;
create table wx_cash_out_71 like wx_cash_out;
create table wx_cash_out_72 like wx_cash_out;
create table wx_cash_out_73 like wx_cash_out;
create table wx_cash_out_74 like wx_cash_out;
create table wx_cash_out_75 like wx_cash_out;
create table wx_cash_out_76 like wx_cash_out;
create table wx_cash_out_77 like wx_cash_out;
create table wx_cash_out_78 like wx_cash_out;
create table wx_cash_out_79 like wx_cash_out;
create table wx_cash_out_80 like wx_cash_out;
create table wx_cash_out_81 like wx_cash_out;
create table wx_cash_out_82 like wx_cash_out;
create table wx_cash_out_83 like wx_cash_out;
create table wx_cash_out_84 like wx_cash_out;
create table wx_cash_out_85 like wx_cash_out;
create table wx_cash_out_86 like wx_cash_out;
create table wx_cash_out_87 like wx_cash_out;
create table wx_cash_out_88 like wx_cash_out;
create table wx_cash_out_89 like wx_cash_out;
create table wx_cash_out_90 like wx_cash_out;
create table wx_cash_out_91 like wx_cash_out;
create table wx_cash_out_92 like wx_cash_out;
create table wx_cash_out_93 like wx_cash_out;
create table wx_cash_out_94 like wx_cash_out;
create table wx_cash_out_95 like wx_cash_out;
create table wx_cash_out_96 like wx_cash_out;
create table wx_cash_out_97 like wx_cash_out;
create table wx_cash_out_98 like wx_cash_out;
create table wx_cash_out_99 like wx_cash_out;

drop table wx_cash_out;




+ 6
- 6
mallinkService/src/main/java/com/iformall/config/BaseMyBatisConfiguration.java View File

@@ -219,12 +219,12 @@ public class BaseMyBatisConfiguration {
wxCarJSOrderSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxCarJSOrderSharding);
// ShardingSphere wxCashOutSharding = new ShardingSphere();
// wxCashOutSharding.setColumn("tenant_id");
// wxCashOutSharding.setTableName("wx_cash_out");
// wxCashOutSharding.setCount(100);
// wxCashOutSharding.setRule(EnumShardingRule.HASH.getCode());
// shardingList.add(wxCashOutSharding);
ShardingSphere wxCashOutSharding = new ShardingSphere();
wxCashOutSharding.setColumn("tenant_id");
wxCashOutSharding.setTableName("wx_cash_out");
wxCashOutSharding.setCount(100);
wxCashOutSharding.setRule(EnumShardingRule.HASH.getCode());
shardingList.add(wxCashOutSharding);
//初始化
shardingSpherePlugin.setShardingSpheres(shardingList);


Loading…
Cancel
Save