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;
 }
Exemple #2
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;
 }
 public ApiAppointmentFeedbackController(
     IAppointmentContract appointmentContract,
     IAppointmentFeedbackContract appointmentFeedbackContract,
     ICategoryContract categoryContract,
     IBrandContract brandContract,
     IColorContract colorContract,
     IStoreContract storeContract,
     IMemberContract memberContract,
     IMemberDepositContract memberDepositContract,
     ICollocationQuestionnaireContract collocationQuestionnaireContract,
     IOrderblankContract orderblankContract,
     ICollocationPlanContract collocationPlanContract
     )
 {
     _appointmentContract         = appointmentContract;
     _appointmentFeedbackContract = appointmentFeedbackContract;
     _categoryContract            = categoryContract;
     _brandContract                    = brandContract;
     _colorContract                    = colorContract;
     _storeContract                    = storeContract;
     _memberContract                   = memberContract;
     _memberDepositContract            = memberDepositContract;
     _collocationQuestionnaireContract = collocationQuestionnaireContract;
     _orderblankContract               = orderblankContract;
     _collocationPlanContract          = collocationPlanContract;
 }
Exemple #4
0
 public SaleAutoGenController(
     ISaleAutoGenContract _SaleAutoGenContract,
     IBrandContract _brandContract,
     ICategoryContract _categoryContract,
     IColorContract _colorContract,
     ISeasonContract _seasonContract,
     IProductCrowdContract _productCrowdContract,
     IProductOrigNumberContract _productOrigNumberContract,
     IStorageContract _storageContract,
     IAdministratorContract _administratorContract,
     IMemberContract _memberContract,
     IStoreContract _storeContract,
     IProductContract _productContract
     )
 {
     this._SaleAutoGenContract       = _SaleAutoGenContract;
     this._brandContract             = _brandContract;
     this._categoryContract          = _categoryContract;
     this._colorContract             = _colorContract;
     this._seasonContract            = _seasonContract;
     this._productCrowdContract      = _productCrowdContract;
     this._productOrigNumberContract = _productOrigNumberContract;
     this._storageContract           = _storageContract;
     this._administratorContract     = _administratorContract;
     this._memberContract            = _memberContract;
     this._storeContract             = _storeContract;
     this._productContract           = _productContract;
 }
        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);
        }
Exemple #6
0
 //构造函数-初始化业务层操作对象
 public MemberCollocationController(IMemberCollocationContract memberCollocationContract,
                                    IMemberContract memberContract,
                                    ICommentContract singleCommentContract,
                                    IColorContract colorContract,
                                    ISeasonContract seasonContract,
                                    ISizeContract sizeContract,
                                    ICategoryContract categoryContract,
                                    IProductAttributeContract productAttrContract,
                                    IMemberColloEleContract memberColloEleContract,
                                    IApprovalContract ApprovalContract,
                                    IMemberSingleProductContract memberSingleProductContract,
                                    IAdministratorContract administratorContract,
                                    ICommentContract commentContract,
                                    IApprovalContract approvalContract)
 {
     _memberCollocationContract = memberCollocationContract;
     _memberContract            = memberContract;
     _singleCommentContract     = singleCommentContract;
     _colorContract             = colorContract;
     _seasonContract            = seasonContract;
     _sizeContract                = sizeContract;
     _categoryContract            = categoryContract;
     _productAttrContract         = productAttrContract;
     _memberColloEleContract      = memberColloEleContract;
     _ApprovalContract            = ApprovalContract;
     _memberSingleProductContract = memberSingleProductContract;
     _administratorContract       = administratorContract;
     _commentContract             = commentContract;
     _approvalContract            = approvalContract;
 }
 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;
 }
Exemple #8
0
 public SizeController(ISizeContract sizeContract,
                       ISizeExtentionContract _sizeExtentionContract,
                       ICategoryContract categoryContract)
 {
     _categoryContract           = categoryContract;
     _sizeContract               = sizeContract;
     ViewBag.Size                = (_sizeContract.SelectList("选择尺码").Select(m => new SelectListItem {
         Text = m.Key, Value = m.Value
     })).ToList();
     this._sizeExtentionContract = _sizeExtentionContract;
 }
