mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 修复 Array.Any OR 表达式树解析 bug;
This commit is contained in:
@ -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()})";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user