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