public StockWarning(Environment.GlobalConfig.DB.FromType fromType) { _goodsInfoSao = new GoodsCenterSao(); _stockWarningDao = InventoryInstance.GetStockWarningDao(fromType); }
public StockWarning(IStockWarning stockWarning, IGoodsCenterSao goodsInfoSao) { _stockWarningDao = stockWarning; _goodsInfoSao = goodsInfoSao; }