/// <summary>
        /// 提现信息列表
        /// </summary>
        /// <returns></returns>
        public ActionResult ExportShopWithDraw(DateTime?applyStartTime, DateTime?applyEndTime, DateTime?auditedStartTime, DateTime?auditedEndTime, long?staus)
        {
            var query = new CommonModel.WithdrawQuery()
            {
                ApplyStartTime   = applyStartTime,
                ApplyEndTime     = applyEndTime,
                AuditedStartTime = auditedStartTime,
                AuditedEndTime   = auditedEndTime,
                Status           = (Himall.CommonModel.WithdrawStaus?)staus,
                ShopId           = CurrentSellerManager.ShopId,
            };
            var models = BillingApplication.GetShopWithDrawNoPage(query);

            return(ExcelView("提现明细", models));
        }
Esempio n. 2
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 }));
        }