|
|
@ -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; |
|
|
|