diff --git a/Src/Asp.Net/SqlSugar/Json2Sql/Provider/Queryable/AppendPage.cs b/Src/Asp.Net/SqlSugar/Json2Sql/Provider/Queryable/AppendPage.cs index 460c3d7dd..fc9740fda 100644 --- a/Src/Asp.Net/SqlSugar/Json2Sql/Provider/Queryable/AppendPage.cs +++ b/Src/Asp.Net/SqlSugar/Json2Sql/Provider/Queryable/AppendPage.cs @@ -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;