Пример #1
0
 public PayController(IMemberBLL memberBLL, IOrderBLL orderBLL,
                      ITransactionBLL transactionBLL, IRechargeBLL rechargeBLL,
                      ICreditRecordBLL creditRecordBLL, IRulesBLL rulesBLL,
                      IOrderDetailBLL orderDetailBLL, IGoodsBLL goodsBLL,
                      IServiceBLL serviceBLL, IServiceQRBLL serviceQRBLL,
                      IServiceConsumeRecordBLL serviceConsumeRecordBLL,
                      IServiceConsumePasswordBLL serviceConsumePasswordBLL,
                      IExchangeServiceRecordBLL exchangeServiceRecordBLL,
                      IExchangeServiceBLL exchangeServiceBLL,
                      IExchangeServiceQRBLL exchangeServiceQRBLL)
 {
     _memberBLL                 = memberBLL;
     _orderBLL                  = orderBLL;
     _transactionBLL            = transactionBLL;
     _recharegeBLL              = rechargeBLL;
     _creditRecordBLL           = creditRecordBLL;
     _orderDetailBLL            = orderDetailBLL;
     _goodsBLL                  = goodsBLL;
     _serviceBLL                = serviceBLL;
     _rulesBLL                  = rulesBLL;
     _serviceQRBLL              = serviceQRBLL;
     _serviceConsumeRecoredBLL  = serviceConsumeRecordBLL;
     _serviceConsumePasswordBLL = serviceConsumePasswordBLL;
     _exchangeServiceRecordBLL  = exchangeServiceRecordBLL;
     _exchangeServiceBLL        = exchangeServiceBLL;
     _exchangeServiceQRBLL      = exchangeServiceQRBLL;
 }
Пример #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="openDataBll"></param>
 /// <param name="goodsBll"></param>
 /// <param name="areaBll"></param>
 /// <param name="baseSupplierBll"></param>
 public GetPurchaseBackPagingAction(IOpenDataBLL openDataBll, IGoodsBLL goodsBll, IAreaBLL areaBll, IBaseSupplierBLL baseSupplierBll)
 {
     this._openDataBll     = openDataBll;
     this._goodsBll        = goodsBll;
     this._areaBll         = areaBll;
     this._baseSupplierBll = baseSupplierBll;
 }
Пример #3
0
        private void loadGoods()
        {
            IGoodsBLL gbll = BLLLoader.GetGoodsBll();

            goodses = gbll.GetSaleGoods();
            reloadGoods(0);
        }
Пример #4
0
 public CartController(ICartBLL cartBLL, IMemberBLL memberBLL, IGoodsBLL goodsBLL, IGoodsImagesBLL goodsImagesBLL, IRulesBLL rulesBLL)
 {
     _cartBLL       = cartBLL;
     _memberBLL     = memberBLL;
     _goodsBLL      = goodsBLL;
     _goodsImageBLL = goodsImagesBLL;
     _rulesBLL      = rulesBLL;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="openDataBll"></param>
 /// <param name="goodsBll"></param>
 /// <param name="areaBll"></param>
 /// <param name="retailCustomerBll"></param>
 public GetSaleGoodsBackPagingAction(IOpenDataBLL openDataBll, IGoodsBLL goodsBll, IAreaBLL areaBll,
                                     IRetailCustomerBLL retailCustomerBll)
 {
     this._openDataBll       = openDataBll;
     this._goodsBll          = goodsBll;
     this._areaBll           = areaBll;
     this._retailCustomerBll = retailCustomerBll;
 }
Пример #6
0
        private void FrmSaleLog_Load(object sender, EventArgs e)
        {
            BllFactory.DLLBasePath = Application.StartupPath;
            bll      = BllFactory.GetReportBll();
            logBll   = BllFactory.GetSaleLogBll();
            goodsBll = BllFactory.GetGoodsBll();
            catBll   = BllFactory.GetGoodsCategoryBll();

            loadData();
        }
Пример #7
0
 public GoodsController(IGoodsBLL goodsBLL, ICategoryBLL categoryBLL,
                        IGoodsCategoryBLL goodsCategoryBLL, IGoodsImagesBLL goodsImagesBLL,
                        IReCommendBLL recommendBLL)
 {
     _goodsBLL         = goodsBLL;
     _categoryBLL      = categoryBLL;
     _goodsCategoryBLL = goodsCategoryBLL;
     _goodsImagesBLL   = goodsImagesBLL;
     _recommendBLL     = recommendBLL;
 }
Пример #8
0
        private void FrmAddLog_Load(object sender, EventArgs e)
        {
            bll      = BLLLoader.GetSaleLogBll();
            goodsbll = BLLLoader.GetGoodsBll();
            List <Goods> items = goodsbll.GetAllGoods();

            this.cmbGoods.DisplayMember = "Name";
            this.cmbGoods.ValueMember   = "Id";
            this.cmbGoods.DataSource    = items;
        }
Пример #9
0
 public HomeController(ICategoryBLL categoryBLL, IGoodsBLL goodsBLL,
                       IGoodsImagesBLL goodsImagesBLL, IGoodsCategoryBLL goodsCategoryBLL, IRulesBLL rulesBLL, IMemberBLL memberBLL)
 {
     _categoryBLL      = categoryBLL;
     _goodsBLL         = goodsBLL;
     _goodsImagesBLL   = goodsImagesBLL;
     _goodsCategoryBLL = goodsCategoryBLL;
     _rulesBLL         = rulesBLL;
     _memberBLL        = memberBLL;
 }
Пример #10
0
 public OrderController(IOrderDetailBLL orderDetailBLL, IOrderBLL orderBLL,
                        IMemberBLL memberBLL, IGoodsBLL goodsBLL, IAddressBLL addressBLL,
                        IGoodsImagesBLL goodsImagesBLL, ICartBLL cartBLL, IRulesBLL rulesBLL,
                        IOrderStatusBLL orderStatusBLL)
 {
     _orderDetailBLL = orderDetailBLL;
     _orderBLL       = orderBLL;
     _memberBLL      = memberBLL;
     _goodsBLL       = goodsBLL;
     _addressBLL     = addressBLL;
     _goodsImagesBLL = goodsImagesBLL;
     _cartBLL        = cartBLL;
     _rulesBLL       = rulesBLL;
     _orderStausBLL  = orderStatusBLL;
 }
Пример #11
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="shopRetailRankBll"></param>
 /// <param name="shopRetailRankLimitBll"></param>
 /// <param name="sysUserBll"></param>
 /// <param name="sysUserRoleBll"></param>
 /// <param name="sysUserLogBll"></param>
 /// <param name="areaBll"></param>
 /// <param name="goodsBll"></param>
 /// <param name="openDataBll"></param>
 /// <param name="shopBll"></param>
 /// <param name="baseSupplierBll"></param>
 /// <param name="retailCustomerBll"></param>
 public OpenController(IShopRetailRankBLL shopRetailRankBll, IShopRetailRankLimitBLL shopRetailRankLimitBll,
                       ISysUserBLL sysUserBll, ISysUserRoleBLL sysUserRoleBll, ISysUserLogBLL sysUserLogBll,
                       IOpenDataBLL openDataBll, IGoodsBLL goodsBll, IAreaBLL areaBll, IShopBLL shopBll,
                       IBaseSupplierBLL baseSupplierBll, IRetailCustomerBLL retailCustomerBll)
 {
     this._shopRetailRankBll      = shopRetailRankBll;
     this._shopRetailRankLimitBll = shopRetailRankLimitBll;
     this._sysUserBll             = sysUserBll;
     this._sysUserRoleBll         = sysUserRoleBll;
     this._sysUserLogBll          = sysUserLogBll;
     this._openDataBll            = openDataBll;
     this._goodsBll          = goodsBll;
     this._areaBll           = areaBll;
     this._shopBll           = shopBll;
     this._baseSupplierBll   = baseSupplierBll;
     this._retailCustomerBll = retailCustomerBll;
 }
Пример #12
0
 public UserInfoController(IMemberBLL memberBLL, IGoodsBLL goodsBLL,
                           IGoodsImagesBLL goodsImagesBLL, IReCommendBLL recommendBLL,
                           IRechargeBLL rechargeBLL, ICarBLL carBLL, IServiceBLL serviceBLL,
                           IExchangeServiceRecordBLL exchangeServiceRecordBLL,
                           IExchangeServiceBLL exchangeServiceBLL, ITransactionBLL transactionBLL, IOrderBLL orderBLL)
 {
     _memberBLL                = memberBLL;
     _goodsBLL                 = goodsBLL;
     _goodsImageBLL            = goodsImagesBLL;
     _recommendBLL             = recommendBLL;
     _rechargeBLL              = rechargeBLL;
     _carBLL                   = carBLL;
     _serviceBLL               = serviceBLL;
     _exchangeServiceBLL       = exchangeServiceBLL;
     _exchangeServiceRecordBLL = exchangeServiceRecordBLL;
     _transactionBLL           = transactionBLL;
     _orderBLL                 = orderBLL;
 }
Пример #13
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="openDataBll"></param>
 /// <param name="goodsBll"></param>
 /// <param name="areaBll"></param>
 public GetGoodsPagingAction(IOpenDataBLL openDataBll, IGoodsBLL goodsBll, IAreaBLL areaBll)
 {
     this._openDataBll = openDataBll;
     this._goodsBll    = goodsBll;
     this._areaBll     = areaBll;
 }
Пример #14
0
 private void initBll()
 {
     BllFactory.DLLBasePath = Application.StartupPath;
     bll    = BllFactory.GetGoodsBll();
     catBll = BllFactory.GetGoodsCategoryBll();
 }
Пример #15
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="shopBll"></param>
 /// <param name="goodsBll"></param>
 public GetSaleGoodsAction(IShopBLL shopBll, IGoodsBLL goodsBll)
 {
     this._shopBll  = shopBll;
     this._goodsBll = goodsBll;
 }
 public GoodsController(IGoodsBLL _goodsBLL, IWebHostEnvironment environment)
 {
     goodsBLL = _goodsBLL;
     hosting  = environment;
 }
Пример #17
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="goodsBll"></param>
 public GetSaleGoodsLogAction(IGoodsBLL goodsBll)
 {
     this._goodsBll = goodsBll;
 }
Пример #18
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="shopBll"></param>
 /// <param name="goodsBll"></param>
 public GoodsController(IShopBLL shopBll, IGoodsBLL goodsBll)
 {
     this._shopBll  = shopBll;
     this._goodsBll = goodsBll;
 }
Пример #19
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="goodsBll"></param>
 public GetReceiptInLogAction(IGoodsBLL goodsBll)
 {
     this._goodsBll = goodsBll;
 }