Example #1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO UpdateCategoryBycommodityId(Jinher.AMP.BTP.Deploy.CustomDTO.UCategoryVM uCategoryVM)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.UpdateCategoryBycommodityId(uCategoryVM);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Example #2
0
 /// <summary>
 /// 编辑商品类别
 /// </summary>
 /// <param name="UCategoryVM">商品分类VM</param>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO UpdateCategoryBycommodityId(Jinher.AMP.BTP.Deploy.CustomDTO.UCategoryVM uCategoryVM)
 {
     base.Do();
     return(this.UpdateCategoryBycommodityIdExt(uCategoryVM));
 }