mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Oracle Update Bug
This commit is contained in:
@@ -13,8 +13,15 @@ namespace SqlSugar
|
||||
}
|
||||
public override int ExecuteCommand()
|
||||
{
|
||||
base.ExecuteCommand();
|
||||
return base.UpdateObjs.Count();
|
||||
if (base.UpdateObjs.Count() == 1)
|
||||
{
|
||||
return base.ExecuteCommand();
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ExecuteCommand();
|
||||
return base.UpdateObjs.Count();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user