Uat_Study
parent
243cbec782
commit
e461cef92e
|
@ -102,11 +102,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SubmitVisitTaskQuestionsInDto
|
public class SubmitVisitTaskQuestionsInDto
|
||||||
{
|
{
|
||||||
|
[NotDefault]
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
[NotDefault]
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
[NotDefault]
|
||||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||||
|
|
||||||
public List<QuestionAnswer> AnswerList { get; set; } = new List<QuestionAnswer>();
|
public List<QuestionAnswer> AnswerList { get; set; } = new List<QuestionAnswer>();
|
||||||
|
|
|
@ -75,7 +75,7 @@ namespace IRaCIS.Application.Services
|
||||||
}
|
}
|
||||||
if (subjectId != null)
|
if (subjectId != null)
|
||||||
{
|
{
|
||||||
task = await _visitTaskRepository.Where(x => x.TrialId == trialId && x.ReadingTaskState != ReadingTaskState.HaveSigned && x.SubjectId == subjectId.Value).Select(x => new GetReadingTaskDto()
|
task = await _visitTaskRepository.Where(x => x.TrialId == trialId && x.ReadingTaskState != ReadingTaskState.HaveSigned && x.SubjectId == subjectId.Value&&x.DoctorUserId == _userInfo.Id).Select(x => new GetReadingTaskDto()
|
||||||
{
|
{
|
||||||
VisistTaskId=x.Id,
|
VisistTaskId=x.Id,
|
||||||
ReadingCategory = x.ReadingCategory,
|
ReadingCategory = x.ReadingCategory,
|
||||||
|
|
Loading…
Reference in New Issue