mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: QueryWrapperAdapter 的 Join 方法泛型错误。
This commit is contained in:
parent
44d21262f5
commit
62f3a71bc4
@ -261,12 +261,10 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> leftJoin(QueryTable table) {
|
||||
public Joiner<R> leftJoin(QueryTable table) {
|
||||
return super.leftJoin(table);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public Joiner<R> leftJoin(String table) {
|
||||
return super.leftJoin(table);
|
||||
@ -298,11 +296,10 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> rightJoin(QueryTable table) {
|
||||
public Joiner<R> rightJoin(QueryTable table) {
|
||||
return super.rightJoin(table);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Joiner<R> rightJoin(String table) {
|
||||
return super.rightJoin(table);
|
||||
@ -334,7 +331,7 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> innerJoin(QueryTable table) {
|
||||
public Joiner<R> innerJoin(QueryTable table) {
|
||||
return super.innerJoin(table);
|
||||
}
|
||||
|
||||
@ -369,7 +366,7 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> fullJoin(QueryTable table) {
|
||||
public Joiner<R> fullJoin(QueryTable table) {
|
||||
return super.fullJoin(table);
|
||||
}
|
||||
|
||||
@ -404,7 +401,7 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> crossJoin(QueryTable table) {
|
||||
public Joiner<R> crossJoin(QueryTable table) {
|
||||
return super.crossJoin(table);
|
||||
}
|
||||
|
||||
@ -439,7 +436,7 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
}
|
||||
|
||||
@Override
|
||||
public <Q extends QueryWrapper> Joiner<Q> join(QueryTable table) {
|
||||
public Joiner<R> join(QueryTable table) {
|
||||
return super.join(table);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user