forked from ddrilling/AsbCloudServer
Фикс бага обновления бурильщика в расписании
This commit is contained in:
parent
fd15622ad1
commit
1de54b43e6
@ -56,6 +56,10 @@ namespace AsbCloudInfrastructure
|
||||
{
|
||||
public static void MapsterSetup()
|
||||
{
|
||||
TypeAdapterConfig.GlobalSettings.Default.Config
|
||||
.ForType<ScheduleDto, Schedule>()
|
||||
.Ignore(source => source.Driller);
|
||||
|
||||
TypeAdapterConfig.GlobalSettings.Default.Config
|
||||
.ForType<DateTimeOffset, DateTime>()
|
||||
.MapWith((source) => source.DateTime);
|
||||
|
Loading…
Reference in New Issue
Block a user