mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
feat: 添加获取下一个生效条件方法。
This commit is contained in:
parent
2cfa6dfbf3
commit
087561f936
@ -240,6 +240,13 @@ public class QueryCondition implements CloneSupport<QueryCondition> {
|
||||
return prev.checkEffective() ? prev : prev.getPrevEffectiveCondition();
|
||||
}
|
||||
|
||||
protected QueryCondition getNextEffectiveCondition() {
|
||||
if (next == null) {
|
||||
return null;
|
||||
}
|
||||
return next.checkEffective() ? next : next.getNextEffectiveCondition();
|
||||
}
|
||||
|
||||
|
||||
protected void appendQuestionMark(StringBuilder sqlBuilder) {
|
||||
//noinspection StatementWithEmptyBody
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user