diff --git a/mybatis-plus-ext-core/mybatis-plus-ext-condition/src/main/java/com/tangzc/mpe/condition/DynamicConditionManager.java b/mybatis-plus-ext-core/mybatis-plus-ext-condition/src/main/java/com/tangzc/mpe/condition/DynamicConditionManager.java index d5f28b05e4e3e487f755c26278330392df240a1a..b3f1db27f86064404a4df889059d59007f193668 100644 --- a/mybatis-plus-ext-core/mybatis-plus-ext-condition/src/main/java/com/tangzc/mpe/condition/DynamicConditionManager.java +++ b/mybatis-plus-ext-core/mybatis-plus-ext-condition/src/main/java/com/tangzc/mpe/condition/DynamicConditionManager.java @@ -127,8 +127,8 @@ public class DynamicConditionManager extends JsqlParserSupport implements InnerI processPlainSelect((PlainSelect) selectBody); } else if (selectBody instanceof WithItem) { WithItem withItem = (WithItem) selectBody; - if (withItem.getSelectBody() != null) { - processSelectBody(withItem.getSelectBody()); + if (withItem.getSubSelect().getSelectBody() != null) { + processSelectBody(withItem.getSubSelect().getSelectBody()); } } else { SetOperationList operationList = (SetOperationList) selectBody; diff --git a/pom.xml b/pom.xml index 2e55e4e6fd1eb5722ae9897079091276744e46ae..5804f31cc6e9de94c9ad96b85390f0e1a9b8538d 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 2.3.12.RELEASE - 3.4.3.1 + 3.4.3.2 30.0-jre @@ -200,4 +200,4 @@ ${projectUrl} - \ No newline at end of file +