From 7d419595caee2ac6c854288d12fc87602015fd17 Mon Sep 17 00:00:00 2001 From: hang <87227557@qq.com> Date: Mon, 20 Jan 2025 19:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0pacs=20?= =?UTF-8?q?=E5=BD=B1=E5=83=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Visit/PatientService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Visit/PatientService.cs b/IRaCIS.Core.Application/Service/Visit/PatientService.cs index c8397ba82..851e582a9 100644 --- a/IRaCIS.Core.Application/Service/Visit/PatientService.cs +++ b/IRaCIS.Core.Application/Service/Visit/PatientService.cs @@ -420,7 +420,6 @@ namespace IRaCIS.Core.Application.Service { var newStuty = _mapper.Map(find.SCPStudy); - await _dicomStudyRepository.AddAsync(newStuty); newStuty.SeqId = Guid.Empty; newStuty.Code = currentNextCodeInt; @@ -430,6 +429,9 @@ namespace IRaCIS.Core.Application.Service newStuty.SubjectId = subjectId; newStuty.SubjectVisitId = subjectVisitId; + await _dicomStudyRepository.AddAsync(newStuty); + + var newSeriesList = _mapper.Map>(find.SeriesList); foreach (var series in newSeriesList)