Update exp to sql

This commit is contained in:
sunkaixuan
2022-11-23 11:35:36 +08:00
parent 25285367de
commit f81434b5fa
4 changed files with 8 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ namespace SqlSugar
if (this.Context.JoinIndex > 0)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
this.Context.Index = copyContext.Index;
this.Context.ParameterIndex = copyContext.ParameterIndex;
}
var regex = @"^AND (\@Const\d+) $";

View File

@@ -56,6 +56,8 @@ namespace SqlSugar
if (this.Context.JoinIndex > 0)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
this.Context.Index = copyContext.Index;
this.Context.ParameterIndex = copyContext.ParameterIndex;
}
var regex = @"^WHERE (\@Const\d+) $";

View File

@@ -54,6 +54,8 @@ namespace SqlSugar
if (this.Context.JoinIndex > 0)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
this.Context.Index = copyContext.Index;
this.Context.ParameterIndex = copyContext.ParameterIndex;
}
var regex = @"^AND (\@Const\d+) $";

View File

@@ -56,6 +56,8 @@ namespace SqlSugar
if (this.Context.JoinIndex > 0)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
this.Context.Index = copyContext.Index;
this.Context.ParameterIndex = copyContext.ParameterIndex;
}
var regex = @"^WHERE (\@Const\d+) $";