//店铺统计
 // GET: /Notices/StoreStatistics/
 public StoreStatisticsController(IRetailContract retailContract,
                                  IStorageContract storageContract,
                                  IAdministratorContract administratorContract,
                                  IBrandContract brandContract,
                                  IStoreStatisticsContract storeStatisticsContract,
                                  IReturnedContract returnedContract,
                                  IMemberContract memberContract,
                                  IMemberDepositContract memberDepositContract,
                                  IInventoryContract inventoryContract,
                                  IOrderblankContract orderblankContract,
                                  IOrderblankItemContract orderblankItemContract,
                                  IStoreContract storeContract,
                                  IModuleContract moduleContract,
                                  IPermissionContract permissionContract)
 {
     _retailContract          = retailContract;
     _storageContract         = storageContract;
     _brandContract           = brandContract;
     _storeStatisticsContract = storeStatisticsContract;
     _ReturnedContract        = returnedContract;
     _memberContract          = memberContract;
     _memberDepositContract   = memberDepositContract;
     _inventoryContract       = inventoryContract;
     _administratorContract   = administratorContract;
     _orderblankContract      = orderblankContract;
     _storeContract           = storeContract;
     _orderblankItemContract  = orderblankItemContract;
     _moduleContract          = moduleContract;
     _permissionContract      = permissionContract;
 }
Beispiel #2
0
 public ProductOperationLogController(IProductOperationLogContract productOperationLogContrac, IProductContract productContract, IProductBarcodeDetailContract productBarcodeDetailContract,
                                      IInventoryContract inventoryContract,
                                      IRetailItemContract retailItemContract,
                                      IRetailInventoryContract retailInventoryContract,
                                      IRetailContract retailContract,
                                      IReturnedItemContract returnedItemContract,
                                      IReturnedContract returnedContract,
                                      IOrderblankContract orderblankContract,
                                      IOrderblankItemContract orderblankItemContract,
                                      IStorageContract storageContract,
                                      IStoreContract storeContract,
                                      IMemberContract memberContract,
                                      IAdministratorContract administratorContract)
 {
     _productOperationLogContract  = productOperationLogContrac;
     _productContract              = productContract;
     _productBarcodeDetailContract = productBarcodeDetailContract;
     _inventoryContract            = inventoryContract;
     _retailItemContract           = retailItemContract;
     _retailInventoryContract      = retailInventoryContract;
     _retailContract         = retailContract;
     _returnedItemContract   = returnedItemContract;
     _returnedContract       = returnedContract;
     _orderblankContract     = orderblankContract;
     _orderblankItemContract = orderblankItemContract;
     _storageContract        = storageContract;
     _storeContract          = storeContract;
     _memberContract         = memberContract;
     _administratorContract  = administratorContract;
 }
Beispiel #3
0
 public OnlineController(IStoreContract storeContract,
                         IStorageContract storageContract,
                         IGalleryContract galleryContract,
                         IInventoryContract inventoryContract,
                         IStoreCartContract storeCartContract,
                         IProductContract prodcutContract,
                         IAdministratorContract administratorContract,
                         IStoreCartItemContract storeCartItemContract,
                         IColorContract colorContract,
                         IOnlinePurchaseProductContract oppContract,
                         IProductContract productContract,
                         IProductOrigNumberContract _productOrigNumberContract,
                         IStoreTypeContract _storeTypeContract,
                         IBrandContract _brandContract,
                         ICategoryContract categoryContract)
 {
     _storeContract   = storeContract;
     _storageContract = storageContract;
     //_galleryContract = galleryContract;
     //_inventoryContract = inventoryContract;
     _storeCartContract              = storeCartContract;
     _productContract                = prodcutContract;
     _storeCartItemContract          = storeCartItemContract;
     _colorContract                  = colorContract;
     _categoryContract               = categoryContract;
     _oppContract                    = oppContract;
     this._brandContract             = _brandContract;
     this._administratorContract     = administratorContract;
     this._productOrigNumberContract = _productOrigNumberContract;
     ViewBag.Color                   = _colorContract.ParentSelectList("请选择");
     ViewBag.Category                = CacheAccess.GetCategory(_categoryContract, true);
     ViewBag.Brand                   = CacheAccess.GetBrand(_brandContract, true);
     this._storeTypeContract         = _storeTypeContract;
 }
