refactor:将AppDataCenterService改为AppCenterService,将AppDataStorageService改为AppStorageService,将触发器的增删改成合并
This commit is contained in:
@@ -6,7 +6,7 @@ using DMS.Core.Models.Triggers;
|
||||
namespace DMS.Application.Profiles;
|
||||
|
||||
/// <summary>
|
||||
/// 配置AutoMapper的映射规则<E8A784><EFBFBD>?/// </summary>
|
||||
/// 配置AutoMapper的映射规则<E8A784>?/// </summary>
|
||||
public class MappingProfile : Profile
|
||||
{
|
||||
public MappingProfile()
|
||||
@@ -39,9 +39,5 @@ public class MappingProfile : Profile
|
||||
CreateMap<EmailTemplate, EmailTemplateDto>().ReverseMap();
|
||||
|
||||
CreateMap<EmailLog, EmailLogDto>().ReverseMap();
|
||||
CreateMap<TriggerDefinition, TriggerDefinitionDto>()
|
||||
.ForMember(dest => dest.VariableIds, opt => opt.MapFrom(src => src.VariableIds))
|
||||
.ReverseMap()
|
||||
.ForMember(dest => dest.VariableIds, opt => opt.MapFrom(src => src.VariableIds));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user