From 7aac5cb63c56649de50df56fc594b2ff1d231a3d Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 26 Aug 2022 15:58:21 +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 --- IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 5 ----- IRaCIS.Core.Application/Service/Reading/_MapConfig.cs | 1 + IRaCIS.Core.Domain/Reading/ReadingTableQuestionSystem.cs | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index fe970ad63..f6997c25a 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -4174,11 +4174,6 @@ 病灶类型 - - - 病灶类型 - - OrganInfoAddOrEdit 列表查询参数模型 diff --git a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs index c409f8c49..6eb8248db 100644 --- a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs @@ -94,6 +94,7 @@ namespace IRaCIS.Core.Application.Service CreateMap() + .ForMember(dest => dest.DependParentQuestion, opt => opt.Ignore()) .ForMember(d => d.OriginalId, u => u.MapFrom(s => s.Id)); CreateMap() diff --git a/IRaCIS.Core.Domain/Reading/ReadingTableQuestionSystem.cs b/IRaCIS.Core.Domain/Reading/ReadingTableQuestionSystem.cs index 3b86b7dc4..d47607cc0 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingTableQuestionSystem.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingTableQuestionSystem.cs @@ -132,8 +132,6 @@ namespace IRaCIS.Core.Domain.Models /// public QuestionMark? QuestionMark { get; set; } - - [ForeignKey("DependParentId")] public ReadingTableQuestionSystem DependParentQuestion { get; set; } }