예제 #1
0
 /// <summary>
 /// 查询分销订单
 /// </summary>
 /// <param name="search">查询类</param>
 /// <returns>结果</returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.CommodityOrderDistributionResultDTO GetDistributeOrderList(Jinher.AMP.BTP.Deploy.CustomDTO.CommodityOrderDistributionSearchDTO search)
 {
     base.Do();
     return(this.Command.GetDistributeOrderList(search));
 }
예제 #2
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.CommodityOrderDistributionResultDTO GetDistributeOrderList(Jinher.AMP.BTP.Deploy.CustomDTO.CommodityOrderDistributionSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.CommodityOrderDistributionResultDTO result;

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