Oracle Update Bug

This commit is contained in:
sunkaixuan
2018-02-24 16:43:38 +08:00
parent 2e9a331e3c
commit c95c0e086f

View File

@@ -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();
}
}
}
}