Exemple #9
0
 public ShoppingCartController(
     IShoppingCartItemContract shoppingCartItemContract,
     ICategoryContract categoryContract,
     IBrandContract brandContract,
     IColorContract colorContract
     )
 {
     _shoppingCartItemContract = shoppingCartItemContract;
     _categoryContract         = categoryContract;
     _brandContract            = brandContract;
     _colorContract            = colorContract;
 }
Exemple #10
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;
 }
 public StoreController(IStoreProductCollocationContract storeProductCollocationContract, IStoreCollocationInfoContract storeCollocationInfoContract,
                        IProductContract productContract, IBrandContract brandContract,
                        IStoreContract storeContract, ICategoryContract categoryContract,
                        IColorContract colorContract, ISeasonContract seasonContract,
                        ISizeContract sizeContract, IProductAttributeContract productAttributeContract)
 {
     _storeProductCollocationContract = storeProductCollocationContract;
     _storeCollocationInfoContract    = storeCollocationInfoContract;
     _productContract          = productContract;
     _brandContract            = brandContract;
     _storeContract            = storeContract;
     _categoryContract         = categoryContract;
     _colorContract            = colorContract;
     _seasonContract           = seasonContract;
     _sizeContract             = sizeContract;
     _productAttributeContract = productAttributeContract;
 }
 public OnlinePurchaseProductController(IOnlinePurchaseProductContract onlinePurchaseProductContract,
                                        IProductContract productContract,
                                        IBrandContract brandContract,
                                        ICategoryContract categoryContract,
                                        IColorContract colorContract,
                                        IStoreContract storeContract,
                                        INotificationContract notificationContract
                                        )
 {
     _onlinePurchaseProductContract = onlinePurchaseProductContract;
     _productContract      = productContract;
     _brandContract        = brandContract;
     _categoryContract     = categoryContract;
     _colorContract        = colorContract;
     _storeContract        = storeContract;
     _notificationContract = notificationContract;
 }
 public CollocationTemplateController(ICollocationTemplateContract contract,
                                      IAdministratorContract adminContract,
                                      IModuleContract moduleContract,
                                      IPermissionContract permissionContract,
                                      ICategoryContract categoryContract,
                                      IProductAttributeContract productAttributeContract,
                                      IProductContract productContract,
                                      IProductOrigNumberContract productOrigNumberContract)
 {
     _contract                  = contract;
     _adminContract             = adminContract;
     _moduleContract            = moduleContract;
     _permissionContract        = permissionContract;
     _categoryContract          = categoryContract;
     _productAttributeContract  = productAttributeContract;
     _productContract           = productContract;
     _productOrigNumberContract = productOrigNumberContract;
 }
 public CheckedController(ICheckerContract checkerContract,
                          IStoreContract storeContract,
                          IStorageContract storageContract,
                          ICheckerItemContract checkerItemContract,
                          IBrandContract brandContract,
                          ICategoryContract categoryContract,
                          IProductTrackContract productTrackContract,
                          IAdministratorContract administratorContract)
 {
     _administratorContract = administratorContract;
     _checkerContract       = checkerContract;
     _storeContract         = storeContract;
     _storageContract       = storageContract;
     _checkerItemContract   = checkerItemContract;
     _brandContract         = brandContract;
     _categoryContract      = categoryContract;
     _productTrackContract  = productTrackContract;
 }
 //构造函数-初始化业务层操作对象
 public MemberSingleProductController(IMemberSingleProductContract memberSingleProductContract,
                                      IMemberContract memberContract,
                                      ICommentContract singleProductCommentContract,
                                      IColorContract colorContract,
                                      ISeasonContract seasonContract,
                                      ISizeContract sizeContract,
                                      ICategoryContract categoryContract,
                                      IProductAttributeContract productAttrContract,
                                      IApprovalContract productApprovalContract)
 {
     _memberSingleProductContract = memberSingleProductContract;
     _memberContract = memberContract;
     _singleProductCommentContract = singleProductCommentContract;
     _colorContract           = colorContract;
     _seasonContract          = seasonContract;
     _sizeContract            = sizeContract;
     _categoryContract        = categoryContract;
     _productAttrContract     = productAttrContract;
     _productApprovalContract = productApprovalContract;
 }
Exemple #16
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;
 }
Exemple #17
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;
 }
Exemple #18
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;
 }
Exemple #19
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("选择折扣");
        }
        public CommonController(
            IStoreContract storeContract,
            IModuleContract moduleContract,
            IDepartmentContract departContract,
            IAdministratorContract adminContract,
            IMemberContract memberContract,
            IStoreTypeContract storeTypeContract,
            IStoreDepositContract storeDepositContract,
            IStoreLevelContract storeLevelContract,
            IJobPositionContract jobPositionContract,
            IDesignerContract designerContract,
            IPermissionContract permisstionContract,
            ICategoryContract categoryContract,
            IProductAttributeContract productAttributeContract,
            IProductContract productContract,
            IProductOrigNumberContract productOrigNumberContract,
            IStorageContract storageContract

            )
        {
            _storeContract             = storeContract;
            _moduleContract            = moduleContract;
            _departContract            = departContract;
            _adminContract             = adminContract;
            _memberContract            = memberContract;
            _jobPositionContract       = jobPositionContract;
            _storeTypeContract         = storeTypeContract;
            _storeDepositContract      = storeDepositContract;
            _storeLevelContract        = storeLevelContract;
            _designerContract          = designerContract;
            _permisstionContract       = permisstionContract;
            _categoryContract          = categoryContract;
            _productAttributeContract  = productAttributeContract;
            _productContract           = productContract;
            _productOrigNumberContract = productOrigNumberContract;
            _storageContract           = storageContract;
        }
Exemple #21
0
 public ApiTimeoutRequestController(
     IAppointmentContract appointmentContract,
     IModuleContract moduleContract,
     IPermissionContract permissionContract,
     IAdministratorContract adminContract,
     IAppointmentFeedbackContract appointmentFeedbackContract,
     ICategoryContract categoryContract,
     IBrandContract brandContract,
     IColorContract colorContract,
     IStoreContract storeContract,
     IMemberContract memberContract,
     IMemberDepositContract memberDepositContract,
     ICollocationQuestionnaireContract collocationQuestionnaireContract,
     IOrderblankContract orderblankContract,
     ICollocationPlanContract collocationPlanContract,
     ITimeoutSettingContract timeoutSettingContract,
     ITimeoutRequestContract timeoutRequestContract
     )
 {
     _appointmentContract              = appointmentContract;
     _moduleContract                   = moduleContract;
     _permissionContract               = permissionContract;
     _adminContract                    = adminContract;
     _appointmentFeedbackContract      = appointmentFeedbackContract;
     _categoryContract                 = categoryContract;
     _brandContract                    = brandContract;
     _colorContract                    = colorContract;
     _storeContract                    = storeContract;
     _memberContract                   = memberContract;
     _memberDepositContract            = memberDepositContract;
     _collocationQuestionnaireContract = collocationQuestionnaireContract;
     _orderblankContract               = orderblankContract;
     _collocationPlanContract          = collocationPlanContract;
     _timeoutSettingContract           = timeoutSettingContract;
     _timeoutRequestContract           = timeoutRequestContract;
 }
 public AppointmentGenController(
     IAppointmentGenContract _AppointmentGenContract,
     IBrandContract _brandContract,
     ICategoryContract _categoryContract,
     IColorContract _colorContract,
     ISeasonContract _seasonContract,
     IProductCrowdContract _productCrowdContract,
     IStoreContract _storeContract,
     IMemberContract _memberContract,
     IRetailContract _retailContract,
     IProductContract _productContract
     )
 {
     this._AppointmentGenContract = _AppointmentGenContract;
     this._brandContract          = _brandContract;
     this._categoryContract       = _categoryContract;
     this._colorContract          = _colorContract;
     this._seasonContract         = _seasonContract;
     this._productCrowdContract   = _productCrowdContract;
     this._productContract        = _productContract;
     this._storeContract          = _storeContract;
     this._memberContract         = _memberContract;
     this._retailContract         = _retailContract;
 }
Exemple #23
0
 public CategoryController(ICategoryContract categoryContract)
 {
     _categoryContract = categoryContract;
 }