IRC_NewDev
parent
ab9203eef0
commit
99be08dc20
|
@ -803,13 +803,13 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
if (index + 1 == list.CurrentPageData.Count()) // 最后一个
|
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) // 第一个或者只有一个
|
else if (index == -1 || list.CurrentPageData.Count == 1) // 第一个或者只有一个
|
||||||
{
|
{
|
||||||
if (list.CurrentPageData[0].Id == inDto.TaskMedicalReviewId)
|
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];
|
result = list.CurrentPageData[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue