mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-06-02 11:59:41 +08:00
Merge branch 'master' into dev
This commit is contained in:
@@ -484,14 +484,14 @@ public class NamedTable extends Attributes<Object> {
|
||||
}
|
||||
builder.append(" from ").append(tableName);
|
||||
List<Object> params = buildWhere(builder);
|
||||
if (!groups.isEmpty()) {
|
||||
builder.append(" group by ");
|
||||
builder.append(String.join(",", groups));
|
||||
}
|
||||
if (!orders.isEmpty()) {
|
||||
builder.append(" order by ");
|
||||
builder.append(String.join(",", orders));
|
||||
}
|
||||
if (!groups.isEmpty()) {
|
||||
builder.append(" group by ");
|
||||
builder.append(String.join(",", groups));
|
||||
}
|
||||
BoundSql boundSql = new BoundSql(runtimeContext, builder.toString(), params, sqlModule);
|
||||
boundSql.setExcludeColumns(excludeColumns);
|
||||
return boundSql;
|
||||
|
||||
Reference in New Issue
Block a user