mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-06 05:37:58 +08:00
Update exp to sql
This commit is contained in:
parent
e9754c2f4b
commit
65091b21c7
@ -45,7 +45,13 @@ namespace SqlSugar
|
||||
new SubSelect() { Context = this.Context }.SetShortName(exp, "+");
|
||||
}
|
||||
var argExp = exp.Arguments[0];
|
||||
var result = "WHERE " + SubTools.GetMethodValue(Context, argExp, ResolveExpressType.WhereMultiple);
|
||||
var copyContext = this.Context;
|
||||
if (this.Context.JoinIndex > 0)
|
||||
{
|
||||
copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
}
|
||||
var result = "WHERE " + SubTools.GetMethodValue(copyContext, argExp, ResolveExpressType.WhereMultiple);
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user