コード例 #1
0
 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;
 }
コード例 #2
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;
 }
コード例 #3
0
        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);
        }
コード例 #4
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;
 }
コード例 #5
0
 public TransferController(IProductContract productContract, IColorContract colorContract, IProductBarcodeDetailContract productBarcodeDetailContract, IInventoryContract inventoryContract)
 {
     _productContract = productContract;
     _colorContract   = colorContract;
     _productBarcodeDetailContract = productBarcodeDetailContract;
     _inventoryContract            = inventoryContract;
 }
コード例 #6
0
 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;
 }
コード例 #7
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;
 }
コード例 #8
0
 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;
 }
コード例 #9
0
 public ShoppingCartController(
     IShoppingCartItemContract shoppingCartItemContract,
     ICategoryContract categoryContract,
     IBrandContract brandContract,
     IColorContract colorContract
     )
 {
     _shoppingCartItemContract = shoppingCartItemContract;
     _categoryContract         = categoryContract;
     _brandContract            = brandContract;
     _colorContract            = colorContract;
 }
コード例 #10
0
 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;
 }
コード例 #11
0
 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;
 }
コード例 #12
0
 //构造函数-初始化业务层操作对象
 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;
 }
コード例 #13
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;
 }
コード例 #14
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("选择折扣");
        }
コード例 #15
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;
 }
コード例 #16
0
 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;
 }
コード例 #17
0
 public ColorController(IColorContract colorContract)
 {
     _colorContract = colorContract;
     //ViewBag.Color = (_colorContract.SelectList("选择颜色").Select(m => new SelectListItem { Text = m.Key, Value = m.Value })).ToList();
 }