Exemplo n.º 1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO UpdateOutsidePromotion(Jinher.AMP.BTP.Deploy.CustomDTO.PromotionOutSideVM discountsDTO)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.UpdateOutsidePromotion(discountsDTO);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 修改折扣(活动开始后不允许修改)
 /// </summary>
 /// <param name="discountsDTO">折扣属性</param>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO UpdateOutsidePromotion(Jinher.AMP.BTP.Deploy.CustomDTO.PromotionOutSideVM discountsDTO)
 {
     base.Do(false);
     return(this.UpdateOutsidePromotionExt(discountsDTO));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 添加折扣
 /// </summary>
 /// <param name="discountsDTO">折扣属性</param>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO AddOutsidePromotion(Jinher.AMP.BTP.Deploy.CustomDTO.PromotionOutSideVM discountsDTO)
 {
     base.Do();
     return(this.Command.AddOutsidePromotion(discountsDTO));
 }