Compare commits

..

No commits in common. "63530b7847fd592c3dbe4504d6768228b2965bad" and "9898673dbf4a63c0bcdc6da994a942f46e5f9e57" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -803,13 +803,13 @@ namespace IRaCIS.Core.Application.Service
if (index + 1 == list.CurrentPageData.Count()) // 最后一个
{
throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"]);
throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"], ApiResponseCodeEnum.CloseCurrentWindows);
}
else if (index == -1 || list.CurrentPageData.Count == 1) // 第一个或者只有一个
{
if (list.CurrentPageData[0].Id == inDto.TaskMedicalReviewId)
{
throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"]);
throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"], ApiResponseCodeEnum.CloseCurrentWindows);
}
result = list.CurrentPageData[0];
}