Beispiel #4
0
 public ApiReturnController(IRetailContract retailContract, IProductContract productContract, IRetailItemContract retailItemContract, IAdministratorContract administratorContract, IReturnedContract returnedContract, IInventoryContract inventoryContract, IMemberContract memberContract, IMemberDepositContract memberDepositContract,
                            IReturnedItemContract returnedItemContract, ICouponContract couponContract, IStoreContract storeContract,
                            IProductTrackContract productTrackContract,
                            ITimeoutSettingContract timeoutSettingContract,
                            IPunishScoreRecordContract adminPunishScoreRecordContract,
                            IMemberConsumeContract memberConsumeContract,
                            ISmsContract _smsContract,
                            ITimeoutRequestContract timeoutRequestContract)
 {
     _retailContract                 = retailContract;
     _productContract                = productContract;
     _retailItemContract             = retailItemContract;
     _administratorContract          = administratorContract;
     _returnedContract               = returnedContract;
     _inventoryContract              = inventoryContract;
     _memberContract                 = memberContract;
     _memberDepositContract          = memberDepositContract;
     _returnedItemContract           = returnedItemContract;
     _couponContract                 = couponContract;
     _storeContract                  = storeContract;
     _productTrackContract           = productTrackContract;
     _timeoutSettingContract         = timeoutSettingContract;
     _adminPunishScoreRecordContract = adminPunishScoreRecordContract;
     _memberConsumeContract          = memberConsumeContract;
     _timeoutRequestContract         = timeoutRequestContract;
     this._smsContract               = _smsContract;
 }
        public InventoryController(IInventoryContract inventoryContract,
                                   IStoreContract storeContract,
                                   IStorageContract storageContract,
                                   IProductContract productContract,
                                   IBrandContract brandContract,
                                   ICategoryContract categoryContract,
                                   IColorContract colorContract,
                                   ILogContract logContract,
                                   IProductBarcodeDetailContract productBarcodeDetailContract,
                                   IProductBarcodePrintInfoContract productBarcodePrintInfoContract,
                                   IInventoryRecordContract inventoryRecordContract,
                                   IStoreRecommendContract storeRecommendContract,
                                   ISeasonContract seasonContract,
                                   IProductTrackContract productTrackContract,
                                   IAdministratorContract administratorContract)
        {
            _administratorContract           = administratorContract;
            _inventoryContract               = inventoryContract;
            _storeContract                   = storeContract;
            _productContract                 = productContract;
            _storageContract                 = storageContract;
            _brandContract                   = brandContract;
            _categoryContract                = categoryContract;
            _colorContract                   = colorContract;
            _productBarcodePrintInfoContract = productBarcodePrintInfoContract;
            _productBarcodeDetailContract    = productBarcodeDetailContract;
            _logContract             = logContract;
            _inventoryRecordContract = inventoryRecordContract;
            _storeRecommendContract  = storeRecommendContract;
            _seasonContract          = seasonContract;
            _productTrackContract    = productTrackContract;

            ViewBag.Products = CacheAccess.GetProductListItem(_productContract, true);
        }
