mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-27 21:56:40 +08:00
fix:使用MariaDB无法获取数据表的兼容性问题
This commit is contained in:
parent
086b206139
commit
f0f693050e
@ -31,7 +31,12 @@ public enum DataBaseType {
|
||||
/**
|
||||
* SQL Server
|
||||
*/
|
||||
SQL_SERVER("Microsoft SQL Server");
|
||||
SQL_SERVER("Microsoft SQL Server"),
|
||||
|
||||
/**
|
||||
* MariaDB
|
||||
*/
|
||||
MARIA_DB("MariaDB");
|
||||
|
||||
private final String type;
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class DataBaseHelper {
|
||||
}
|
||||
|
||||
public static boolean isMySql() {
|
||||
return DataBaseType.MY_SQL == getDataBaseType();
|
||||
return DataBaseType.MY_SQL == getDataBaseType() || DataBaseType.MARIA_DB == getDataBaseType();
|
||||
}
|
||||
|
||||
public static boolean isOracle() {
|
||||
|
Loading…
Reference in New Issue
Block a user