Uat_Study
he 2023-05-10 14:35:34 +08:00
parent e941bd8266
commit 0a994573cd
1 changed files with 3 additions and 1 deletions

View File

@ -148,7 +148,9 @@ namespace IRaCIS.Application.Services
UserTypeEnum userType = (UserTypeEnum)_userInfo.UserTypeEnumInt;
//_userInfo.UserTypeId
return await _trialDocumentRepository.Where(x => x.TrialId == inDto.TrialId && x.NeedConfirmedUserTypeList.Any(y => y.NeedConfirmUserTypeId == _userInfo.UserTypeId))
return await _trialDocumentRepository.Where(x => x.TrialId == inDto.TrialId
&&x.TrialDocConfirmedUserList.Any(y=>y.ConfirmUserId== _userInfo.Id)
&& x.NeedConfirmedUserTypeList.Any(y => y.NeedConfirmUserTypeId == _userInfo.UserTypeId))
.Select(x => new GetManualListOutDto()
{
Id=x.Id,