Beispiel #6
0
 public WorkController(IWorkLogAttributeContract workLogAttributeContract, IWorkLogContract workLogContract,
                       IStoreSpendStatisticsContract storeSpendStatisticsContract,
                       IStorageContract storageContract, IAdministratorContract adminContract,
                       IArticleItemContract articleItemContract,
                       IStoreContract storeContract,
                       IStoreCheckRecordContract storeCheckRecordContract,
                       IStoreCheckItemContract storeCheckItemContract,
                       IProductTrackContract productTrackContract,
                       IStoreStatisticsContract storeStatisticsContract,
                       IOrderblankContract orderblankContract,
                       IInventoryContract inventoryContract)
 {
     _workLogAttributeContract     = workLogAttributeContract;
     _workLogContract              = workLogContract;
     _storeSpendStatisticsContract = storeSpendStatisticsContract;
     _storageContract              = storageContract;
     _adminContract            = adminContract;
     _articleItemContract      = articleItemContract;
     _storeContract            = storeContract;
     _storeCheckRecordContract = storeCheckRecordContract;
     _storeCheckItemContract   = storeCheckItemContract;
     _productTrackContract     = productTrackContract;
     _storeStatisticsContract  = storeStatisticsContract;
     _orderblankContract       = orderblankContract;
     _inventoryContract        = inventoryContract;
 }
Beispiel #7
0
 public TransferController(IProductContract productContract, IColorContract colorContract, IProductBarcodeDetailContract productBarcodeDetailContract, IInventoryContract inventoryContract)
 {
     _productContract = productContract;
     _colorContract   = colorContract;
     _productBarcodeDetailContract = productBarcodeDetailContract;
     _inventoryContract            = inventoryContract;
 }
 public FactoryOnlineController(IStoreContract storeContract,
                                IStorageContract storageContract,
                                IGalleryContract galleryContract,
                                IInventoryContract inventoryContract,
                                IStoreCartContract storeCartContract,
                                IProductContract prodcutContract,
                                IAdministratorContract administratorContract,
                                IStoreCartItemContract storeCartItemContract,
                                IColorContract colorContract,
                                IProductContract productContract,
                                IProductOrigNumberContract _productOrigNumberContract,
                                IBrandContract _brandContract,
                                IPurchaseContract _purchaseContract,
                                IDesignerContract _DesignerContract,
                                IFactorysContract _factoryContract,
                                ICategoryContract categoryContract)
 {
     _storeContract                  = storeContract;
     _storageContract                = storageContract;
     _storeCartContract              = storeCartContract;
     _productContract                = prodcutContract;
     _storeCartItemContract          = storeCartItemContract;
     _colorContract                  = colorContract;
     _categoryContract               = categoryContract;
     this._brandContract             = _brandContract;
     this._administratorContract     = administratorContract;
     this._productOrigNumberContract = _productOrigNumberContract;
     ViewBag.Color          = _colorContract.ParentSelectList("请选择");
     ViewBag.Category       = CacheAccess.GetCategory(_categoryContract, true);
     ViewBag.Brand          = CacheAccess.GetBrand(_brandContract, true);
     this._purchaseContract = _purchaseContract;
     this._DesignerContract = _DesignerContract;
     this._factoryContract  = _factoryContract;
 }
 public StoreRecommendController(IProductContract productContract,
                                 IBrandContract brandContract,
                                 ICategoryContract categoryContract,
                                 IColorContract colorContract,
                                 ISeasonContract seasonContract,
                                 ISizeContract sizeContract,
                                 IInventoryContract inventoryContract,
                                 IStorageContract storageContract,
                                 ISalesCampaignContract salesCampaignContract,
                                 IMemberContract memberContract,
                                 ICollocationContract collocationContract,
                                 IRetailContract retailContract,
                                 IRetailItemContract retailItemContract,
                                 IScoreRuleContract scoreRuleContract,
                                 ICouponContract couponContract,
                                 IAdministratorContract administratorContract,
                                 IMemberDepositContract memberDepositContract,
                                 ICheckerContract checkerContract,
                                 IStoreActivityContract storeActivityContract,
                                 IStoreContract storeContract,
                                 IProductTrackContract productTrackContract,
                                 IPermissionContract permissionContract,
                                 IProductOrigNumberContract productOrigNumberContract,
                                 IStoreRecommendContract storeRecommendContract,
                                 IStoreNoRecommendContract storeNoRecommendContract,
                                 IRecommendMemberSingleProductContract recommendMemberSingleProductContract
                                 )
 {
     _storeRecommendContract     = storeRecommendContract;
     _storeNoRecommendContract   = storeNoRecommendContract;
     _productContract            = productContract;
     _inventoryContract          = inventoryContract;
     _brandContract              = brandContract;
     _storageContract            = storageContract;
     _salesCampaignContract      = salesCampaignContract;
     _memberContract             = memberContract;
     _collocationContract        = collocationContract;
     _retailContract             = retailContract;
     _retailItemContract         = retailItemContract;
     _scoreRuleContract          = scoreRuleContract;
     _couponContract             = couponContract;
     _administratorContract      = administratorContract;
     _memberDepositContract      = memberDepositContract;
     _checkerContract            = checkerContract;
     _storeActivityContract      = storeActivityContract;
     _storeContract              = storeContract;
     _productTrackContract       = productTrackContract;
     _permissionContract         = permissionContract;
     _productOrignNumberContract = productOrigNumberContract;
     _brandContract              = brandContract;
     _categoryContract           = categoryContract;
     _colorContract              = colorContract;
     _seasonContract             = seasonContract;
     _sizeContract = sizeContract;
     _recommendMemberSingleProductContract = recommendMemberSingleProductContract;
 }
