mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
d4f085acee
commit
ffec21f6fc
@ -99,7 +99,14 @@ namespace SqlSugar
|
||||
methodParamter
|
||||
}
|
||||
});
|
||||
this.Context.Result.Append(result);
|
||||
if (nodeType == ExpressionType.Not&& memberExpression.Member.Name=="HasValue")
|
||||
{
|
||||
this.Context.Result.Append("NOT" + result );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Context.Result.Append(result);
|
||||
}
|
||||
parameter.CommonTempData = null;
|
||||
}
|
||||
}
|
||||
|
@ -73,6 +73,7 @@ namespace SqlSugar
|
||||
}
|
||||
var argLambda = argExp as LambdaExpression;
|
||||
var copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
copyContext.Resolve(argLambda, ResolveExpressType.SelectMultiple);
|
||||
var select= copyContext.Result.GetString();
|
||||
this.Context.Parameters.AddRange(copyContext.Parameters);
|
||||
@ -174,6 +175,7 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
var copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
copyContext.Resolve(bodyExp, ResolveExpressType.SelectMultiple);
|
||||
var select = copyContext.Result.GetString();
|
||||
if (dic.Count > 0 && appendColumns.Count == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user