From baffb0bb35b0a5c0be71456d98377a51ed5ad888 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 29 Aug 2025 10:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Visit/SubjectVisitService.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Visit/SubjectVisitService.cs b/IRaCIS.Core.Application/Service/Visit/SubjectVisitService.cs index 7bc6db093..4ed21a612 100644 --- a/IRaCIS.Core.Application/Service/Visit/SubjectVisitService.cs +++ b/IRaCIS.Core.Application/Service/Visit/SubjectVisitService.cs @@ -437,7 +437,7 @@ namespace IRaCIS.Core.Application.Services /// /// [HttpPost] - public async Task GetKeySeries(GetReadingVisitStudyListIndto indto) + public async Task GetKeySeries(GetReadingVisitStudyListIndto indto) { var rowInfoList = await _readingTableAnswerRowInfoRepository.Where(x => x.VisitTaskId == indto.VisitTaskId && x.StudyId != null).OrderBy(x => x.ReadingQuestionTrial.ShowOrder).ThenBy(x => x.RowIndex).Select(x => new StudyInstanceInfo() { @@ -542,7 +542,7 @@ namespace IRaCIS.Core.Application.Services } } - return null; + return new VisitStudyDTO() { StudyId= default(Guid) }; } /// @@ -664,10 +664,7 @@ namespace IRaCIS.Core.Application.Services { studyList.Insert(0, keySeries); } - else - { - studyList.Insert(0, new VisitStudyDTO() { StudyId= default(Guid) }); - } +