Beispiel #10
0
 public StorageController(IStorageContract storageContract, IStoreContract storeContract, IDepartmentContract departmentContract,
                          IInventoryContract _InventoryContract,
                          IAdministratorContract administratorContract)
 {
     _storageContract        = storageContract;
     _storeContract          = storeContract;
     _departmentContract     = departmentContract;
     _administratorContract  = administratorContract;
     this._InventoryContract = _InventoryContract;
 }
 public AddProductDetailController(IInventoryContract inventoryContract, IStorageContract storageContract,
                                   IAdministratorContract administratorContract,
                                   IStoreContract _storeContract,
                                   IBrandContract brandContract)
 {
     _inventoryContract          = inventoryContract;
     _storageContract            = storageContract;
     _brandContract              = brandContract;
     this._administratorContract = administratorContract;
     this._storeContract         = _storeContract;
 }
 public RetailDetailController(IRetailContract retailContract, IProductContract productContract, IStoreContract storeContract, IStorageContract storageContract, IRetailItemContract retailItemContract,
                               IAdministratorContract _administratorContract, IInventoryContract inventoryContract, IReturnedContract returnedContract, IRetailInventoryContract retailInventoryContract)
 {
     _retailContract             = retailContract;
     _productContract            = productContract;
     _storeContract              = storeContract;
     _storageContract            = storageContract;
     _retailItemContract         = retailItemContract;
     _inventoryContract          = inventoryContract;
     _returnedContract           = returnedContract;
     _retailInventoryContract    = retailInventoryContract;
     this._administratorContract = _administratorContract;
 }
 public InventoryRecordController(IInventoryRecordContract invetoryRecordContract, IStorageContract storageContract,
                                  IBrandContract brandContract,
                                  IStoreContract _storeContract
                                  , IAdministratorContract _adminContract
                                  , IInventoryContract inventoryContract)
 {
     _inventoryRecordContract = invetoryRecordContract;
     _storageContract         = storageContract;
     _brandContract           = brandContract;
     _inventoryContract       = inventoryContract;
     this._adminContract      = _adminContract;
     this._storeContract      = _storeContract;
 }
 public InventorySearchController(IRetailContract retailContract, IStorageContract storageContract, IBrandContract brandContract, IInventoryContract inventoryContract
                                  , IAdministratorContract _adminContract
                                  , IStoreContract storeContract
                                  , IProductContract _productContract)
 {
     _retailContract       = retailContract;
     _storageContract      = storageContract;
     _brandContract        = brandContract;
     _inventoryContract    = inventoryContract;
     this._productContract = _productContract;
     this._adminContract   = _adminContract;
     _storeContract        = storeContract;
 }
