/// <summary> /// 查询商品 /// </summary> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionCommoditySearchResultDTO> > GetCommodities(Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionCommoditySearchDTO input) { base.Do(); return(this.Command.GetCommodities(input)); }
public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionCommoditySearchResultDTO> > GetCommodities(Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionCommoditySearchDTO input) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionCommoditySearchResultDTO> > result; try { //调用代理方法 result = base.Channel.GetCommodities(input); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }