Uat_Study
he 2022-07-26 17:45:08 +08:00
parent d5cf6b28e3
commit bad0371444
2 changed files with 9 additions and 3 deletions

View File

@ -358,11 +358,18 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
}
public class GetSystemReadingQuestionInDto
{
[NotDefault]
public Guid ReadingQuestionCriterionSystemId { get; set; }
}
public class GetTrialReadingQuestionInDto
{
[NotDefault]
public Guid ReadingQuestionCriterionSystemId { get; set; }
public Guid ReadingQuestionCriterionTrialId { get; set; }
public Guid? VisitTaskId { get; set; }

View File

@ -627,10 +627,9 @@ namespace IRaCIS.Application.Services
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<GetTrialReadingQuestionPageDto> GetSystemReadingQuestion(GetTrialReadingQuestionInDto inDto)
public async Task<GetTrialReadingQuestionPageDto> GetSystemReadingQuestion(GetSystemReadingQuestionInDto inDto)
{
var result = new GetTrialReadingQuestionPageDto();
var query = from data in _readingQuestionSystem.Where(x => x.ReadingQuestionCriterionSystemId == inDto.ReadingQuestionCriterionSystemId)
select new GetTrialReadingQuestionOutDto()
{