Compare commits
2 Commits
9898673dbf
...
63530b7847
Author | SHA1 | Date |
---|---|---|
|
63530b7847 | |
|
99be08dc20 |
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue