mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
Fixed an issue where aliases that required parenthesis wrapping appeared "as" twice
This commit is contained in:
parent
40bba6783b
commit
63d3f0f347
@ -148,7 +148,7 @@ class WrapperUtil {
|
||||
}
|
||||
|
||||
static String withAlias(String sql, String alias, IDialect dialect) {
|
||||
return SqlConsts.BRACKET_LEFT + sql + SqlConsts.BRACKET_RIGHT + getAsKeyWord(dialect) + buildColumnAlias(alias, dialect);
|
||||
return SqlConsts.BRACKET_LEFT + sql + SqlConsts.BRACKET_RIGHT + buildColumnAlias(alias, dialect);
|
||||
}
|
||||
|
||||
static String buildAlias(String alias, IDialect dialect) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user