コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }