Exemple #1
0
 public CustomerLossManager(ICustomerLossStore customerLossStore,
                            ICustomerInfoStore icustomerInfoStore,
                            IMapper mapper,
                            PermissionExpansionManager permissionExpansionManager)
 {
     _permissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     Store = customerLossStore ?? throw new ArgumentNullException(nameof(customerLossStore));
     _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemple #2
0
 public CustomerDealManager(
     ICustomerInfoStore customerInfoStore,
     ICustomerDealStore customerDealStore,
     IDealFileScopeStore dealFileScopeStore,
     IFileInfoStore fileInfoStore,
     ICustomerTransactionsStore customerTransactionsStore,
     IOrganizationExpansionStore organizationExpansionStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper
     )
 {
     _icustomerInfoStore          = customerInfoStore ?? throw new ArgumentNullException(nameof(customerInfoStore));
     _icustomerDealStore          = customerDealStore ?? throw new ArgumentNullException(nameof(customerDealStore));
     _icustomerTransactionsStore  = customerTransactionsStore ?? throw new ArgumentNullException(nameof(customerTransactionsStore));
     _dealFileScopeStore          = dealFileScopeStore ?? throw new ArgumentNullException(nameof(dealFileScopeStore));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _fileInfoStore = fileInfoStore;
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemple #3
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="icustomerInfoStore"></param>
 /// <param name="icustomerDemandStore"></param>
 /// <param name="icustomerReportStore"></param>
 /// <param name="iaboutLookStore"></param>
 /// <param name="ibeltLookStore"></param>
 /// <param name="icustomerFollowUpStore"></param>
 /// <param name="icustomerPoolStore"></param>
 /// <param name="icustomerPoolDefineStore"></param>
 /// <param name="mapper"></param>
 public CustomerHandOverManager(ICustomerInfoStore icustomerInfoStore,
                                ICustomerDemandStore icustomerDemandStore,
                                ICustomerReportStore icustomerReportStore,
                                IAboutLookStore iaboutLookStore,
                                IBeltLookStore ibeltLookStore,
                                ICustomerFollowUpStore icustomerFollowUpStore,
                                ICustomerPoolStore icustomerPoolStore,
                                ICustomerPoolDefineStore icustomerPoolDefineStore,
                                IMapper mapper)
 {
     _icustomerInfoStore       = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerDemandStore     = icustomerDemandStore ?? throw new ArgumentNullException(nameof(icustomerDemandStore));
     _icustomerReportStore     = icustomerReportStore ?? throw new ArgumentNullException(nameof(icustomerReportStore));
     _iaboutLookStore          = iaboutLookStore ?? throw new ArgumentNullException(nameof(iaboutLookStore));
     _ibeltLookStore           = ibeltLookStore ?? throw new ArgumentNullException(nameof(ibeltLookStore));
     _icustomerFollowUpStore   = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _icustomerPoolStore       = icustomerPoolStore ?? throw new ArgumentNullException(nameof(icustomerPoolStore));
     _icustomerPoolDefineStore = icustomerPoolDefineStore ?? throw new ArgumentNullException(nameof(icustomerPoolDefineStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
        public CustomerTimingManager(
            ICustomerInfoStore icustomerInfoStore,
            IBeltLookStore ibeltLookStore,
            ICustomerDealStore icustomerDealStore,
            ICustomerPoolStore icustomerPoolStore,
            ICustomerPoolDefineStore icustomerPoolDefineStore,
            Stores.IOrganizationExpansionStore organizationExpansionStore,
            ICustomerTransactionsStore icustomerTransactionsStore,
            ICustomerTransactionsFollowUpStore icustomerTransactionsFollowUpStore,
            IMapper mapper)
        {
            _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
            _ibeltLookStore     = ibeltLookStore ?? throw new ArgumentNullException(nameof(ibeltLookStore));
            _icustomerDealStore = icustomerDealStore ?? throw new ArgumentNullException(nameof(icustomerDealStore));

            _icustomerPoolStore                 = icustomerPoolStore ?? throw new ArgumentNullException(nameof(icustomerPoolStore));
            _icustomerPoolDefineStore           = icustomerPoolDefineStore ?? throw new ArgumentNullException(nameof(icustomerPoolDefineStore));
            _icustomerTransactionsStore         = icustomerTransactionsStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsStore));
            _icustomerTransactionsFollowUpStore = icustomerTransactionsFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsFollowUpStore));
            _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
        }
Exemple #5
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="icustomerTransactionsFollowUpStore"></param>
 /// <param name="icustomerInfoStore"></param>
 /// <param name="mapper"></param>
 public CustomerTransactionsFollowUpManager(ICustomerTransactionsFollowUpStore icustomerTransactionsFollowUpStore, ICustomerInfoStore icustomerInfoStore, IMapper mapper)
 {
     _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerTransactionsFollowUpStore = icustomerTransactionsFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsFollowUpStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemple #6
0
 /// <summary>
 /// 报备
 /// </summary>
 /// <param name="icustomerReportStore"></param>
 /// <param name="mapper"></param>
 public CustomerReportManager(ICustomerReportStore icustomerReportStore, ICustomerFollowUpStore icustomerFollowUpStore, ICustomerInfoStore customerInfoStore, ICustomerDemandStore customerDemandStore, IMapper mapper)
 {
     _icustomerFollowUpStore = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _customerReportStore    = icustomerReportStore ?? throw new ArgumentNullException(nameof(icustomerReportStore));
     _customerinfoStore      = customerInfoStore ?? throw new ArgumentNullException(nameof(customerInfoStore));
     _icustomerDemandStore   = customerDemandStore ?? throw new ArgumentNullException(nameof(customerDemandStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }