修改项目下拉筛选
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
he 2025-08-20 11:21:23 +08:00
parent b5d259f907
commit b301d51b2d
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,7 @@ namespace IRaCIS.Core.Application.Service
other.AddRange(sap);
other.AddRange(pm);
other.AddRange(qAEq);
other.AddRange(ga);
List<string> trialState = new List<string>() { StaticData.TrialState.TrialOngoing, StaticData.TrialState.TrialCompleted, StaticData.TrialState.TrialStopped };
@ -132,6 +133,8 @@ namespace IRaCIS.Core.Application.Service
&& t.TrialUserRoleList.Any(t => t.UserId == _userInfo.UserRoleId && t.IsDeleted == false))
&& t.IsDeleted == false)
// ga
.WhereIf(ga.Contains(_userInfo.UserTypeEnumInt), t => _userInfo.HospitalGroupIdList.Contains(t.HospitalGroupId)&& trialState.Contains(x.TrialStatusStr))
// QA EA
.WhereIf(qAEq.Contains(_userInfo.UserTypeEnumInt), t => t.TrialIdentityUserList.Any(t => t.IdentityUserId == _userInfo.IdentityUserId && t.IsDeleted == false