mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: 修复EXISTS、NOT EXISTS的子select语句无法自动附加逻辑删除的问题
This commit is contained in:
parent
70a97bb0eb
commit
66ca2981da
@ -50,7 +50,12 @@ class WrapperUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// not Brackets
|
// not Brackets
|
||||||
else {
|
else if (condition instanceof OperatorSelectCondition) {
|
||||||
|
if (list == null) {
|
||||||
|
list = new ArrayList<>();
|
||||||
|
}
|
||||||
|
list.add(((OperatorSelectCondition) condition).getQueryWrapper());
|
||||||
|
} else {
|
||||||
Object value = condition.getValue();
|
Object value = condition.getValue();
|
||||||
if (value instanceof QueryWrapper) {
|
if (value instanceof QueryWrapper) {
|
||||||
if (list == null) {
|
if (list == null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user