添加一个QueryTable,参数的构造器

This commit is contained in:
庄佳彬 2023-06-07 09:53:19 +08:00
parent 9b08c9a7c5
commit 6e1a30fb8e

View File

@ -54,6 +54,12 @@ public class QueryColumn implements Serializable {
this.name = name;
}
public QueryColumn(QueryTable queryTable, String name) {
SqlUtil.keepColumnSafely(name);
this.table = queryTable;
this.name = name;
}
public QueryTable getTable() {
return table;