mirror of https://gitee.com/stylefeng/roses
更新一个瀚高数据库的执行的sql
parent
1091128aee
commit
9fc535b87b
|
@ -68,6 +68,9 @@ public abstract class AbstractSql {
|
||||||
if (jdbcUrl.contains(DbTypeEnum.OPEN_GAUSS.getUrlWords())) {
|
if (jdbcUrl.contains(DbTypeEnum.OPEN_GAUSS.getUrlWords())) {
|
||||||
return openGauss();
|
return openGauss();
|
||||||
}
|
}
|
||||||
|
if (jdbcUrl.contains(DbTypeEnum.HIGH_GO.getUrlWords())) {
|
||||||
|
return highGo();
|
||||||
|
}
|
||||||
return mysql();
|
return mysql();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,4 +146,14 @@ public abstract class AbstractSql {
|
||||||
*/
|
*/
|
||||||
protected abstract String openGauss();
|
protected abstract String openGauss();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 瀚高数据库的sql
|
||||||
|
*
|
||||||
|
* @author fengshuonan
|
||||||
|
* @since 2025/4/30 17:18
|
||||||
|
*/
|
||||||
|
protected String highGo() {
|
||||||
|
return pgSql();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue