mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update exp to sql
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user