mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 13:19:01 +08:00
♻️ Refactoring code. 适配最新的 shardingsphere 分库分表策略
This commit is contained in:
1 parent
130da074a0
commit
90a4fb0fa0
1 file changed
+1
-1
+1
-1
@@ -41,7 +41,7 @@ public class SqlProviderFactory {
|
|||||||
url = environment.getProperty("spring.datasource.druid.url");
|
url = environment.getProperty("spring.datasource.druid.url");
|
||||||
}
|
}
|
||||||
|
|
||||||
JdbcUtils.getDbType(url);
|
dbType = JdbcUtils.getDbType(url);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dbType = dbProperties.getDbType();
|
dbType = dbProperties.getDbType();
|
||||||
|
|||||||
Reference in new issue
Block a user