mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
添加一个QueryTable,参数的构造器
This commit is contained in:
parent
9b08c9a7c5
commit
6e1a30fb8e
@ -54,6 +54,12 @@ public class QueryColumn implements Serializable {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public QueryColumn(QueryTable queryTable, String name) {
|
||||||
|
SqlUtil.keepColumnSafely(name);
|
||||||
|
this.table = queryTable;
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public QueryTable getTable() {
|
public QueryTable getTable() {
|
||||||
return table;
|
return table;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user