mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Upddate core
This commit is contained in:
@@ -40,7 +40,15 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (base.UpdateObjs.Count() == 1)
|
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)
|
else if (base.UpdateObjs.Count() == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user