예제 #1
0
 /// <summary>
 /// 删除佣金信息
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public ResultDTO DelBaseCommission(Jinher.AMP.BTP.Deploy.CustomDTO.MallApply.BaseCommissionDTO model)
 {
     //定义返回值
     Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;
     try
     {
         //调用代理方法
         result = base.Channel.DelBaseCommission(model);
     }
     catch
     {
         //抛异常
         throw;
     }
     finally
     {
         //关链接
         ChannelClose();
     }            //返回结果
     return(result);
 }
예제 #2
0
        /// <summary>
        /// 查询基础佣金信息
        /// </summary>
        /// <param name="search">查询类</param>
        /// <returns>结果</returns>
        public List <Jinher.AMP.BTP.Deploy.CustomDTO.MallApply.BaseCommissionDTO> GetBaseCommissionList(Jinher.AMP.BTP.Deploy.CustomDTO.MallApply.BaseCommissionDTO search)
        {
            //定义返回值
            List <Jinher.AMP.BTP.Deploy.CustomDTO.MallApply.BaseCommissionDTO> result;

            try
            {
                //调用代理方法
                result = base.Channel.GetBaseCommissionList(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }