示例#1
0
 /// <summary>
 /// 编辑三方商城记录
 /// </summary>
 /// <param name="codeBatch"></param>
 /// <returns></returns>
 public static int EditThirdMall(ThirdPartyMallModel thirdMall)
 {
     try
     {
         return(DalThirdPartyMall.EditThirdMall(thirdMall));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ThirdPartyMallConfigException(1, "EditThirdMall", ex);
         Logger.Log(Level.Error, exception, "EditThirdMall");
         throw ex;
     }
 }
示例#2
0
 /// <summary>
 /// 根据PKID查询具体的信息
 /// </summary>
 /// <param name="batchId"></param>
 /// <returns></returns>
 public static ThirdPartyMallModel SelectThirdMall(int pkid)
 {
     try
     {
         return(DalThirdPartyMall.SelectThirdMall(pkid));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ThirdPartyMallConfigException(1, "SelectThirdMall", ex);
         Logger.Log(Level.Error, exception, "SelectThirdMall");
         throw ex;
     }
 }
示例#3
0
 /// <summary>
 /// 搜索三方商城记录
 /// </summary>
 /// <returns></returns>
 public static List <ThirdPartyMallModel> SelectThirdMall(SerchThirdPartyMallModel serchMall)
 {
     try
     {
         return(DalThirdPartyMall.SelectThirdMall(serchMall));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new ThirdPartyMallConfigException(1, "SelectThirdMall", ex);
         Logger.Log(Level.Error, exception, "SelectThirdMall");
         throw ex;
     }
 }