fix: JdbcUtils.getDbType 使用MyBatis-Plus工具

This commit is contained in:
dhb52 2024-06-06 23:28:55 +08:00
parent a5081b94f5
commit 0ae11e0eb8

View File

@ -35,8 +35,7 @@ public class JdbcUtils {
* @return DB 类型
*/
public static DbType getDbType(String url) {
String name = com.alibaba.druid.util.JdbcUtils.getDbType(url, null);
return DbType.getDbType(name);
return com.baomidou.mybatisplus.extension.toolkit.JdbcUtils.getDbType(url);
}
}