示例#1
0
 public bool InsertVin_record(string id, string phone, string vin, string u)
 {
     try
     {
         return(handler.InsertVin_record(id, phone, vin, u));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "InsertVin_record", ex);
         Logger.Log(Level.Error, exception, "InsertVin_record");
         throw exception;
     }
 }
示例#2
0
 public DyModel GetVin_record(int ps, int pe)
 {
     try
     {
         return(handler.GetVin_record(ps, pe));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "GetVin_record", ex);
         Logger.Log(Level.Error, exception, "GetVin_record");
         throw exception;
     }
 }
示例#3
0
 public int UpdateVin_record(string phone, string vin, string id)
 {
     try
     {
         return(handler.UpdateVin_record(phone, vin, id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "UpdateVin_record", ex);
         Logger.Log(Level.Error, exception, "UpdateVin_record");
         throw exception;
     }
 }
示例#4
0
 public int DeleteVin_recordById(string id)
 {
     try
     {
         return(handler.DeleteVin_recordById(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "DeleteVin_recordById", ex);
         Logger.Log(Level.Error, exception, "DeleteVin_recordById");
         throw exception;
     }
 }
示例#5
0
 public void InsertVIN_REGION(string region)
 {
     try
     {
         handler.InsertVIN_REGION(region);
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "InsertVIN_REGION", ex);
         Logger.Log(Level.Error, exception, "InsertVIN_REGION");
         throw exception;
     }
 }
示例#6
0
 public void Operate(int isEnable, int id, string region)
 {
     try
     {
         handler.Operate(isEnable, id, region);
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "Operate", ex);
         Logger.Log(Level.Error, exception, "Operate");
         throw exception;
     }
 }
示例#7
0
 public DyModel GetVIN_REGIONDyModel()
 {
     try
     {
         return(handler.GetVIN_REGIONDyModel());
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new VinException(0, "GetVIN_REGIONDyModel", ex);
         Logger.Log(Level.Error, exception, "GetVIN_REGIONDyModel");
         throw exception;
     }
 }