修改
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user