From c9bf458561e8292a4de9ff209508da852c8ca19c Mon Sep 17 00:00:00 2001 From: nichenqin Date: Sun, 18 Aug 2024 00:01:01 +0800 Subject: [PATCH] fix: fix cond --- packages/persistence/src/abstract-qb.visitor.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/persistence/src/abstract-qb.visitor.ts b/packages/persistence/src/abstract-qb.visitor.ts index 382bcd9a8..28d40e5ef 100644 --- a/packages/persistence/src/abstract-qb.visitor.ts +++ b/packages/persistence/src/abstract-qb.visitor.ts @@ -45,8 +45,8 @@ export abstract class AbstractQBVisitor implements IAbastractQBVisitor, ISpec const rv = this.clone() right.accept(rv) - const cond = this.eb.and([lv.cond, rv.cond]) - this.addCond(cond) + // const cond = this.eb.and([lv.cond, rv.cond]) + // this.addCond(cond) return this } @@ -58,8 +58,8 @@ export abstract class AbstractQBVisitor implements IAbastractQBVisitor, ISpec const rv = this.clone() right.accept(rv) - const cond = this.eb.or([lv.cond, rv.cond]) - this.addCond(cond) + // const cond = this.eb.or([lv.cond, rv.cond]) + // this.addCond(cond) return this } @@ -69,7 +69,7 @@ export abstract class AbstractQBVisitor implements IAbastractQBVisitor, ISpec v.setIsNot() spec.accept(v) - this.addCond(v.cond) + // this.addCond(v.cond) return this }