mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
Update oracle updateable
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user