Browse Source

取消分片规则

java110 6 years ago
parent
commit
6001bfc1f2
1 changed files with 0 additions and 11 deletions
  1. 0 11
      service-report/src/main/resources/dataSource.yml

+ 0 - 11
service-report/src/main/resources/dataSource.yml

@@ -11,17 +11,6 @@ dataSources:
     filters: stat,wall,log4j
     filters: stat,wall,log4j
     poolPreparedStatements: true
     poolPreparedStatements: true
 
 
-shardingRule:
-  tables:
-    business_xxx:
-      actualDataNodes: ds${0..1}.business_community
-      databaseStrategy:
-        inline:
-          shardingColumn: community_id
-          algorithmExpression: ds${Long.parseLong(community_id) % 2}
-
-  bindingTables:
-    - business_xxx
 
 
   defaultDataSourceName: ds0
   defaultDataSourceName: ds0
   defaultDatabaseStrategy:
   defaultDatabaseStrategy: