Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public PagedList <CUST_FANS_EX> QueryGetFansByMobile(FansSearch search, PageView view)
 {
     return(_set.QueryGetFansByMobile(search, view));
 }