public ProductBrandEntity GetProductBrandById(int id)
 {
     try
     {
         return(_productbrandRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
Exemple #2
0
 public LandAgentBillEntity GetLandAgentBillById(int id)
 {
     try
     {
         return(_landagentbillRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
Exemple #3
0
 public CFBBillEntity GetCFBBillById(int id)
 {
     try
     {
         return(_cfbbillRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
Exemple #4
0
 public ClassifyEntity GetClassifyById(int id)
 {
     try
     {
         return(_classifyRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
 public ParameterValueEntity GetParameterValueById(int id)
 {
     try
     {
         return _parametervalueRepository.GetById(id);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return null;
     }
 }
Exemple #6
0
 public OrderEntity GetOrderById(int id)
 {
     try
     {
         return(_orderRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
Exemple #7
0
 public ProductParameterEntity GetProductParameterById(int id)
 {
     try
     {
         return(_productparameterRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
 public BrandParameterEntity GetBrandParameterById(int id)
 {
     try
     {
         return(_brandparameterRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
 public ProductDetailEntity GetProductDetailById(int id)
 {
     try
     {
         return(_productdetailRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }