|
|
@ -2,6 +2,7 @@
|
|
|
|
using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
using Mapster;
|
|
|
|
using Mapster;
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
using static Org.BouncyCastle.Math.EC.ECCurve;
|
|
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -202,7 +203,7 @@ namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TypeAdapterConfig<TaskCutDateChangeDetailInfo, TaskCutDateChangeShowDto>.NewConfig().TwoWays()
|
|
|
|
TypeAdapterConfig<TaskCutDateChangeDetailInfo, TaskCutDateChangeShowDto>.NewConfig()
|
|
|
|
.Map(dest => dest.MBLNo, src => src.MBL_NO)
|
|
|
|
.Map(dest => dest.MBLNo, src => src.MBL_NO)
|
|
|
|
.Map(dest => dest.Vessel, src => src.VESSEL)
|
|
|
|
.Map(dest => dest.Vessel, src => src.VESSEL)
|
|
|
|
.Map(dest => dest.VoyNo, src => src.VOYNO)
|
|
|
|
.Map(dest => dest.VoyNo, src => src.VOYNO)
|
|
|
@ -495,6 +496,48 @@ namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
.Map(dest => dest.GroupBatchNo, src => src.GROUP_BATCH_NO)
|
|
|
|
.Map(dest => dest.GroupBatchNo, src => src.GROUP_BATCH_NO)
|
|
|
|
.Map(dest => dest.IsLast, src => src.IS_LAST);
|
|
|
|
.Map(dest => dest.IsLast, src => src.IS_LAST);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
TypeAdapterConfig<TaskCutDateChangeDto, TaskCutDateChangeInfo>.NewConfig()
|
|
|
|
|
|
|
|
.Map(dest => dest.CARRIER, src => src.CarrierId)
|
|
|
|
|
|
|
|
.Map(dest => dest.VESSEL, src => src.Vessel)
|
|
|
|
|
|
|
|
.Map(dest => dest.VOYNO, src => src.VoyNo)
|
|
|
|
|
|
|
|
.Map(dest => dest.NOTICE_DATE, src => src.CreateTime)
|
|
|
|
|
|
|
|
.Map(dest => dest.VESSEL, src => src.Vessel)
|
|
|
|
|
|
|
|
.Map(dest => dest.MBL_NO, src => src.MBLNo)
|
|
|
|
|
|
|
|
.Map(dest => dest.PORTLOAD_AREA, src => src.PortLoadArea)
|
|
|
|
|
|
|
|
.Map(dest => dest.REASON, src => src.Reason)
|
|
|
|
|
|
|
|
.Map(dest => dest.TASK_BATCH_TOTAL, src => src.TotalNum)
|
|
|
|
|
|
|
|
.Map(dest => dest.TASK_BATCH_PER_TOTAL, src => src.PerTotalNum)
|
|
|
|
|
|
|
|
.Map(dest => dest.TASK_BATCH_NO, src => src.BatchNo);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
TypeAdapterConfig<CutDateChangeDetailDto, TaskCutDateChangeDetailInfo>.NewConfig()
|
|
|
|
|
|
|
|
.Map(dest => dest.MBL_NO, src => src.MBLNo)
|
|
|
|
|
|
|
|
.Map(dest => dest.VESSEL, src => src.Vessel)
|
|
|
|
|
|
|
|
.Map(dest => dest.VOYNO, src => src.VoyNo)
|
|
|
|
|
|
|
|
.Map(dest => dest.SI_CUTOFF, src => src.SICutDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.SI_CUTOFF_TXT, src => src.SICutDateTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.CY_OPEN, src => src.CYOpenDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.CY_OPEN_TXT, src => src.CYOpenDateTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.CY_CUTOFF, src => src.CYCutoffTime)
|
|
|
|
|
|
|
|
.Map(dest => dest.CY_CUTOFF_TXT, src => src.CYCutoffTimeTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.MANIFEST_CUT, src => src.ManifestCutDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.MANIFEST_CUT_TXT, src => src.ManifestCutDateTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.MDGF_CUT, src => src.MDGFCutDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.MDGF_CUT_TXT, src => src.MDGFCutDateTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.VGM_CUT, src => src.VGMCutoffTime)
|
|
|
|
|
|
|
|
.Map(dest => dest.VGM_CUT_TXT, src => src.VGMCutoffTimeTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.CLOSING_DATE, src => src.ClosingDate)
|
|
|
|
|
|
|
|
.Map(dest => dest.CLOSING_DATE_TXT, src => src.ClosingDateTxt)
|
|
|
|
|
|
|
|
.Map(dest => dest.VOUCHER_CUT_DATE, src => src.VoucherCutoffTime)
|
|
|
|
|
|
|
|
.Map(dest => dest.LOAD_PORT, src => src.LoadPort)
|
|
|
|
|
|
|
|
.Map(dest => dest.ETD, src => src.ETD)
|
|
|
|
|
|
|
|
.Map(dest => dest.ETB, src => src.ETB)
|
|
|
|
|
|
|
|
.Map(dest => dest.REASON, src => src.Reason)
|
|
|
|
|
|
|
|
.Map(dest => dest.CONTA_NO, src => src.ContaNo);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|