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
continuous-integration/drone/push Build is passing
Details
commit
3fab377454
|
@ -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