public bool IsBaoQuan() { if (this.ShopOrderProducts != null) { ShopProduct first = this.ShopOrderProducts.Select(q => q.ShopProduct).FirstOrDefault(); if (first != null && first.IsBaoKuan()) { return(true); } } return(false); }
/// <summary> /// 获取用户的价格 /// </summary> /// <param name="product"></param> /// <returns></returns> public decimal GetProductPrice(ShopProduct product) { //if (IsVip()) // return product.PriceVip; return(product.PriceShopping); }