mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update exp to sql
This commit is contained in:
@@ -217,8 +217,15 @@ namespace SqlSugar
|
|||||||
var p = (leftExp as MemberExpression);
|
var p = (leftExp as MemberExpression);
|
||||||
this.Context.SingleTableNameSubqueryShortName=p.Expression.ToString();
|
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}) ");
|
base.Context.Result.Append($" {leftSql} {not} in ({rightSql}) ");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private bool IsGroupSubquery(Expression rightExpression, string operatorValue)
|
private bool IsGroupSubquery(Expression rightExpression, string operatorValue)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user