mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
feat: 优化 ActiveRecord Join 自己。
This commit is contained in:
parent
62f3a71bc4
commit
a18c18e769
@ -16,7 +16,6 @@
|
||||
|
||||
package com.mybatisflex.core.activerecord.query;
|
||||
|
||||
import com.mybatisflex.core.query.CPI;
|
||||
import com.mybatisflex.core.query.Join;
|
||||
import com.mybatisflex.core.query.QueryCondition;
|
||||
import com.mybatisflex.core.query.RawQueryCondition;
|
||||
@ -37,11 +36,6 @@ public class JoinBuilder<R extends QueryModel<R>> {
|
||||
this.join = join;
|
||||
}
|
||||
|
||||
public JoinBuilder<R> as(String alias) {
|
||||
CPI.getJoinQueryTable(join).as(alias);
|
||||
return this;
|
||||
}
|
||||
|
||||
public R on(String on) {
|
||||
join.on(new RawQueryCondition(on));
|
||||
return queryModel;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user