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