From cbfb8a8f726a84ee3173a31795cb88578f9b2573 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Sat, 10 Jun 2023 13:59:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20QueryCondition=20=E6=8C=87=E9=92=88?= =?UTF-8?q?=E6=8C=87=E5=90=91=E9=94=99=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mybatisflex/core/query/QueryCondition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {