修改通用返回
This commit is contained in:
@@ -9,6 +9,7 @@ namespace IRaCIS.Application.Interfaces
|
||||
Task<IResponseOutput> DeleteSubject(Guid id);
|
||||
|
||||
Task<IResponseOutput> UpdateSubjectStatus(SubjectStatusChangeCommand subjectStatusChangeCommand);
|
||||
Task<IResponseOutput<PageOutput<SubjectQueryView>, TrialSubjectConfig>> GetSubjectList(SubjectQueryParam param);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -114,7 +114,7 @@ namespace IRaCIS.Application.Services
|
||||
/// <summary> 分页获取受试者列表[New] </summary>
|
||||
/// /// <param name="param">state:1-访视中,2-出组。0-全部</param>
|
||||
[HttpPost]
|
||||
public async Task<IResponseOutput<PageOutput<SubjectQueryView>, TrialSubjectConfig>> GetSubjectList(SubjectQueryParam param)
|
||||
public async Task<IResponseOutput<PageOutput<SubjectQueryView>>> GetSubjectList(SubjectQueryParam param)
|
||||
{
|
||||
|
||||
var subjectQuery = _subjectRepository.Where(u => u.TrialId == param.TrialId)
|
||||
|
||||
Reference in New Issue
Block a user