This commit is contained in:
he
2022-08-31 16:37:05 +08:00
parent 5984b98742
commit 5f7f5c0ccb
2 changed files with 7 additions and 2 deletions
@@ -344,7 +344,7 @@ namespace IRaCIS.Core.Application.Service
throw new BusinessValidationFailedException("当前项目启用了全局阅片,但未配置全局医学审核问题");
}
if (trialInfo.IsArbitrationReading ?? false && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Judge))
if ((trialInfo.IsArbitrationReading ?? false) && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Judge))
{
throw new BusinessValidationFailedException("当前项目启用了仲裁阅片,但未配置仲裁医学审核问题");
}
@@ -396,7 +396,7 @@ namespace IRaCIS.Core.Application.Service
throw new BusinessValidationFailedException("当前项目启用了全局阅片,但未配置全局医学审核问题");
}
if (trialInfo.IsArbitrationReading ?? false && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Judge))
if ((trialInfo.IsArbitrationReading ?? false) && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Judge))
{
throw new BusinessValidationFailedException("当前项目启用了仲裁阅片,但未配置仲裁医学审核问题");
}