修改
This commit is contained in:
@@ -112,6 +112,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public List<QuestionAnswer> AnswerList { get; set; } = new List<QuestionAnswer>();
|
||||
}
|
||||
|
||||
public class SaveJudgeTaskDto
|
||||
{
|
||||
public List<Guid> VisitTaskIds { get; set; }
|
||||
}
|
||||
|
||||
public class QuestionAnswer
|
||||
{
|
||||
|
||||
@@ -167,7 +167,7 @@ namespace IRaCIS.Application.Services
|
||||
[HttpPost]
|
||||
public async Task<List<GetTrialCriterionJudgeQuestionListOutDto>> GetTrialCriterionJudgeQuestionList(GetTrialCriterionJudgeQuestionListInDto inDto)
|
||||
{
|
||||
var result = await _readingQuestionTrialRepository.Where(x => x.Id == inDto.ReadingQuestionCriterionTrialId && x.IsJudgeQuestion)
|
||||
var result = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.ReadingQuestionCriterionTrialId && x.IsJudgeQuestion)
|
||||
.Select(x => new GetTrialCriterionJudgeQuestionListOutDto()
|
||||
{
|
||||
AnswerGroup = x.AnswerGroup,
|
||||
|
||||
Reference in New Issue
Block a user