Esempio n. 1
0
 public MerchantPayController(MerchantPayProductService mpService, IExcelClient excelClient, PayChannelService payChannelService, PayProductService payProductService)
 {
     this._mpService         = mpService;
     this.excelClient        = excelClient;
     this._payChannelService = payChannelService;
     this._payProductService = payProductService;
 }
Esempio n. 2
0
 public MerchantController(MerchantService merchantService, MerchantBankService merchantBankService, V_MerchantPayService vMerchantPayService, IExcelClient excelClient, PayProductService payProductService)
 {
     this._merchantService     = merchantService;
     this.excelClient          = excelClient;
     this._merchantBankService = merchantBankService;
     this._vMerchantPayService = vMerchantPayService;
     this._payProductService   = payProductService;
 }
Esempio n. 3
0
        public static void MultiSheetHttpExport(this IExcelClient client, Dictionary <Type, List <object> > source, string fileName = "")
        {
            XSSFWorkbook wb = new XSSFWorkbook();

            CreateExcel(source, wb);
            if (string.IsNullOrEmpty(fileName))
            {
                fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
            }
            HttpContext.Current.Response.Clear();
            HttpContext.Current.Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
            HttpContext.Current.Response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}.xlsx", fileName));
            wb.Write(HttpContext.Current.Response.OutputStream);
            HttpContext.Current.Response.Flush();
            HttpContext.Current.Response.End();
        }
Esempio n. 4
0
 public PayOrderController(PayOrderService payOrderService, IExcelClient excelClient)
 {
     this._payOrderService = payOrderService;
     this.excelClient      = excelClient;
 }
Esempio n. 5
0
 public BankController(BankService bankService, IExcelClient excelClient)
 {
     this._bankService = bankService;
     this.excelClient  = excelClient;
 }
Esempio n. 6
0
 public SettlementController(SettlementService settlementService, IExcelClient excelClient)
 {
     this._settlementService = settlementService;
     this.excelClient        = excelClient;
 }
Esempio n. 7
0
 public PayChannelController(PayChannelService payChannelService, IExcelClient excelClient)
 {
     this._payChannelService = payChannelService;
     this.excelClient        = excelClient;
 }
Esempio n. 8
0
 public PayProductController(PayProductService payProductService, IExcelClient excelClient)
 {
     this._payProductService = payProductService;
     this.excelClient        = excelClient;
 }
Esempio n. 9
0
 public AgentController(AgentService agentService, IExcelClient excelClient)
 {
     this._agentService = agentService;
     this.excelClient   = excelClient;
 }
Esempio n. 10
0
 public MenuController(ActionService actionService, IExcelClient excelClient, IRepository <SYS_Permission> permissionRepository)
 {
     this.actionService        = actionService;
     this.excelClient          = excelClient;
     this.permissionRepository = permissionRepository;
 }