This commit is contained in:
he
2022-11-01 09:36:39 +08:00
parent 4e4902c8a3
commit 4a433fc18d
4 changed files with 44 additions and 1 deletions
@@ -156,6 +156,12 @@ 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))
join trialData in _organTrialInfoRepository.WhereIf(inDto.IsEnable != null, x => x.IsEnable == inDto.IsEnable)
.WhereIf(inDto.IsEnable != null, x => x.IsEnable == inDto.IsEnable)