修改一版

Uat_Study
he 2022-10-10 11:21:40 +08:00
parent 5445411c9d
commit 96b7d4886c
2 changed files with 29 additions and 0 deletions

View File

@ -626,6 +626,19 @@ namespace IRaCIS.Core.Application.Contracts
public string CriterionName { get; set; }
}
public class GetTrialConfirmCriterionListInDto
{
public Guid TrialId { get; set; }
}
public class GetTrialConfirmCriterionOutDto
{
public Guid TrialCriterionId { get; set; }
public string CriterionName { get; set; }
}
public class TrialReadingInfoSignInDto
{

View File

@ -78,6 +78,22 @@ namespace IRaCIS.Core.Application
return ResponseOutput.Ok(true);
}
/// <summary>
/// 获取项目已经确认的标准
/// </summary>
/// <returns></returns>
[HttpPost]
public async Task<List<GetTrialConfirmCriterionOutDto>> GetTrialConfirmCriterionList(GetTrialConfirmCriterionListInDto inDto)
{
List<GetTrialConfirmCriterionOutDto> result = await _readingQuestionCriterionTrialRepository.Where(x => x.TrialId == inDto.TrialId && x.IsConfirm)
.Select(x => new GetTrialConfirmCriterionOutDto()
{
TrialCriterionId = x.Id,
CriterionName = x.CriterionName
}).ToListAsync();
return result;
}
/// <summary>
/// 阅片信息签名