예제 #1
0
        public JsonResult List(DateTime?startDate, DateTime?endDate, DateTime?startDates, DateTime?endDates, string shopName, int Status, int page, int rows)
        {
            Himall.CommonModel.WithdrawQuery query = new CommonModel.WithdrawQuery()
            {
                ApplyStartTime   = startDate,
                ApplyEndTime     = endDate,
                AuditedStartTime = startDates,
                AuditedEndTime   = endDates,
                ShopName         = shopName,
                Status           = (Himall.CommonModel.WithdrawStaus?)Status,
                PageSize         = rows,
                PageNo           = page
            };
            var model = BillingApplication.GetShopWithDraw(query);

            return(Json(new { rows = model.Models, total = model.Total }));
        }
예제 #2
0
        public JsonResult List(DateTime?startDate, DateTime?endDate, DateTime?startDates, DateTime?endDates, long?WithdrawStaus, long?Id, int Status, int page, int rows)
        {
            WithdrawQuery query = new WithdrawQuery()
            {
                ApplyStartTime   = startDate,
                ApplyEndTime     = endDate,
                AuditedStartTime = startDates,
                AuditedEndTime   = endDates,
                Id       = Id,
                Status   = (Himall.CommonModel.WithdrawStaus?)WithdrawStaus,
                ShopId   = CurrentSellerManager.ShopId,
                PageSize = rows,
                PageNo   = page
            };
            var model = BillingApplication.GetShopWithDraw(query);

            return(Json(new { rows = model.Models, total = model.Total }));
        }
예제 #3
0
        public JsonResult List(WithdrawQuery query)
        {
            var model = BillingApplication.GetShopWithDraw(query);

            return(Json(new { rows = model.Models, total = model.Total }));
        }