Beispiel #15
0
 public ApiProductController(IAdministratorContract administratorContract,
                             IProductContract productContract,
                             IInventoryContract inventoryContract,
                             ICommentContract commentContract,
                             IApprovalContract approvalContract,
                             IStorageContract storageContract,
                             ICategoryContract categotyContract)
 {
     _administratorContract = administratorContract;
     _productContract       = productContract;
     _inventoryContract     = inventoryContract;
     _commentContract       = commentContract;
     _approvalContract      = approvalContract;
     _storageContract       = storageContract;
     _categotyContract      = categotyContract;
 }
Beispiel #16
0
 public PurchaseController(IPurchaseContract purchaseContract, IPurchaseItemContract purchaseItemContract,
                           IStoreTypeContract _storeTypeContract,
                           IStorageContract storageContract, IStoreContract storeContract, IAdministratorContract administratorContract,
                           IInventoryContract inventoryContract, IProductContract productContract, IOrderblankContract orderblankContract,
                           IPurchaseAuditContract purchaseAuditContract)
 {
     _purchaseContract       = purchaseContract;
     _purchaseItemContract   = purchaseItemContract;
     _storageContract        = storageContract;
     _storeContract          = storeContract;
     _administratorContract  = administratorContract;
     _inventoryContract      = inventoryContract;
     _productContract        = productContract;
     _orderblankContract     = orderblankContract;
     _purchaseAuditContract  = purchaseAuditContract;
     this._storeTypeContract = _storeTypeContract;
 }
Beispiel #17
0
 public AppointmentPackingController(IAppointmentPackingContract contract,
                                     IAdministratorContract adminContract,
                                     IModuleContract moduleContract,
                                     IAppointmentContract appointmentContract,
                                     IStoreContract storeContract,
                                     IOrderblankContract orderblankContract,
                                     IInventoryContract inventoryContract,
                                     IStorageContract storageContract,
                                     IPermissionContract permissionContract)
 {
     _contract            = contract;
     _adminContract       = adminContract;
     _moduleContract      = moduleContract;
     _appointmentContract = appointmentContract;
     _orderblankContract  = orderblankContract;
     _inventoryContract   = inventoryContract;
     _storageContract     = storageContract;
     _permissionContract  = permissionContract;
 }
Beispiel #18
0
 public BarcodeController(IProductContract productContract, IStorageContract storageContract
                          , IBrandContract brandContract, ICategoryContract categoryContract, ISeasonContract seasonContract
                          , IInventoryContract inventoryContract, IProductBarcodeDetailContract productBarcodeDetailContract
                          , IBarCodeConfigContract _barCodeConfigContract
                          , IProductBarcodePrintInfoContract productBarcodePrintInfoContract,
                          IStoreContract _StoreContract,
                          IProductTrackContract productTrackContract,
                          IAdministratorContract administratorContract)
 {
     _administratorContract           = administratorContract;
     _productContract                 = productContract;
     _storageContract                 = storageContract;
     _brandContract                   = brandContract;
     _categoryContract                = categoryContract;
     _seasonContract                  = seasonContract;
     _inventoryContract               = inventoryContract;
     _productBarcodeDetailContract    = productBarcodeDetailContract;
     _productBarcodePrintInfoContract = productBarcodePrintInfoContract;
     this._barCodeConfigContract      = _barCodeConfigContract;
     _productTrackContract            = productTrackContract;
     this._StoreContract              = _StoreContract;
 }
