public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveSpecifications(Jinher.AMP.BTP.Deploy.SpecificationsDTO model) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result; try { //调用代理方法 result = base.Channel.SaveSpecifications(model); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }
public List <Jinher.AMP.BTP.Deploy.SpecificationsDTO> GetSpecificationsList(Jinher.AMP.BTP.Deploy.SpecificationsDTO search) { //定义返回值 List <Jinher.AMP.BTP.Deploy.SpecificationsDTO> result; try { //调用代理方法 result = base.Channel.GetSpecificationsList(search); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }