IRC_NewDev
he 2024-03-11 16:29:42 +08:00
parent 350d089c39
commit d675cc50b3
1 changed files with 5 additions and 1 deletions

View File

@ -167,7 +167,11 @@ namespace IRaCIS.Core.Application.Service
var result = new TaskMedicalReviewView() { };
if (index == -1 || data.CurrentPageData.Count == 1)
if (index+1 == data.CurrentPageData.Count()) // 最后一个
{
throw new BusinessValidationFailedException(_localizer["MedicalReview_Finish"]);
}
else if (index == -1 || data.CurrentPageData.Count == 1) // 第一个或者只有一个
{
if (data.CurrentPageData[0].Id == inDto.MedicalReviewId)
{