代码修改

This commit is contained in:
he
2023-06-08 10:10:11 +08:00
parent 5e7ddc07db
commit e91af9cea4
4 changed files with 8 additions and 2 deletions
@@ -329,9 +329,13 @@ namespace IRaCIS.Core.Application.Service
if (!readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Visit))
{
throw new BusinessValidationFailedException(_localizer["ReadingMed_VisitQNotConfig"]);
}
if (criterionInfo.IsGlobalReading && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Global))
if (criterionInfo.IsGlobalReading && !readingMedicineQuestionList.Any(x => x.ReadingCategory == ReadingCategory.Global))
{
//---当前标准启用了全局阅片,但未配置全局医学审核问题
throw new BusinessValidationFailedException(_localizer["ReadingMed_GlobalQNotConfig"]);