修改一版
parent
5445411c9d
commit
96b7d4886c
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
/// 阅片信息签名
|
||||
|
|
Loading…
Reference in New Issue