コード例 #1
0
 /// <summary>
 /// 获取推广主类型
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.SpreadCategoryDTO> > GetSpreadCategoryList(Jinher.AMP.BTP.Deploy.CustomDTO.SpreadSearchDTO search)
 {
     base.Do();
     return(this.Command.GetSpreadCategoryList(search));
 }
コード例 #2
0
 /// <summary>
 /// 获取推广主列表
 /// </summary>
 /// <param name="search"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SpreadInfoShowDTO> > GetSpreadInfoList(Jinher.AMP.BTP.Deploy.CustomDTO.SpreadSearchDTO search)
 {
     base.Do();
     return(this.GetSpreadInfoListExt(search));
 }
コード例 #3
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.SpreadCategoryDTO> > GetSpreadCategoryList(Jinher.AMP.BTP.Deploy.CustomDTO.SpreadSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.SpreadCategoryDTO> > result;

            try
            {
                //调用代理方法
                result = base.Channel.GetSpreadCategoryList(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
コード例 #4
0
ファイル: SpreadCategoryBP.cs プロジェクト: GSIL-Monitor/BTP
        /// <summary>
        /// 获取推广主类型
        /// </summary>
        /// <param name="search"></param>
        /// <returns></returns>
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.SpreadCategoryDTO> > GetSpreadCategoryList(Jinher.AMP.BTP.Deploy.CustomDTO.SpreadSearchDTO search)
        {
            base.Do();
            Stopwatch timer = new Stopwatch();

            timer.Start();
            var result = this.GetSpreadCategoryListExt(search);

            timer.Stop();
            LogHelper.Debug(string.Format("SpreadCategoryBP.GetSpreadCategoryList:耗时:{0}。入参:search:{1},\r\n出参:{2}", timer.ElapsedMilliseconds, JsonHelper.JsonSerializer(search), JsonHelper.JsonSerializer(result)));
            return(result);
        }
コード例 #5
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SpreadInfoShowDTO> > GetSpreadInfoList(Jinher.AMP.BTP.Deploy.CustomDTO.SpreadSearchDTO search)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.SpreadInfoShowDTO> > result;

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