From 99be08dc207ed98d582407528299925c58222d7e Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 22 Jul 2024 15:20:18 +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 --- .../Reading/MedicalAudit/ReadingMedicalReviewService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs index c0dcd1578..4c0ffe513 100644 --- a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs @@ -803,13 +803,13 @@ namespace IRaCIS.Core.Application.Service if (index + 1 == list.CurrentPageData.Count()) // 最后一个 { - throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"], ApiResponseCodeEnum.CloseCurrentWindows); + throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"]); } else if (index == -1 || list.CurrentPageData.Count == 1) // 第一个或者只有一个 { if (list.CurrentPageData[0].Id == inDto.TaskMedicalReviewId) { - throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"], ApiResponseCodeEnum.CloseCurrentWindows); + throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"]); } result = list.CurrentPageData[0]; }