public MerchantPayController(MerchantPayProductService mpService, IExcelClient excelClient, PayChannelService payChannelService, PayProductService payProductService) { this._mpService = mpService; this.excelClient = excelClient; this._payChannelService = payChannelService; this._payProductService = payProductService; }
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; }
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(); }
public PayOrderController(PayOrderService payOrderService, IExcelClient excelClient) { this._payOrderService = payOrderService; this.excelClient = excelClient; }
public BankController(BankService bankService, IExcelClient excelClient) { this._bankService = bankService; this.excelClient = excelClient; }
public SettlementController(SettlementService settlementService, IExcelClient excelClient) { this._settlementService = settlementService; this.excelClient = excelClient; }
public PayChannelController(PayChannelService payChannelService, IExcelClient excelClient) { this._payChannelService = payChannelService; this.excelClient = excelClient; }
public PayProductController(PayProductService payProductService, IExcelClient excelClient) { this._payProductService = payProductService; this.excelClient = excelClient; }
public AgentController(AgentService agentService, IExcelClient excelClient) { this._agentService = agentService; this.excelClient = excelClient; }
public MenuController(ActionService actionService, IExcelClient excelClient, IRepository <SYS_Permission> permissionRepository) { this.actionService = actionService; this.excelClient = excelClient; this.permissionRepository = permissionRepository; }