Exemple #1
0
 public bool InsertBaoYangPackageActivityConfig(BaoYangPackageActivityConfig model)
 {
     try
     {
         return(DalBaoYangPackageActivityConfig.InsertBaoYangPackageActivityConfig(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangPackageActivityConfigException(1, "InsertBaoYangPackageActivityConfig", ex);
         Logger.Log(Level.Error, exception, "InsertBaoYangPackageActivityConfig");
         throw ex;
     }
 }
Exemple #2
0
 public bool DeleteBaoYangPackageActivityConfig(int id)
 {
     try
     {
         return(DalBaoYangPackageActivityConfig.DeleteBaoYangPackageActivityConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangPackageActivityConfigException(1, "DeleteBaoYangPackageActivityConfig", ex);
         Logger.Log(Level.Error, exception, "DeleteBaoYangPackageActivityConfig");
         throw ex;
     }
 }
Exemple #3
0
 public List <BaoYangPackageActivityConfig> GetBaoYangPackageActivityConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DalBaoYangPackageActivityConfig.GetBaoYangPackageActivityConfig(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new BaoYangPackageActivityConfigException(1, "GetBaoYangPackageActivityConfigList", ex);
         Logger.Log(Level.Error, exception, "GetBaoYangPackageActivityConfigList");
         throw ex;
     }
 }