mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
feat: 添加遍历 where 条件的方法。
This commit is contained in:
parent
087561f936
commit
1f4dcff8b6
@ -133,11 +133,22 @@ public class CPI {
|
||||
queryWrapper.addJoin(join);
|
||||
}
|
||||
|
||||
public static QueryCondition getPrevCondition(QueryCondition queryCondition) {
|
||||
return queryCondition.getPrevEffectiveCondition();
|
||||
}
|
||||
|
||||
public static QueryCondition getNextCondition(QueryCondition queryCondition) {
|
||||
return queryCondition.getNextEffectiveCondition();
|
||||
}
|
||||
|
||||
public static QueryCondition getWhereQueryCondition(QueryWrapper queryWrapper) {
|
||||
return queryWrapper.getWhereQueryCondition();
|
||||
}
|
||||
|
||||
public static void setWhereQueryCondition(QueryWrapper queryWrapper, QueryCondition queryCondition) {
|
||||
queryWrapper.setWhereQueryCondition(queryCondition);
|
||||
}
|
||||
|
||||
public static void addWhereQueryCondition(QueryWrapper queryWrapper, QueryCondition queryCondition, SqlConnector connector) {
|
||||
queryWrapper.addWhereQueryCondition(queryCondition, connector);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user