/// <summary> /// 根据商品名称获取商品列表 /// </summary> /// <param name="pdto">参数dto</param> /// <returns>商品列表</returns> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityDividendListDTO> GetCommodityByName(Jinher.AMP.BTP.Deploy.CustomDTO.GetCommodityByNameParam pdto) { base.Do(); return(this.GetCommodityByNameExt(pdto)); }
public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityDividendListDTO> GetCommodityByName(Jinher.AMP.BTP.Deploy.CustomDTO.GetCommodityByNameParam pdto) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.CommodityDividendListDTO> result; try { //调用代理方法 result = base.Channel.GetCommodityByName(pdto); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }