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