mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
fix I937IA
This commit is contained in:
parent
c155bcafeb
commit
4071be741c
@ -83,7 +83,8 @@ public class MapperInvocationHandler implements InvocationHandler {
|
|||||||
}
|
}
|
||||||
if (dbType == null) {
|
if (dbType == null) {
|
||||||
if (dataSourceKey != null && dataSource != null) {
|
if (dataSourceKey != null && dataSource != null) {
|
||||||
dbType = dataSource.getDbType(dataSourceKey);
|
//使用最终分片获取数据源类型
|
||||||
|
dbType = dataSource.getDbType(shardingDataSourceKey);
|
||||||
}
|
}
|
||||||
if (dbType == null) {
|
if (dbType == null) {
|
||||||
dbType = FlexGlobalConfig.getDefaultConfig().getDbType();
|
dbType = FlexGlobalConfig.getDefaultConfig().getDbType();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user