mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
v1.0.0 prepare
This commit is contained in:
parent
6ee22de73c
commit
ea47e95637
@ -58,7 +58,7 @@ public class QueryEntityProcesser extends AbstractProcessor {
|
||||
|
||||
private static final String classTableTemplate = "package @package;\n" +
|
||||
"\n" +
|
||||
"import com.mybatisflex.core.querywrapper.QueryColumn;\n" +
|
||||
"import com.mybatisflex.core.query.QueryColumn;\n" +
|
||||
"import com.mybatisflex.core.table.TableDef;\n" +
|
||||
"\n" +
|
||||
"// Auto generate by mybatis-flex, do not modify it.\n" +
|
||||
|
||||
@ -288,7 +288,7 @@ public class QueryColumn implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
////orrder by ////
|
||||
////order by ////
|
||||
public QueryOrderBy asc() {
|
||||
QueryOrderBy queryOrderBy = new QueryOrderBy(this);
|
||||
return queryOrderBy;
|
||||
@ -300,7 +300,7 @@ public class QueryColumn implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
public String wrap(IDialect dialect, String table, String column) {
|
||||
protected String wrap(IDialect dialect, String table, String column) {
|
||||
if (StringUtil.isNotBlank(table)) {
|
||||
return dialect.wrap(table) + "." + dialect.wrap(column);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user