mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 18:59:35 +08:00
Update exp to sql
This commit is contained in:
parent
d8264000ba
commit
74143f63ad
@ -217,7 +217,14 @@ namespace SqlSugar
|
||||
var p = (leftExp as MemberExpression);
|
||||
this.Context.SingleTableNameSubqueryShortName=p.Expression.ToString();
|
||||
}
|
||||
base.Context.Result.Append($" {leftSql} {not} in ({rightSql}) ");
|
||||
if (UtilMethods.IsParentheses(rightSql+""))
|
||||
{
|
||||
base.Context.Result.Append($" {leftSql} {not} in {rightSql} ");
|
||||
}
|
||||
else
|
||||
{
|
||||
base.Context.Result.Append($" {leftSql} {not} in ({rightSql}) ");
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsGroupSubquery(Expression rightExpression, string operatorValue)
|
||||
|
Loading…
Reference in New Issue
Block a user