mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update exp to sql
This commit is contained in:
@@ -217,8 +217,15 @@ namespace SqlSugar
|
||||
var p = (leftExp as MemberExpression);
|
||||
this.Context.SingleTableNameSubqueryShortName=p.Expression.ToString();
|
||||
}
|
||||
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