示例#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;
 }