修改中心调研bug

IRC_NewDev
hang 2024-08-07 15:02:07 +08:00
parent e92ea3ea0c
commit 44e4fe3a29
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace IRaCIS.Core.Application.Contracts
{
var trialSiteEquipmentSurveyQueryable = _trialSiteEquipmentSurveyRepository.Where(t => t.TrialSiteSurveyId == trialSiteSurveyId)
.WhereIf(!string.IsNullOrEmpty(scannerType), t => t.ScannerType.Contains(scannerType!))
.ProjectTo<TrialSiteEquipmentSurveyView>(_mapper.ConfigurationProvider);
.ProjectTo<TrialSiteEquipmentSurveyView>(_mapper.ConfigurationProvider,new { isEn_Us = _userInfo.IsEn_Us });
return await trialSiteEquipmentSurveyQueryable.ToListAsync();
}