mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-20 15:09:33 +08:00
Synchronization code
This commit is contained in:
parent
da20086167
commit
04abde26cd
@ -112,7 +112,11 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return 0;
|
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);
|
After(sql);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user