Compare commits
2 Commits
e622f601a4
...
32d613b146
| Author | SHA1 | Date |
|---|---|---|
|
|
32d613b146 | |
|
|
649b02d5d3 |
|
|
@ -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 => t.TrialUserRoleList.Any(t => t.UserId == _userInfo.UserRoleId) && t.TrialIdentityUserList.Any(t => t.IdentityUserId == _userInfo.IdentityUserId))
|
||||
.ProjectTo<NewTrialView>(_mapper.ConfigurationProvider);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue