public JsonResult ListBD(FansSearch search, FormCollection form) { if (search == null) { search = new FansSearch(); } string mdsel = search.Mobile; search.ToUserName = base.CurrentMerchants.ToUserName == null ? "" : CurrentMerchants.ToUserName; PageView view = new PageView(form); string colkey = form["colkey"]; string colsinfo = form["colsinfo"]; PagedList <CUST_FANS_EX> pList = _service.QueryGetFansByMobile(search, view); JsonQTable fdata = JsonQTable.ConvertFromPagedList <CUST_FANS_EX>(pList, colkey, colsinfo.Split(',')); return(Json(fdata)); }
public PagedList <CUST_FANS_EX> QueryGetFansByMobile(FansSearch search, PageView view) { return(_set.QueryGetFansByMobile(search, view)); }