From b28a88824fceb260b5e2eff501efd71a35ac117e Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 4 Nov 2022 09:20:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/ReadingImageTask/ReadingImageTaskService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 3c6bffe8c..223203674 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -859,7 +859,7 @@ namespace IRaCIS.Application.Services if (inDto.RowIndex % 1 == 0) { var questionInfo = await _readingQuestionTrialRepository.Where(x => x.Id == inDto.QuestionId).FirstNotNullAsync(); - if (questionInfo.MaxQuestionCount != null) + if (questionInfo.MaxQuestionCount != null&& questionInfo.MaxQuestionCount!=0) { if (questionInfo.MaxQuestionCount < (