Example #1
0
 public OutStorageService(IWayBillInfoRepository wayBillInfoRepository,
                          IVenderFeeLogRepository venderFeeLogRepository,
                          IOutStorageInfoRepository outStorageInfoRepository,
                          IFreightService freightService,
                          ICustomerOrderStatusRepository customerOrderStatusRepository = null,
                          IDeliveryChannelConfigurationRepository deliveryChannelConfigurationRepository = null,
                          IReceivingExpensRepository receivingExpensRepository           = null,
                          IReceivingExpenseInfoRepository receivingExpenseInfoRepository = null,
                          IDeliveryFeeRepository deliveryFeeRepository                   = null,
                          IDeliveryFeeInfoRepository deliveryFeeInfoRepository           = null,
                          IWaybillPackageDetailRepository waybillPackageDetailRepository = null,
                          IWorkContext workContext = null,
                          ITotalPackageInfoRepository totalPackageInfoRepository = null,
                          ITotalPackageOutStorageRelationalInfoRepository totalPackageOutStorageRelationalInfoRepository = null,
                          ITotalPackageTraceInfoRepository totalPackageTraceInfoRepository = null,
                          ISystemConfigurationRepository systemConfigurationRepository     = null,
                          IMailPostBagInfoRepository mailPostBagInfoRepository             = null,
                          ICustomerOrderInfoRepository customerOrderInfoRepository         = null,
                          IB2CPreAlertLogsRepository b2CPreAlertLogsRepository             = null)
 {
     _workContext                            = workContext;
     _wayBillInfoRepository                  = wayBillInfoRepository;
     _venderFeeLogRepository                 = venderFeeLogRepository;
     _outStorageInfoRepository               = outStorageInfoRepository;
     _customerOrderStatusRepository          = customerOrderStatusRepository;
     _deliveryChannelConfigurationRepository = deliveryChannelConfigurationRepository;
     //_inTackingLogInfoRepository = inTackingLogInfoRepository;
     _receivingExpensRepository      = receivingExpensRepository;
     _receivingExpenseInfoRepository = receivingExpenseInfoRepository;
     _deliveryFeeRepository          = deliveryFeeRepository;
     _deliveryFeeInfoRepository      = deliveryFeeInfoRepository;
     _freightService = freightService;
     _waybillPackageDetailRepository = waybillPackageDetailRepository;
     _freightService             = freightService;
     _totalPackageInfoRepository = totalPackageInfoRepository;
     _totalPackageOutStorageRelationalInfoRepository = totalPackageOutStorageRelationalInfoRepository;
     _totalPackageTraceInfoRepository = totalPackageTraceInfoRepository;
     _systemConfigurationRepository   = systemConfigurationRepository;
     _mailPostBagInfoRepository       = mailPostBagInfoRepository;
     _customerOrderInfoRepository     = customerOrderInfoRepository;
     _b2CPreAlertLogsRepository       = b2CPreAlertLogsRepository;
 }
 public ReturnGoodsService(IReturnGoodsRepository returnGoodsRepository,
                           IWayBillInfoRepository wayBillInfoRepository,
                           ICustomerOrderInfoRepository customerOrderInfoRepository,
                           ICustomerBalanceRepository customerBalanceRepository,
                           ICustomerAmountRecordRepository customerAmountRecordRepository,
                           IWorkContext workContext,
                           IWayBillEventLogRepository wayBillEventLogRepository,
                           IFreightService freightService,
                           IFinancialService financialService,
                           IReceivingExpenseInfoRepository receivingExpenseInfoRepository,
                           IReceivingExpensRepository receivingExpensRepository)
 {
     _returnGoodsRepository          = returnGoodsRepository;
     _wayBillInfoRepository          = wayBillInfoRepository;
     _customerOrderInfoRepository    = customerOrderInfoRepository;
     _customerAmountRecordRepository = customerAmountRecordRepository;
     _customerBalanceRepository      = customerBalanceRepository;
     _wayBillEventLogRepository      = wayBillEventLogRepository;
     _freightService   = freightService;
     _workContext      = workContext;
     _financialService = financialService;
     _receivingExpenseInfoRepository = receivingExpenseInfoRepository;
     _receivingExpensRepository      = receivingExpensRepository;
 }