This commit is contained in:
sunkaixuna
2022-02-17 09:32:10 +08:00
parent a7254e61a2
commit 869f43d009
2 changed files with 11 additions and 11 deletions

View File

@@ -197,7 +197,7 @@ namespace SqlSugar.MySqlConnector
sql = FormatSql(sql);
SetConnectionStart(sql);
if (this.ProcessingEventStartingSQL != null)
ExecuteProcessingSQL(ref sql, parameters);
ExecuteProcessingSQL(ref sql,ref parameters);
ExecuteBefore(sql, parameters);
var sqlCommand =await GetCommandAsync(sql, parameters);
int count;
@@ -238,7 +238,7 @@ namespace SqlSugar.MySqlConnector
SetConnectionStart(sql);
var isSp = this.CommandType == CommandType.StoredProcedure;
if (this.ProcessingEventStartingSQL != null)
ExecuteProcessingSQL(ref sql, parameters);
ExecuteProcessingSQL(ref sql,ref parameters);
ExecuteBefore(sql, parameters);
var sqlCommand = await GetCommandAsync(sql, parameters);
DbDataReader sqlDataReader;
@@ -274,7 +274,7 @@ namespace SqlSugar.MySqlConnector
sql = FormatSql(sql);
SetConnectionStart(sql);
if (this.ProcessingEventStartingSQL != null)
ExecuteProcessingSQL(ref sql, parameters);
ExecuteProcessingSQL(ref sql,ref parameters);
ExecuteBefore(sql, parameters);
var sqlCommand = await GetCommandAsync(sql, parameters) ;
object scalar;