Split table async bug

This commit is contained in:
sunkaixuna
2021-11-15 12:44:22 +08:00
parent a35ca58786
commit 61f2cf432e

View File

@@ -45,7 +45,7 @@ namespace SqlSugar
{
this.Context.Ado.BeginTran();
var result = await _ExecuteCommandAsync();
this.Context.Ado.BeginTran();
this.Context.Ado.CommitTran();
return result;
}
catch (Exception ex)
@@ -91,7 +91,7 @@ namespace SqlSugar
{
this.Context.Ado.BeginTran();
var result = await _ExecuteReturnSnowflakeIdListAsync();
this.Context.Ado.BeginTran();
this.Context.Ado.CommitTran();
return result;
}
catch (Exception ex)