mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 修复 WhereDynamicFilter 多级 Logic 未生效的 bug;
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user