/// <summary>
        /// 获取产品报价信息
        /// </summary>
        /// <param name="priceID"></param>
        /// <returns></returns>
        public static ProductPrice GetPrice(int priceID)
        {
            ProductPrice price = null;

            price = ShopDataProvider.Instance.GetPrice(priceID);
            return(price);
        }
        /// <summary>
        /// 编辑产品报价
        /// </summary>
        /// <param name="price"></param>
        /// <returns></returns>
        public static DataActionStatus Update(ProductPrice price)
        {
            DataActionStatus status;

            ShopDataProvider.Instance.CreateUpdatePrice(price, DataProviderAction.Update, out status);
            return(status);
        }
        public static DataActionStatus Create(Product product, int focusType, string categoryIDList, string industryIDList, ProductPrice price)
        {
            DataActionStatus status;

            product = ShopDataProvider.Instance.CreateUpdateProduct(product, focusType, categoryIDList, industryIDList,
                                                                    price, DataProviderAction.Create, out status);
            if (status == DataActionStatus.Success)
            {
                OnUpdated();
                //处理临时附件信息
                SavePicturesAndFilterBody(product);
                //处理缓存信息
                HHCache.Instance.Remove(CacheKeyManager.ProductListKey);
            }
            return(status);
        }
        public static DataActionStatus Update(Product product, int focusType, string categoryIDList, string industryIDList, ProductPrice price)
        {
            DataActionStatus status;

            product = ShopDataProvider.Instance.CreateUpdateProduct(product, focusType, categoryIDList, industryIDList,
                                                                    price, DataProviderAction.Update, out status);
            if (status == DataActionStatus.Success)
            {
                OnUpdated();
                HHCache.Instance.Remove(CacheKeyManager.GetProductKey(product.ProductID));
                HHCache.Instance.Remove(CacheKeyManager.ProductListKey);
            }
            return(status);
        }