Upddate core

This commit is contained in:
sunkaixuna
2021-12-22 13:21:17 +08:00
parent 5c573b6601
commit 660bb63c80

View File

@@ -40,7 +40,15 @@ namespace SqlSugar
{
if (base.UpdateObjs.Count() == 1)
{
return await base.ExecuteCommandAsync();
var result= await base.ExecuteCommandAsync();
if (result == -1)
{
return 1;
}
else
{
return result;
}
}
else if (base.UpdateObjs.Count() == 0)
{