예제 #1
0
 public bool UpdateFlashSaleProductsIsUsePCode(FlashSaleProductsExtend model)
 {
     try
     {
         return(DALFlashSaleProductsExtend.UpdateFlashSaleProductsIsUsePCode(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new FlashSaleProductsExtendException(1, "UpdateFlashSaleProductsIsUsePCode", ex);
         Logger.Log(Level.Error, exception, "UpdateFlashSaleProductsIsUsePCode");
         throw ex;
     }
 }
예제 #2
0
 public List <FlashSaleProductsExtend> GetFlashSaleProductsExtendList(string sqlStr, int pageSize, int pageIndex, string orderBy, out int recordCount)
 {
     try
     {
         return(DALFlashSaleProductsExtend.GetFlashSaleProductsExtendList(sqlStr, pageSize, pageIndex, orderBy, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new FlashSaleProductsExtendException(1, "GetFlashSaleProductsExtendList", ex);
         Logger.Log(Level.Error, exception, "GetFlashSaleProductsExtendList");
         throw ex;
     }
 }