From 33e2b0f8a7391479eecc988c7d356b50c6888ddd Mon Sep 17 00:00:00 2001 From: wangwei28006 Date: Tue, 19 Dec 2023 17:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Din=E3=80=81notIn=E3=80=81betw?= =?UTF-8?q?een=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=85=A5=E5=8F=82=E4=BC=A0=E5=85=A5PropertyCondition=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E5=87=BD=E6=95=B0=E5=BD=93=E4=BD=9C=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E4=B8=AA=E5=8F=82=E6=95=B0=E5=A4=84=E7=90=86=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangw <1062204839@qq.com> --- library/src/main/ets/core/Property.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/src/main/ets/core/Property.ts b/library/src/main/ets/core/Property.ts index af258f1..73df5e1 100644 --- a/library/src/main/ets/core/Property.ts +++ b/library/src/main/ets/core/Property.ts @@ -127,34 +127,34 @@ export class Property { /** Creates an "BETWEEN ... AND ..." condition for this property. */ public between(value1: any, value2: any): WhereCondition { let values: any[] = [value1, value2]; - return new PropertyCondition(this, "between", values); + return new PropertyCondition(this, "between", undefined, values); } public betweenSql(value1: any, value2: any): WhereCondition { let values: any[] = [value1, value2]; - return new PropertyCondition(this, " BETWEEN ? AND ?", values); + return new PropertyCondition(this, " BETWEEN ? AND ?", undefined, values); } /** Creates an "IN (..., ..., ...)" condition for this property. */ public inData(...inValues: any[]): WhereCondition { - return new PropertyCondition(this, "in", inValues); + return new PropertyCondition(this, "in", undefined, inValues); } public inDataSql(...inValues: any[]): WhereCondition { let condition = new StringBuilder(" IN ("); SqlUtils.appendPlaceholders(condition.toString(), inValues.length).concat(')'); - return new PropertyCondition(this, condition.toString(), inValues); + return new PropertyCondition(this, condition.toString(), undefined, inValues); } /** Creates an "NOT IN (..., ..., ...)" condition for this property. */ public notIn(...notInValues: any[]): WhereCondition { - return new PropertyCondition(this, "notIn", notInValues); + return new PropertyCondition(this, "notIn", undefined, notInValues); } public notInSql(...notInValues: any[]): WhereCondition { let condition = new StringBuilder(" NOT IN ("); SqlUtils.appendPlaceholders(condition.toString(), notInValues.length).concat(')'); - return new PropertyCondition(this, condition.toString(), notInValues); + return new PropertyCondition(this, condition.toString(), undefined, notInValues); } /** Creates an "greater than ('>')" condition for this property. */ -- Gitee