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

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