From 59e969c2a85a1572c5136a2826df1a494174a093 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 30 May 2024 11:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ImageAndDoc/StudyService.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs index 0dbe8e997..265bc421c 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs @@ -192,14 +192,14 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc study.SubjectId = incommand.SubjectId; study.SubjectVisitId = incommand.SubjectVisitId; - //如果因为意外情况,连续点击两次,导致第一次插入了,第二次进来也会插入,在此判断一下 - var findStudy = _dicomstudyRepository.FirstOrDefaultAsync(t => t.Id == study.Id); + ////如果因为意外情况,连续点击两次,导致第一次插入了,第二次进来也会插入,在此判断一下 + //var findStudy = _dicomstudyRepository.FirstOrDefaultAsync(t => t.Id == study.Id); - if (findStudy != null) - { - //直接返回 - return ResponseOutput.Ok(); - } + //if (findStudy != null) + //{ + // //直接返回 + // return ResponseOutput.Ok(); + //}