Compare commits

...

2 Commits

Author SHA1 Message Date
he 63530b7847 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2024-07-22 15:20:21 +08:00
he 99be08dc20 修改 2024-07-22 15:20:18 +08:00
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];
}