From 9bdfb355f194502fdd3c55311ea7b01e98760f0f Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 8 Apr 2026 14:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E6=9F=A5=E8=AF=A2=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Common/FileUploadRecordService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Common/FileUploadRecordService.cs b/IRaCIS.Core.Application/Service/Common/FileUploadRecordService.cs index 53e3ac230..522dd6ab1 100644 --- a/IRaCIS.Core.Application/Service/Common/FileUploadRecordService.cs +++ b/IRaCIS.Core.Application/Service/Common/FileUploadRecordService.cs @@ -100,6 +100,8 @@ public class FileUploadRecordService(IRepository _fileUploadRe .WhereIf(inQuery.DataFileType == 1 && inQuery.SubjectId != null && inQuery.SubjectVisitId == null, t => t.SubjectVisitId == null) .WhereIf(inQuery.DataFileType == 1 && inQuery.SubjectVisitId != null && inQuery.StudyCode == "", t => t.StudyCode == "") + .WhereIf(inQuery.DataFileType == 1 && inQuery.SubjectCode.IsNotNullOrEmpty() && inQuery.VisitName.IsNullOrEmpty(), t => t.SubjectVisitId == null) + .WhereIf(inQuery.DataFileType == 1 && inQuery.SubjectCode.IsNotNullOrEmpty() && inQuery.StudyCode == "", t => t.StudyCode == "") .WhereIf(inQuery.DataFileType == 0, t => t.TrialId == null) .WhereIf(inQuery.DataFileType == 1, t => t.SubjectId != null)