From 5ef195cc3bcd96083636b55416277ff05bb86764 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 5 May 2022 15:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/QCOperationService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index 788f1560..11fa051d 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -1033,7 +1033,7 @@ namespace IRaCIS.Core.Application.Image.QA { if (sujectVisitId != null) { - subjectVisit = await (_subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == sujectVisitId)).IfNullThrowException(); + subjectVisit = await (_subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == sujectVisitId)).IfNullThrowException(); } @@ -1803,9 +1803,9 @@ namespace IRaCIS.Core.Application.Image.QA TalkContent = "CRC申请重传/上传影像" }); - await _qcChallengeRepository.SaveChangesAsync(); + var isSuccess = await _qcChallengeRepository.SaveChangesAsync(); - return ResponseOutput.Ok(); + return ResponseOutput.Result(isSuccess); } #endregion