/// <summary>
        /// 获取列表页面数据
        /// </summary>
        /// <param name="query">查询对象</param>
        /// <returns>查询结果</returns>
        public NGPResponse <dynamic> QueryDynamicSingleData(DynamicQueryRequest query)
        {
            if (query == null)
            {
                return(new NGPResponse <dynamic>
                {
                    AffectedRows = 0,
                    ErrorCode = ErrorCode.ParamEmpty,
                    Message = CommonResource.ParameterError,
                    Status = OperateStatus.Error
                });
            }

            var context = new QueryResolveContext
            {
                Request = query,
            };

            ResolveProcessorFactory.SingleQueryStep.HandleProcess(context);
            return(new NGPResponse <dynamic>
            {
                Message = CommonResource.OperatorSuccess,
                Status = OperateStatus.Success,
                Data = context.Response.Data
            });
        }
        /// <summary>
        /// 获取列表页面数据
        /// </summary>
        /// <param name="query">查询对象</param>
        /// <returns>查询结果</returns>
        public NGPResponse <NGPPageQueryResponse> QueryDynamicListPageData(NGPPageQueryRequest <DynamicQueryRequest> query)
        {
            if (query == null || query.RequestData == null)
            {
                return(new NGPResponse <NGPPageQueryResponse>
                {
                    AffectedRows = 0,
                    ErrorCode = ErrorCode.ParamEmpty,
                    Message = CommonResource.ParameterError,
                    Status = OperateStatus.Error
                });
            }

            var context = new QueryResolveContext
            {
                Request          = query.RequestData,
                PageQueryRequest = query,
            };

            ResolveProcessorFactory.PageQueryStep.HandleProcess(context);
            return(new NGPResponse <NGPPageQueryResponse>
            {
                Message = CommonResource.OperatorSuccess,
                Status = OperateStatus.Success,
                Data = context.Response
            });
        }