using Mapster; using Volo.Abp.ObjectMapping; namespace NPin.Framework.Mapster; public class MapsterAutoObjectMappingProvider: IAutoObjectMappingProvider { public TDestination Map(object source) { // var sss = typeof(TDestination).Name; return source.Adapt(); } public TDestination Map(TSource source, TDestination destination) { return source.Adapt(destination); } }