Uat_Study
parent
d5cf6b28e3
commit
bad0371444
|
@ -358,11 +358,18 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class GetSystemReadingQuestionInDto
|
||||||
|
{
|
||||||
|
[NotDefault]
|
||||||
|
public Guid ReadingQuestionCriterionSystemId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public class GetTrialReadingQuestionInDto
|
public class GetTrialReadingQuestionInDto
|
||||||
{
|
{
|
||||||
[NotDefault]
|
[NotDefault]
|
||||||
public Guid ReadingQuestionCriterionSystemId { get; set; }
|
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||||
|
|
||||||
public Guid? VisitTaskId { get; set; }
|
public Guid? VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -627,10 +627,9 @@ namespace IRaCIS.Application.Services
|
||||||
/// <param name="inDto"></param>
|
/// <param name="inDto"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<GetTrialReadingQuestionPageDto> GetSystemReadingQuestion(GetTrialReadingQuestionInDto 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.ReadingQuestionCriterionSystemId)
|
||||||
select new GetTrialReadingQuestionOutDto()
|
select new GetTrialReadingQuestionOutDto()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue