mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Optimize return increment
This commit is contained in:
parent
446be42173
commit
042ed6cba4
@ -162,7 +162,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
result = Convert.ToInt64(Ado.GetScalar(sql, InsertBuilder.Parameters == null ? null : InsertBuilder.Parameters.ToArray()));
|
||||
result = (Ado.GetScalar(sql, InsertBuilder.Parameters == null ? null : InsertBuilder.Parameters.ToArray())).ObjToLong();
|
||||
}
|
||||
After(sql, result);
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user