mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28: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" +
|
private static final String classTableTemplate = "package @package;\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"import com.mybatisflex.core.querywrapper.QueryColumn;\n" +
|
"import com.mybatisflex.core.query.QueryColumn;\n" +
|
||||||
"import com.mybatisflex.core.table.TableDef;\n" +
|
"import com.mybatisflex.core.table.TableDef;\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"// Auto generate by mybatis-flex, do not modify it.\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() {
|
public QueryOrderBy asc() {
|
||||||
QueryOrderBy queryOrderBy = new QueryOrderBy(this);
|
QueryOrderBy queryOrderBy = new QueryOrderBy(this);
|
||||||
return queryOrderBy;
|
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)) {
|
if (StringUtil.isNotBlank(table)) {
|
||||||
return dialect.wrap(table) + "." + dialect.wrap(column);
|
return dialect.wrap(table) + "." + dialect.wrap(column);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user