mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-22 20:20:34 +08:00
fix: JdbcUtils.getDbType 使用MyBatis-Plus工具
This commit is contained in:
parent
a5081b94f5
commit
0ae11e0eb8
@ -35,8 +35,7 @@ public class JdbcUtils {
|
|||||||
* @return DB 类型
|
* @return DB 类型
|
||||||
*/
|
*/
|
||||||
public static DbType getDbType(String url) {
|
public static DbType getDbType(String url) {
|
||||||
String name = com.alibaba.druid.util.JdbcUtils.getDbType(url, null);
|
return com.baomidou.mybatisplus.extension.toolkit.JdbcUtils.getDbType(url);
|
||||||
return DbType.getDbType(name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user