diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryCondition.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryCondition.java index 4f580b52..da293ab1 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryCondition.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryCondition.java @@ -308,7 +308,7 @@ public class QueryCondition implements CloneSupport { clone.before = clone.next = null; for (QueryCondition x = next; x != null; x = x.next) { clone.next = x.clone(); - clone.next.before = this; + clone.next.before = clone; } return clone; } catch (CloneNotSupportedException e) {