Browse Source

Filter BUG

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
53226f9c52
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

2
Src/Asp.Net/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);
}
}
}

Loading…
Cancel
Save