forked from ddrilling/AsbCloudServer
Merge pull request 'Фикс бага обновления бурильщика в расписании' (#227) from fix/update_schedule into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/227
This commit is contained in:
commit
9362c2c1bd
@ -56,6 +56,10 @@ namespace AsbCloudInfrastructure
|
|||||||
{
|
{
|
||||||
public static void MapsterSetup()
|
public static void MapsterSetup()
|
||||||
{
|
{
|
||||||
|
TypeAdapterConfig.GlobalSettings.Default.Config
|
||||||
|
.ForType<ScheduleDto, Schedule>()
|
||||||
|
.Ignore(source => source.Driller);
|
||||||
|
|
||||||
TypeAdapterConfig.GlobalSettings.Default.Config
|
TypeAdapterConfig.GlobalSettings.Default.Config
|
||||||
.ForType<DateTimeOffset, DateTime>()
|
.ForType<DateTimeOffset, DateTime>()
|
||||||
.MapWith((source) => source.DateTime);
|
.MapWith((source) => source.DateTime);
|
||||||
|
Loading…
Reference in New Issue
Block a user