mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
commit
d454ff78d0
@ -52,7 +52,7 @@ public class BaseQueryWrapper<T> implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
protected T AddJoin(Join join) {
|
||||
protected T addJoin(Join join) {
|
||||
if (joins == null) {
|
||||
joins = new LinkedList<>();
|
||||
}
|
||||
|
||||
@ -267,13 +267,13 @@ public class QueryWrapper extends BaseQueryWrapper<QueryWrapper> {
|
||||
protected Joiner<QueryWrapper> joining(String type, String table, boolean condition) {
|
||||
Join join = new Join(type, table, condition);
|
||||
addJoinTable(join.getQueryTable());
|
||||
return new Joiner<>(AddJoin(join), join);
|
||||
return new Joiner<>(addJoin(join), join);
|
||||
}
|
||||
|
||||
protected Joiner<QueryWrapper> joining(String type, QueryWrapper queryWrapper, boolean condition) {
|
||||
Join join = new Join(type, queryWrapper, condition);
|
||||
addJoinTable(join.getQueryTable());
|
||||
return new Joiner<>(AddJoin(join), join);
|
||||
return new Joiner<>(addJoin(join), join);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user