mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Upddate core
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user