指派其他质控-uat-13
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-07-16 10:11:24 +08:00
parent af1b0cbbb9
commit ff08efd978
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ namespace IRaCIS.Core.Application.Service
var list = await _trialIdentityUserRepository.Where(t => t.TrialId == trialId) var list = await _trialIdentityUserRepository.Where(t => t.TrialId == trialId)
.SelectMany(t => t.TrialUserRoleList) .SelectMany(t => t.TrialUserRoleList)
.WhereIf(userTypeEnum != null, t => t.UserRole.UserTypeEnum == userTypeEnum) .WhereIf(userTypeEnum != null, t => t.UserRole.UserTypeEnum == userTypeEnum)
.Where(t => t.UserRole.Id != _userInfo.UserRoleId)//iQC 指派过滤自己
.Select(t => new TrialSelectUserBasicInfo() .Select(t => new TrialSelectUserBasicInfo()
{ {
FullName = t.TrialUser.IdentityUser.FullName, FullName = t.TrialUser.IdentityUser.FullName,