public JsonResult GetList(GridPager pager, string queryStr) { List <Apps.Models.Spm.ExViewModel> list; list = OpeCur.ServiceSession.Spm_ExpressInfo.GetViewList(ref pager, queryStr, LambdaHelper.CreateEquals <Spm_ExpressInfo>("Company", OpeCur.AccountNow.AllMerchant, OpeCur.UsrHasMerchantCode)); if (list == null) { return(OpeCur.AjaxMsgNOOK("没有符合条件的数据!")); } GridRows <Apps.Models.Spm.ExViewModel> grs = new GridRows <Apps.Models.Spm.ExViewModel>(); grs.rows = list; grs.total = pager.totalRows; return(Json(grs)); }