Update exp to sql

This commit is contained in:
sunkaixuan
2022-11-22 13:33:32 +08:00
parent 48b1b68cc2
commit 2d73653a68
2 changed files with 11 additions and 2 deletions

View File

@@ -53,7 +53,10 @@ namespace SqlSugar
}
var result = "WHERE " + SubTools.GetMethodValue(copyContext, argExp, ResolveExpressType.WhereMultiple);
if (this.Context.JoinIndex > 0)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
}
var regex = @"^WHERE (\@Const\d+) $";
if (this.Context is OracleExpressionContext)