diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialSiteService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialSiteService.cs index c04dadc46..f8f5ed306 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialSiteService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialSiteService.cs @@ -331,23 +331,6 @@ namespace IRaCIS.Core.Application.Services return list; } - /// - /// 获取项目下的 site 下拉框数据 CRC只看到他负责的 - /// - /// - /// - [HttpGet("{trialId:guid}")] - public async Task> GetTrialSiteSelectForSiteSurvey(Guid trialId) - { - //CRC只看到他负责的 - - 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)) - .ProjectTo(_mapper.ConfigurationProvider).OrderBy(t => t.TrialSiteCode).ToListAsync(); - - - return list; - } public async Task> GetTrialSiteCodeSelect(Guid trialId, bool isIncludeVirtualSite = true)