- 修复 Array.Any OR 表达式树解析 bug;

This commit is contained in:
2881099
2023-02-07 10:49:52 +08:00
parent f68f7d8277
commit 7e39e1bb18
2 changed files with 41 additions and 2 deletions

View File

@ -1113,7 +1113,7 @@ namespace FreeSql.Internal
exp3sb.Append(" OR ").Append(ExpressionLambdaToSql(exp3NewExp, tsc));
}
if (exp3sb.Length == 0) return "1=2";
return exp3sb.Remove(0, 4).ToString();
return $"({exp3sb.Remove(0, 4).ToString()})";
}
}
}