Uat_Study
parent
243cbec782
commit
e461cef92e
|
@ -102,11 +102,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public class SubmitVisitTaskQuestionsInDto
|
||||
{
|
||||
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||
|
||||
public List<QuestionAnswer> AnswerList { get; set; } = new List<QuestionAnswer>();
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace IRaCIS.Application.Services
|
|||
}
|
||||
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,
|
||||
ReadingCategory = x.ReadingCategory,
|
||||
|
|
Loading…
Reference in New Issue