mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 10:49:36 +08:00
Update exp to sql
This commit is contained in:
parent
65091b21c7
commit
4cb4eb693f
@ -41,7 +41,13 @@ namespace SqlSugar
|
||||
{
|
||||
var exp = expression as MethodCallExpression;
|
||||
var argExp = exp.Arguments[0];
|
||||
var result = "AND " + SubTools.GetMethodValue(this.Context, argExp, ResolveExpressType.WhereMultiple);
|
||||
var copyContext = this.Context;
|
||||
if (this.Context.JoinIndex > 0)
|
||||
{
|
||||
copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
}
|
||||
var result = "AND " + SubTools.GetMethodValue(copyContext, argExp, ResolveExpressType.WhereMultiple);
|
||||
|
||||
|
||||
var regex = @"^AND (\@Const\d+) $";
|
||||
|
Loading…
Reference in New Issue
Block a user