mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
bc767fc045
commit
47e845cf88
@ -104,7 +104,7 @@ namespace SqlSugar
|
||||
public override DbCommand GetCommand(string sql, SugarParameter[] parameters)
|
||||
{
|
||||
sql = ReplaceKeyWordParameterName(sql, parameters);
|
||||
if (sql?.EndsWith(';')==true&& sql?.TrimStart()?.StartsWith("begin")!=true)
|
||||
if (sql?.EndsWith(";")==true&& sql?.TrimStart()?.StartsWith("begin")!=true)
|
||||
{
|
||||
sql=sql.TrimEnd(';');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user