Esempio n. 1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SupplierListDTO> > GetSuppliers(Jinher.AMP.BTP.Deploy.CustomDTO.SupplierSearchDTO searchDto)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SupplierListDTO> > result;

            try
            {
                //调用代理方法
                result = base.Channel.GetSuppliers(searchDto);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Esempio n. 2
0
 /// <summary>
 /// 获取供应商数据
 /// </summary>
 /// <param name="searchDto"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SupplierListDTO> > GetSuppliers(Jinher.AMP.BTP.Deploy.CustomDTO.SupplierSearchDTO searchDto)
 {
     base.Do();
     return(this.GetSuppliersExt(searchDto));
 }