中心调研修改 需要迁移
parent
f0725873e1
commit
2c377d02f9
|
@ -323,7 +323,7 @@ namespace IRaCIS.Core.Application.Services
|
||||||
{
|
{
|
||||||
//CRC只看到他负责的
|
//CRC只看到他负责的
|
||||||
|
|
||||||
var list = await _trialSiteRepository.Where(t => t.TrialId == trialId)
|
var list = await _trialSiteRepository.Where(t => t.TrialId == trialId).IgnoreQueryFilters()
|
||||||
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.CRA, t => t.CRCUserList.Any(t => t.UserId == _userInfo.Id))
|
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.CRA, t => t.CRCUserList.Any(t => t.UserId == _userInfo.Id))
|
||||||
.ProjectTo<TrialSiteForSelect>(_mapper.ConfigurationProvider).OrderBy(t => t.TrialSiteCode).ToListAsync();
|
.ProjectTo<TrialSiteForSelect>(_mapper.ConfigurationProvider).OrderBy(t => t.TrialSiteCode).ToListAsync();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue