示例#1
0
 /// <summary>
 /// for 门店确认异常入库
 /// </summary>
 /// <param name="fromType"></param>
 public ApplyStockBLL(GlobalConfig.DB.FromType fromType)
 {
     _goodsInfoSao   = new GoodsCenterSao();
     _reckoning      = new Reckoning(fromType);
     _applyStockDao  = new ApplyStockDAL(fromType);
     _applyDetailBll = new ShopExchangedApplyDetailDal(fromType);
     _purchaseSet    = new PurchaseSet(fromType);
     _storageManager = new StorageManager(fromType);
 }
示例#2
0
 public ReckoningManager(Environment.GlobalConfig.DB.FromType fromType)
 {
     _companyCussent    = new CompanyCussent(fromType);
     _reckoningDao      = InventoryInstance.GetReckoningDao(fromType);
     _goodsOrderDeliver = new GoodsOrderDeliver(fromType);
     _goodsOrder        = new DAL.Implement.Order.GoodsOrder(fromType);
     _goodsOrderDetail  = new GoodsOrderDetail(fromType);
     _codeManager       = new CodeManager();
     _storageRecordDao  = new StorageRecordDao(fromType);
 }
示例#3
0
 public ReckoningManager(IReckoning reckoning, ICompanyCussent companyCussent,
                         IGoodsOrder goodsOrder, IGoodsOrderDetail goodsOrderDetail, IGoodsOrderDeliver goodsOrderDeliver,
                         ICode code)
 {
     _reckoningDao      = reckoning;
     _companyCussent    = companyCussent;
     _goodsOrder        = goodsOrder;
     _goodsOrderDetail  = goodsOrderDetail;
     _goodsOrderDeliver = goodsOrderDeliver;
     _codeManager       = new CodeManager(code);
 }
示例#4
0
 public OrderManager(GlobalConfig.DB.FromType fromType = GlobalConfig.DB.FromType.Write)
 {
     _operationLogManager       = new OperationLogManager();
     _goodsOrderDal             = new DAL.Implement.Order.GoodsOrder(fromType);
     _goodsOrderDetail          = OrderInstance.GetGoodsOrderDetailDao(fromType);
     _goodsCenterSao            = new GoodsCenterSao();
     _promotionSao              = new PromotionSao();
     _reckoning                 = new Reckoning(fromType);
     _asynStorageRecordDao      = new ASYNStorageRecordDao(fromType);
     _goodsStockSettleRecordBll = new GoodsStockRecordDao();
     _invoice = new Invoice(fromType);
     _realTimeGrossSettlementDal = new RealTimeGrossSettlementDal(fromType);
 }
示例#5
0
 public SupplierReportBll(ISupplierReport supplierReport, IReckoning reckoning)
 {
     _reportDao = supplierReport;
     _reckoning = reckoning;
 }
示例#6
0
 public SupplierReportBll(ISupplierReport supplierReport, ICompanyCussent companyCussent, IReckoning reckoning)
 {
     _reportDao      = supplierReport;
     _companyCussent = companyCussent;
     _reckoning      = reckoning;
 }
示例#7
0
 public ReckoningManager(IReckoning reckoning, IWasteBook wasteBook)
 {
     _wasteBookManager = wasteBook;
     _reckoningDao     = reckoning;
 }
示例#8
0
 public ReckoningManager(Environment.GlobalConfig.DB.FromType fromType)
 {
     _wasteBookManager = new WasteBook(fromType);
     _reckoningDao     = InventoryInstance.GetReckoningDao(fromType);
 }