This commit is contained in:
2023-01-12 14:31:37 +08:00
parent 869c66d20c
commit 68b233559e
2 changed files with 31 additions and 14 deletions
@@ -1708,10 +1708,12 @@ namespace IRaCIS.Application.Services
SubjectCode = x.Subject.Code,
TrialReadingCriterionId = x.TrialReadingCriterionId,
}).FirstOrDefaultAsync();
if (task == null)
{
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
}
}
if (task == null)
{
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
}
if (task.SubjectCode.IsNullOrEmpty())