IRC_NewDev
parent
350d089c39
commit
d675cc50b3
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue