public JsonResult List(VerificationRecordQuery query, int page, int rows) { query.PageNo = page; query.PageSize = rows; var orderVerificationCode = OrderApplication.GetOrderVerificationCodeInfos(query); DataGridModel <OrderVerificationCodeModel> dataGrid = new DataGridModel <OrderVerificationCodeModel>() { rows = orderVerificationCode.Models, total = orderVerificationCode.Total }; return(Json(dataGrid)); }
public JsonResult List(VerificationRecordQuery query, int page, int rows) { query.IsAll = query.ShopBranchId == null; query.IsShop = query.ShopBranchId.HasValue && query.ShopBranchId.Value == 0; query.ShopId = CurrentSellerManager.ShopId; query.PageNo = page; query.PageSize = rows; var orderVerificationCode = OrderApplication.GetOrderVerificationCodeInfos(query); DataGridModel <OrderVerificationCodeModel> dataGrid = new DataGridModel <OrderVerificationCodeModel>() { rows = orderVerificationCode.Models, total = orderVerificationCode.Total }; return(Json(dataGrid)); }