修改映射

Uat_Study
hang 2022-04-28 15:19:55 +08:00
parent df8675e4c9
commit 13b4c25b58
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ namespace IRaCIS.Core.Application.Service
.ForMember(t=>t.NoticeUserTypeList,u=>u.MapFrom(t=>t.NoticeUserTypeIdList)); .ForMember(t=>t.NoticeUserTypeList,u=>u.MapFrom(t=>t.NoticeUserTypeIdList));
CreateMap<SystemNoticeUserType, UserTypeSimpleDTO>().IncludeMembers(t=>t.NoticeUserType); CreateMap<SystemNoticeUserType, UserTypeSimpleDTO>().IncludeMembers(t=>t.NoticeUserType)
.ForMember(t=>t.Id,u=>u.MapFrom(u=>u.NoticeUserType.Id));
CreateMap<UserType, UserTypeSimpleDTO>(); CreateMap<UserType, UserTypeSimpleDTO>();