Compare commits

..

No commits in common. "32d613b146a361c0bd0b918b8e6f4b3b6d598ae1" and "e622f601a4b6e021a4237952ea074fc3e2ee25bd" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ namespace IRaCIS.Application.Services
//GA 要过滤课题组
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.GA, t => _userInfo.HospitalGroupIdList.Contains(t.HospitalGroupId))
.WhereIf(_userInfo.UserTypeEnumInt != (int)UserTypeEnum.SuperAdmin && _userInfo.UserTypeEnumInt != (int)UserTypeEnum.Admin && _userInfo.UserTypeEnumInt != (int)UserTypeEnum.OA && _userInfo.UserTypeEnumInt != (int)UserTypeEnum.GA
, t => t.TrialUserRoleList.Any(t => t.UserId == _userInfo.UserRoleId) && t.TrialIdentityUserList.Any(t => t.IdentityUserId == _userInfo.IdentityUserId))
, t => t.TrialUserRoleList.Any(t => t.UserId == _userInfo.UserRoleId))
.ProjectTo<NewTrialView>(_mapper.ConfigurationProvider);