mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 05:13:27 +08:00
Update json 2 sql
This commit is contained in:
parent
5e9be3c1e9
commit
370e72d697
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user