Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-07-22 15:41:17 +08:00
commit 3fab377454
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"], 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];
}