コード例 #1
0
 public bool InsertVIPAuthorizationRuleConfig(VIPAuthorizationRuleConfig model)
 {
     try
     {
         return(DALVIPAuthorizationRuleConfig.InsertVIPAuthorizationRuleConfig(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VIPAuthorizationRuleConfigException(1, "InsertVIPAuthorizationRuleConfig", ex);
         Logger.Log(Level.Error, exception, "InsertVIPAuthorizationRuleConfig");
         throw ex;
     }
 }
コード例 #2
0
 public List <VIPAuthorizationRuleConfig> GetVIPAuthorizationRuleAndId()
 {
     try
     {
         return(DALVIPAuthorizationRuleConfig.GetVIPAuthorizationRuleAndId());
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VIPAuthorizationRuleConfigException(1, "GetVIPAuthorizationRuleAndId", ex);
         Logger.Log(Level.Error, exception, "GetVIPAuthorizationRuleAndId");
         throw ex;
     }
 }
コード例 #3
0
 public VIPAuthorizationRuleConfig GetVIPAuthorizationRuleConfig(int id)
 {
     try
     {
         return(DALVIPAuthorizationRuleConfig.GetVIPAuthorizationRuleConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VIPAuthorizationRuleConfigException(1, "GetVIPAuthorizationRuleConfig", ex);
         Logger.Log(Level.Error, exception, "GetVIPAuthorizationRuleConfig");
         throw ex;
     }
 }
コード例 #4
0
 public List <VIPAuthorizationRuleConfig> GetVIPAuthorizationRuleConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALVIPAuthorizationRuleConfig.GetVIPAuthorizationRuleConfigList(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VIPAuthorizationRuleConfigException(1, "GetVIPAuthorizationRuleConfigList", ex);
         Logger.Log(Level.Error, exception, "GetVIPAuthorizationRuleConfigList");
         throw ex;
     }
 }