public ApiResult <ReportQueryResponse> ReportQuery(ReportQueryRequest request) { return(this.DoApiResult( proxyService.DoTrans <HModels.HospReportQueryRequest, HModels.HospReportQueryResponse, ReportQueryRequest, ReportQueryResponse>( request, p => new HModels.HospReportQueryRequest { checkType = p.type, queryId = p.id }, p => new ReportQueryResponse { checkDate = p.data?.checkDate, conclusion = p.data?.repostResult, name = p.data?.realName, result = p.data?.reportMessage, sex = p.data?.sex, type = p.data?.type }))); }
public ApiArrayResult <ReportQueryData> Query(ReportQueryRequest request) { return(Runner.Execute(service.ReportQuery, request)); }