From c7b541dec637d4a48feebfe45682599f25614f91 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 21 Aug 2023 17:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=82=AE=E4=BB=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=94=B9--009?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Common/_MapConfig.cs | 3 ++- IRaCIS.Core.Domain/Common/EmailNoticeConfig.cs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Common/_MapConfig.cs b/IRaCIS.Core.Application/Service/Common/_MapConfig.cs index 3b0aaa368..02a1990e8 100644 --- a/IRaCIS.Core.Application/Service/Common/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Common/_MapConfig.cs @@ -27,7 +27,8 @@ namespace IRaCIS.Core.Application.Service - CreateMap(); + CreateMap() + .ForMember(t => t.EmailNoticeUserList, u => u.MapFrom(c => c.EmailNoticeUserTypeList)); CreateMap() .ForMember(t => t.ParentCode, u => u.MapFrom(c => c.Parent.Code)); diff --git a/IRaCIS.Core.Domain/Common/EmailNoticeConfig.cs b/IRaCIS.Core.Domain/Common/EmailNoticeConfig.cs index 08b95ac22..d086d5e48 100644 --- a/IRaCIS.Core.Domain/Common/EmailNoticeConfig.cs +++ b/IRaCIS.Core.Domain/Common/EmailNoticeConfig.cs @@ -59,8 +59,8 @@ namespace IRaCIS.Core.Domain.Models public string Description { get; set; } = string.Empty; - public string AttachName { get; set; } - public string AttachNameCN { get; set; } + public string AttachName { get; set; } = string.Empty; + public string AttachNameCN { get; set; } = string.Empty;