/// <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 }); }
public ActionResult <NGPResponse <NGPPageQueryResponse> > QueryDynamicListPageData(NGPPageQueryRequest <DynamicQueryRequest> query) { return(Ok(_dynamicDataService.QueryDynamicListPageData(query))); }