/// <summary>
 /// 生成历史月份的商品毛利记录
 /// </summary>
 /// <param name="goodsGrossProfit"></param>
 /// <param name="goodsOrderDetail"></param>
 /// <param name="promotionSao"></param>
 /// <param name="goodsGrossProfitRecordDetail"></param>
 public GoodsGrossProfitBll(IGoodsGrossProfit goodsGrossProfit, IGoodsOrderDetail goodsOrderDetail, IPromotionSao promotionSao, IGoodsGrossProfitRecordDetail goodsGrossProfitRecordDetail)
 {
     _goodsGrossProfit             = goodsGrossProfit;
     _goodsOrderDetail             = goodsOrderDetail;
     _promotionSao                 = promotionSao;
     _goodsGrossProfitRecordDetail = goodsGrossProfitRecordDetail;
 }
Esempio n. 2
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);
 }