Commit 881909a7a7a42a3232d8c1dfdb7f7a2be570b2be

Authored by sunninghai
1 parent 3612f6f3

no message

Showing 1 changed file with 3 additions and 5 deletions
account-service.yml
@@ -82,15 +82,13 @@ sharding.jdbc: @@ -82,15 +82,13 @@ sharding.jdbc:
82 sql.show: true 82 sql.show: true
83 shardingRule: 83 shardingRule:
84 tables: 84 tables:
85 - t_order: 85 + Account:
86 actualDataNodes: ms_ds.Account${0..1} 86 actualDataNodes: ms_ds.Account${0..1}
87 tableStrategy: 87 tableStrategy:
88 inline: 88 inline:
89 - shardingColumn: Created_User 89 + shardingColumn: UUID
90 algorithmExpression: Account${UUID.hashCode() % 2} 90 algorithmExpression: Account${UUID.hashCode() % 2}
91 - keyGenerator:  
92 - type: SNOWFLAKE  
93 - column: UUID 91 +
94 92
95 93
96 #mybatis: 94 #mybatis: