修改映射
parent
df8675e4c9
commit
13b4c25b58
|
@ -108,7 +108,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.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>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue