Browse Source

Update exp to sql

pull/40/head
sunkaixuan 1 year ago
parent
commit
7da9eacdf2
  1. 2
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BinaryExpressionResolve.cs

2
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BinaryExpressionResolve.cs

@ -250,7 +250,7 @@ namespace SqlSugar
}
private void InSubGroupBy(BinaryExpression expression,string not)
{
var leftSql = GetNewExpressionValue(expression.Left);
var leftSql = GetNewExpressionValue(ExpressionTool.RemoveConvert(expression.Left));
var rightExpression = expression.Right as MethodCallExpression;
if (rightExpression.Arguments[0] is LambdaExpression)
{

Loading…
Cancel
Save