Example #1
0
        /// <summary>
        /// 获取任务执行计划分页
        /// </summary>
        /// <param name="query">查询条件</param>
        /// <returns>执行计划分页</returns>
        public static IPaging <Trigger> GetTriggerPaging(IQuery query)
        {
            var triggerPaging = triggerRepository.GetPaging(query);
            var triggerList   = LoadOtherObjectData(triggerPaging, query);

            return(new Paging <Trigger>(triggerPaging.Page, triggerPaging.PageSize, triggerPaging.TotalCount, triggerList));
        }