From 7a1f267d94df759b2b1836a866ecd4466dde8264 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 24 Aug 2022 17:40:07 +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/Service/Reading/_MapConfig.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs index cf4576938..cba6f4a57 100644 --- a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs @@ -76,6 +76,11 @@ namespace IRaCIS.Core.Application.Service .ForMember(d => d.ReadingQuestionSystemId, u => u.MapFrom(s => s.Id)); + + + CreateMap() + .ForMember(d => d.OriginalId, u => u.MapFrom(s => s.Id)); + CreateMap() .ForMember(d => d.OriginalId, u => u.MapFrom(s => s.Id));