Beispiel #19
0
 public SalesCampaignController(ISalesCampaignContract saleCampaignContract,
                                IStoreContract storeContract,
                                IInventoryContract inventoryContract,
                                IBrandContract brandContract,
                                IProductContract productContract,
                                IStorageContract storageContract,
                                IAdministratorContract _administratorContract,
                                ISeasonContract _seasonContract,
                                IProductOrigNumberContract productOriginNumberContract,
                                ICategoryContract categoryContract)
 {
     _saleCampaignContract        = saleCampaignContract;
     _storeContract               = storeContract;
     _inventoryContract           = inventoryContract;
     _brandContract               = brandContract;
     _productContract             = productContract;
     _storageContract             = storageContract;
     _productOriginNumberContract = productOriginNumberContract;
     this._administratorContract  = _administratorContract;
     this._seasonContract         = _seasonContract;
     _categoryContract            = categoryContract;
 }
Beispiel #20
0
 public CheckupController(IStoreContract storeContract,
                          IStorageContract storageContract,
                          ICheckerContract checkerContract,
                          ICheckerItemContract checkerItemContract,
                          IProductContract productContract,
                          IInventoryContract inventoryContract,
                          ICheckupItemContract checkupItemContract,
                          ICategoryContract categoryContract,
                          IAdministratorContract _adminContract,
                          IColorContract colorContract)
 {
     _storeContract       = storeContract;
     _storageContract     = storageContract;
     _checkerContract     = checkerContract;
     _checkerItemContract = checkerItemContract;
     _productContract     = productContract;
     _inventoryContract   = inventoryContract;
     _checkupItemContract = checkupItemContract;
     _categoryContract    = categoryContract;
     _colorContract       = colorContract;
     this._adminContract  = _adminContract;
 }
Beispiel #21
0
        public ProductDiscountController(IBrandContract brandContract,
                                         IStoreContract storeContract,
                                         ISeasonContract seasonContract,
                                         IColorContract colorContract,
                                         ISizeContract sizeContract,
                                         IProductDiscountContract productDiscountContract,
                                         IProductContract productContract,
                                         ICategoryContract categoryContract,
                                         IProductAttributeContract productAttributeContract,
                                         IProductOrigNumberContract ProductOrigNumberContract,
                                         IInventoryContract invenrtoryContract)
        {
            _brandContract             = brandContract;
            _storeContract             = storeContract;
            _seasonContract            = seasonContract;
            _colorContract             = colorContract;
            _sizeContract              = sizeContract;
            _productContract           = productContract;
            _productDiscountContract   = productDiscountContract;
            _categoryContract          = categoryContract;
            _productAttributeContract  = productAttributeContract;
            _ProductOrigNumberContract = ProductOrigNumberContract;
            _invenrtoryContract        = invenrtoryContract;

            ViewBag.Brand    = (_brandContract.SelectList().Select(m => new SelectListItem {
                Text = m.Key, Value = m.Value
            })).ToList();
            ViewBag.Season   = (_seasonContract.SelectList().Select(m => new SelectListItem {
                Text = m.Key, Value = m.Value
            })).ToList();
            ViewBag.Color    = (_colorContract.SelectList().Select(m => new SelectListItem {
                Text = m.Key, Value = m.Value
            })).ToList();
            ViewBag.Size     = (_sizeContract.SelectList().Select(m => new SelectListItem {
                Text = m.Key, Value = m.Value
            })).ToList();
            ViewBag.Discount = StaticHelper.DiscountList("选择折扣");
        }
Beispiel #22
0

        
 public ShoppingCartProvider(IInventoryContract inventoryContract, INotificationContract notificationContract)
 {
     this._inventoryContract    = inventoryContract;
     this._notificationContract = notificationContract;
 }
Beispiel #24
0
 /// <summary>
 /// 初始化一个<see cref="InventoryController"/>类型的新实例
 /// </summary>
 public InventoryController(IInventoryContract inventoryContract)
 {
     _inventoryContract = inventoryContract;
 }