Update oracle updateable

This commit is contained in:
sunkaixuna 2021-11-10 03:41:17 +08:00
parent 4324f30728
commit 42eafeb1f6

View File

@ -16,7 +16,15 @@ namespace SqlSugar
{
if (base.UpdateObjs.Count() == 1)
{
return base.ExecuteCommand();
var resultl= base.ExecuteCommand();
if (resultl == -1)
{
return 1;
}
else
{
return resultl;
}
}
else if (base.UpdateObjs.Count() == 0)
{