コード例 #1
0
        public ActionResult ExportPendingSettlementList(string shopName)
        {
            var query = new StatisticsPendingSettlementQuery();

            query.ShopName = shopName;
            var result    = BillingApplication.AllStatisticsPendingSettlementOrders(query);
            var shopNames = ShopApplication.GetShopNames(result.Select(p => p.ShopId).ToList());

            var model = new ExportPendingSettlementListModel();

            model.Data          = result;
            model.ShopNames     = shopNames;
            model.SettmentCycle = BillingApplication.GetCurrentBilingTime();

            return(ExcelView("待结算列表", model));
        }