mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
fix: QueryCondition 深度克隆指向错误。
This commit is contained in:
parent
509b23bd2a
commit
9507abb95f
@ -306,8 +306,8 @@ public class QueryCondition implements CloneSupport<QueryCondition> {
|
||||
clone.column = ObjectUtil.clone(this.column);
|
||||
clone.value = ObjectUtil.cloneObject(this.value);
|
||||
clone.before = clone.next = null;
|
||||
for (QueryCondition x = next; x != null; x = x.next) {
|
||||
clone.next = x.clone();
|
||||
if (this.next != null) {
|
||||
clone.next = this.next.clone();
|
||||
clone.next.before = clone;
|
||||
}
|
||||
return clone;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user