From ca7a853184f8d9dda3be1791b2b0f5f86688d416 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 16 Nov 2017 11:15:16 +0800 Subject: [PATCH] Update Core --- Src/Asp.Net/SqlSugar/SqlSugar.nuspec | 2 +- .../SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs | 2 +- Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugar.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/SqlSugar.nuspec b/Src/Asp.Net/SqlSugar/SqlSugar.nuspec index 5b61484c3..1d101a91c 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugar.nuspec +++ b/Src/Asp.Net/SqlSugar/SqlSugar.nuspec @@ -2,7 +2,7 @@ sqlSugar - 4.6.0.4 + 4.6.0.5 SqlSugar .Net Framework 4.0+ ORM sun kaixuan landa diff --git a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs index 72776e72c..bbd72d5a2 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs @@ -1009,7 +1009,7 @@ namespace SqlSugar foreach (var item in list) { var filterResult = item.FilterValue(this.Context); - Where(SqlBuilder.AppendWhereOrAnd(QueryBuilder.WhereInfos.IsNullOrEmpty(), filterResult.Sql), filterResult.Parameters); + Where(filterResult.Sql, filterResult.Parameters); } } } diff --git a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugar.csproj b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugar.csproj index ccd143783..0b215582b 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugar.csproj +++ b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugar.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 4.6.0.4 + 4.6.0.5 sun_kai_xuan https://github.com/sunkaixuan/SqlSugar