- 修复 WhereDynamicFilter 多级 Logic 未生效的 bug;

This commit is contained in:
28810
2020-07-03 15:04:07 +08:00
parent a41da0dc95
commit 181813ce1a
3 changed files with 20 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ namespace FreeSql.Internal.CommonProvider
{
if (string.IsNullOrEmpty(fi.Field) == false || fi.Filters?.Any() == true)
{
switch (filter.Logic)
switch (logic)
{
case DynamicFilterLogic.And: sb.Append(" AND "); break;
case DynamicFilterLogic.Or: sb.Append(" OR "); break;