|
|
@ -33,6 +33,11 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<BookingLog, BookingLogSyncCustomerDto>()
|
|
|
|
config.ForType<BookingLog, BookingLogSyncCustomerDto>()
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime.HasValue ? src.CreatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty);
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime.HasValue ? src.CreatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<BookingSoTemplate, BookingSoTemplateListOutput>()
|
|
|
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime.HasValue ? src.CreatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : null)
|
|
|
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime.HasValue ? src.UpdatedTime.Value.ToString("yyyy-MM-dd HH:mm:ss") : null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|