mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
Merge pull request #44 from z2z2qp/main
QueryColumn 添加一个含QueryTable的构造器
This commit is contained in:
commit
ecf6bba251
@ -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;
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>druid</artifactId>
|
<artifactId>druid</artifactId>
|
||||||
<version>1.2.17</version>
|
<version>1.2.18</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user