Uat_Study
he 2022-07-26 17:48:40 +08:00
parent bad0371444
commit db3ffbf6fc
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class GetSystemReadingQuestionInDto public class GetSystemReadingQuestionInDto
{ {
[NotDefault] [NotDefault]
public Guid ReadingQuestionCriterionSystemId { get; set; } public Guid Id { get; set; }
} }

View File

@ -630,7 +630,7 @@ namespace IRaCIS.Application.Services
public async Task<GetTrialReadingQuestionPageDto> GetSystemReadingQuestion(GetSystemReadingQuestionInDto inDto) public async Task<GetTrialReadingQuestionPageDto> GetSystemReadingQuestion(GetSystemReadingQuestionInDto inDto)
{ {
var result = new GetTrialReadingQuestionPageDto(); var result = new GetTrialReadingQuestionPageDto();
var query = from data in _readingQuestionSystem.Where(x => x.ReadingQuestionCriterionSystemId == inDto.ReadingQuestionCriterionSystemId) var query = from data in _readingQuestionSystem.Where(x => x.ReadingQuestionCriterionSystemId == inDto.Id)
select new GetTrialReadingQuestionOutDto() select new GetTrialReadingQuestionOutDto()
{ {
ReadingQuestionTrialId = data.Id, ReadingQuestionTrialId = data.Id,