修正問題

This commit is contained in:
2026-02-04 17:43:35 +08:00
parent 6fdce11152
commit 46cbcbde4c
3 changed files with 7 additions and 3 deletions

View File

@@ -750,7 +750,7 @@ public class activityController : ApiController
//已有值
var count = qry.Count(); //pageSize = count;//一次取回??
var qryList = (pageSize > 0) ? qry.ToPagedList(page, pageSize).ToList() : qry.ToList();
var qryList = (pageSize > 0) ? qry.OrderBy(a=>a.num).ToPagedList(page, pageSize).ToList() : qry.ToList();
var ret = new
{
list = qryList.Select(x => new