mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 21:19:34 +08:00
Synchronization code
This commit is contained in:
parent
da20086167
commit
04abde26cd
@ -112,7 +112,11 @@ namespace SqlSugar
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
var result = this.Ado.ExecuteCommand(sql, UpdateBuilder.Parameters == null ? null : UpdateBuilder.Parameters.ToArray());
|
||||
var result = 0;
|
||||
if (sql != Environment.NewLine)
|
||||
{
|
||||
result = this.Ado.ExecuteCommand(sql, UpdateBuilder.Parameters == null ? null : UpdateBuilder.Parameters.ToArray());
|
||||
}
|
||||
After(sql);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user