public string GetAllFkd() { return(base.ExecuteActionJsonResult("获取感染反馈单列表", () => { CommonFilter filter = GetPageData <CommonFilter>(0); List <BUS_YGDCFKD> list = feedBackService.GetAllFkd(filter).ToList(); if (list.Count <= 0) { return new WebApi_Result() { code = 1, msg = "未查询到任何数据" }; } int curpage = 0, limit = 3; int.TryParse(Request["page"], out curpage); int.TryParse(Request["limit"], out limit); var myskip = curpage > 0 ? limit * (curpage - 1) : 0; return new WebApi_Result() { data = list.Skip(myskip).Take(limit), count = list.Count }; //return new WebApi_Result() { data = list, count = list.Count }; })); }