mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
*修复GetScalarAsync死循环问题
This commit is contained in:
parent
921a2d1537
commit
59867d0f9d
@ -67,14 +67,14 @@ namespace SqlSugar.OceanBaseForOracle
|
||||
{
|
||||
if (this.Context.Ado.Transaction != null)
|
||||
{
|
||||
return await GetScalarAsync(sql, parameters);
|
||||
return await _GetScalarAsync(sql, parameters);
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
this.Context.Ado.BeginTran();
|
||||
var result = await GetScalarAsync(sql, parameters);
|
||||
var result = await _GetScalarAsync(sql, parameters);
|
||||
this.Context.Ado.CommitTran();
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user