From 13b4c25b588a12aa244f4ac449e72f872ac7780d Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 28 Apr 2022 15:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/_MapConfig.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs index acfc2f54..891c9005 100644 --- a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs @@ -108,7 +108,8 @@ namespace IRaCIS.Core.Application.Service .ForMember(t=>t.NoticeUserTypeList,u=>u.MapFrom(t=>t.NoticeUserTypeIdList)); - CreateMap().IncludeMembers(t=>t.NoticeUserType); + CreateMap().IncludeMembers(t=>t.NoticeUserType) + .ForMember(t=>t.Id,u=>u.MapFrom(u=>u.NoticeUserType.Id)); CreateMap();