Exemplo n.º 1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveJdJournal(Jinher.AMP.BTP.Deploy.JdJournalDTO model)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.SaveJdJournal(model);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemplo n.º 2
0
        public List <Jinher.AMP.BTP.Deploy.JdJournalDTO> GetJdJournalList(Jinher.AMP.BTP.Deploy.JdJournalDTO search)
        {
            //定义返回值
            List <Jinher.AMP.BTP.Deploy.JdJournalDTO> result;

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