From 5a988e69aa41be2966d3bdaca5fec6f120fc5ff1 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Sat, 8 Oct 2022 11:46:04 +0800 Subject: [PATCH] x --- IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs | 2 +- IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs b/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs index 21bc32cb4..09d63efa5 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs @@ -81,7 +81,7 @@ namespace IRaCIS.Application.Services .WhereIf(dto.ReadingStatus != null, x => x.ReadingStatus == dto.ReadingStatus) .WhereIf(dto.Name != null, x => x.Name.Contains(dto.Name!)).OrderBy(x => x.SiteCode) - .WhereIf(dto.TrialReadingCriterionId != null, x => x.TrialReadingCriterionId== dto.TrialReadingCriterionId); + /*.WhereIf(dto.TrialReadingCriterionId != null, x => x.TrialReadingCriterionId== dto.TrialReadingCriterionId)*/; var subjectIds = await subjectQuery.OrderBy(dto.SortField).Select(x => x.SubjectId).Distinct().Skip((dto.PageIndex - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync(); diff --git a/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs b/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs index 28fb42a16..23c3c1545 100644 --- a/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs +++ b/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs @@ -149,6 +149,6 @@ namespace IRaCIS.Core.Domain.Models - public Guid TrialReadingCriterionId { get; set; } + //public Guid? TrialReadingCriterionId { get; set; } } }