From 762b8b74257b93214036de98fef5996e4691527b Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Wed, 19 Nov 2025 14:04:47 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs | 2 +-
.../Service/ImageAndDoc/DownloadAndUploadService.cs | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
index c86426865..8f765f776 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
@@ -952,7 +952,7 @@ namespace IRaCIS.Core.Application.Contracts
}
- public class SubjectVisitMarkQuery
+ public class SubjectVisitMarkQuery:PageInput
{
public Guid TrialId { get; set; }
diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs
index 1969f5562..843d224fb 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs
@@ -2193,9 +2193,9 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
///
///
[HttpPost]
- public async Task>> GetTrialSubjectVisitMarkList(SubjectVisitMarkQuery inQuery)
+ public async Task>> GetTrialSubjectVisitMarkList(SubjectVisitMarkQuery inQuery)
{
- var list = _subjectRepository.Where(t => t.TrialId == inQuery.TrialId)
+ var list = await _subjectRepository.Where(t => t.TrialId == inQuery.TrialId)
.WhereIf(inQuery.SubjectCode.IsNotNullOrEmpty(), t => t.Code.Contains(inQuery.SubjectCode))
.WhereIf(inQuery.IsUrgent != null, t => t.IsUrgent == inQuery.IsUrgent)
.Select(t => new SubjectVisitMarkDTO()
@@ -2211,7 +2211,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
NoneDicomStudyCount = t.SubjectVisitList.Where(t => t.SubmitState == SubmitStateEnum.Submitted).SelectMany(t => t.NoneDicomStudyList).Count(),
MarkNoneDicomStudyCount = t.SubjectVisitList.Where(t => t.SubmitState == SubmitStateEnum.Submitted).SelectMany(t => t.NoneDicomStudyList).Where(t=>t.ImageLabelNoneDicomFileList.Any()).Count(),
- }).ToList();
+ }).ToPagedListAsync(inQuery);
return ResponseOutput.Ok(list);
}