Example #1
0
        public List <ProductSalesPrice> SelectProductSalesPrice()
        {
            try
            {
                return(tuHuProductHandler.SelectProductSalesPrice());
            }
            catch (TuhuBizException)
            {
                throw;
            }
            catch (Exception innerExce)
            {
                var exception = new ProductInfomationException(0, "查询产品渠道销售价出错", innerExce);
                logger.Log(Level.Error, exception, "Error occurred in SelectProductSalesPrice");

                throw exception;
            }
        }
Example #2
0
        public string SelectBrandByPID(string PID)
        {
            try
            {
                return(tuHuProductHandler.SelectBrandByPID(PID));
            }
            catch (TuhuBizException)
            {
                throw;
            }
            catch (Exception innerExce)
            {
                var exception = new ProductInfomationException(0, "查询产品品牌出错", innerExce);
                logger.Log(Level.Error, exception, "Error occurred in SelectBrandByPID");

                throw;
            }
        }
Example #3
0
        public List <ProductInformation> SelectBYPID()
        {
            try
            {
                return(handler.SelectBYPID());
            }
            catch (TuhuBizException)
            {
                throw;
            }
            catch (Exception innerEx)
            {
                var exception = new ProductInfomationException(BizErrorCode.SystemError, "查询保养PID出错", innerEx);
                logger.Log(Level.Error, innerEx, "Error occurred in SelectBYPID");

                throw exception;
            }
        }