diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/OrganInfoService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/OrganInfoService.cs index 7f064ffb..4c1e0be6 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/OrganInfoService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/OrganInfoService.cs @@ -156,12 +156,9 @@ namespace IRaCIS.Core.Application.Service .WhereIf(inDto.OrganType != null, x => x.OrganType == inDto.OrganType) .WhereIf(inDto.IsLymphNodes != null, x => x.IsLymphNodes == inDto.IsLymphNodes) .WhereIf(inDto.LesionType != null, x => organs.Contains(x.OrganType)) - .WhereIf(!inDto.Part.IsNullOrEmpty(), x => x.Part.Contains(inDto.Part)) - .WhereIf(!inDto.TULOC.IsNullOrEmpty(), x => x.Part.Contains(inDto.TULOC)) - .WhereIf(!inDto.TULAT.IsNullOrEmpty(), x => x.Part.Contains(inDto.TULAT)) - .WhereIf(!inDto.PartEN.IsNullOrEmpty(), x => x.Part.Contains(inDto.PartEN)) - .WhereIf(!inDto.TULOC.IsNullOrEmpty(), x => x.Part.Contains(inDto.TULOC)) - .WhereIf(!inDto.TULATEN.IsNullOrEmpty(), x => x.Part.Contains(inDto.TULATEN)) + .WhereIf(!inDto.Part.IsNullOrEmpty(), x => x.Part.Contains(inDto.Part)||x.PartEN.Contains(inDto.Part)) + .WhereIf(!inDto.TULOC.IsNullOrEmpty(), x => x.TULOC.Contains(inDto.TULOC)|| x.TULATEN.Contains(inDto.TULOC)) + .WhereIf(!inDto.TULAT.IsNullOrEmpty(), x => x.TULAT.Contains(inDto.TULAT)||x.TULATEN.Contains(inDto.TULAT)) join trialData in _organTrialInfoRepository.WhereIf(inDto.IsEnable != null, x => x.IsEnable == inDto.IsEnable) .WhereIf(inDto.IsEnable != null, x => x.IsEnable == inDto.IsEnable)