Update json 2 sql

This commit is contained in:
sunkaixuan 2022-06-20 13:54:14 +08:00
parent 370e72d697
commit c944ad50d0

View File

@ -12,12 +12,12 @@ namespace SqlSugar
{
private int AppendPageSize(JToken item)
{
return Convert.ToInt32(item.First());
return Convert.ToInt32(item.First().ToString().ObjToInt());
}
private int AppendPageNumber(JToken item)
{
var result= Convert.ToInt32(item.First());
var result = Convert.ToInt32(item.First().ToString().ObjToInt());
if (result == 0)
{
result = 1;