mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 17:48:25 +08:00
refactor: 移除无用方法。
This commit is contained in:
parent
16b0095157
commit
3d0854a2d2
@ -20,8 +20,6 @@ import com.mybatisflex.core.util.ObjectUtil;
|
|||||||
import com.mybatisflex.core.util.StringUtil;
|
import com.mybatisflex.core.util.StringUtil;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.BooleanSupplier;
|
|
||||||
import java.util.function.Predicate;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 括号
|
* 括号
|
||||||
@ -59,25 +57,6 @@ public class Brackets extends QueryCondition {
|
|||||||
childCondition.setLogic(logic);
|
childCondition.setLogic(logic);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public QueryCondition when(boolean effective) {
|
|
||||||
return childCondition.when(effective);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public QueryCondition when(BooleanSupplier fn) {
|
|
||||||
return childCondition.when(fn);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 继承自标记删除的方法
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@Deprecated
|
|
||||||
public <T> QueryCondition when(Predicate<T> fn) {
|
|
||||||
return childCondition.when(fn);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected QueryCondition getNextEffectiveCondition() {
|
protected QueryCondition getNextEffectiveCondition() {
|
||||||
return childCondition.getNextEffectiveCondition();
|
return childCondition.getNextEffectiveCondition();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user