修改一版

Uat_Study
he 2022-06-24 16:56:23 +08:00
parent 3eecc93023
commit b6994a29fa
3 changed files with 6 additions and 2 deletions

View File

@ -155,6 +155,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
[NotDefault]
public Guid SubjectId { get; set; }
[NotDefault]
public Guid VisitTaskId { get; set; }
}
public class SaveJudgeVisitTaskResult

View File

@ -402,8 +402,8 @@ namespace IRaCIS.Application.Services
[HttpPost]
public async Task<List<GetReadingPastResultListOutDto>> GetReadingPastResultList(GetReadingPastResultListInDto inDto)
{
var readingPastResultList =await _visitTaskRepository.Where(x => x.TrialId == inDto.TrialId&&x.SubjectId==inDto.SubjectId && x.DoctorUserId == _userInfo.Id)
.ProjectTo<GetReadingPastResultListOutDto>(_mapper.ConfigurationProvider).ToListAsync();
var readingPastResultList =await _visitTaskRepository.Where(x => x.TrialId == inDto.TrialId&&x.SubjectId==inDto.SubjectId && x.DoctorUserId == _userInfo.Id
&&x.Id!=inDto.VisitTaskId&&x.ReadingTaskState== ReadingTaskState.HaveSigned).ProjectTo<GetReadingPastResultListOutDto>(_mapper.ConfigurationProvider).ToListAsync();
return readingPastResultList;
}

View File

@ -71,6 +71,7 @@ namespace IRaCIS.Core.Domain.Models
public string OperationName { get; set; } = String.Empty;
//[Required]
//public Guid SubjectId { get; set; }