You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

831 lines
52 KiB
C#

using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.TaskPlat.Entity;
using Mapster;
using Microsoft.Extensions.DependencyInjection;
4 months ago
namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
{
/// <summary>
/// 任务台用的Mapster自定义映射规则
/// </summary>
public static class TaskPlatMapsterSetup
{
/// <summary>
/// 添加映射规则
/// </summary>
public static void AddTaskPlatMapsterSetup(this IServiceCollection services)
{
// 邮件接收BC创建BC子任务 TaskManageOrderBCInfo, TaskBCInfo
{
TypeAdapterConfig<TaskManageOrderBCInfo, TaskBCInfo>.NewConfig()
.TwoWays()
.Map(dest => dest.BUSI_TYPE, src => src.BusiType)
.Map(dest => dest.BOOKING_PARTY, src => src.BookingParty)
.Map(dest => dest.SHIPPER, src => src.Shipper)
.Map(dest => dest.CONSIGNEE, src => src.Consignee)
.Map(dest => dest.NOTIFYPARTY, src => src.NotifyParty)
.Map(dest => dest.BC_MODIFY_TIMES, src => src.BCModifyTimes)
.Map(dest => dest.BC_MODIFY_DATE, src => src.BCModifyDate)
.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.CARRIER, src => src.Carrier)
.Map(dest => dest.PLACERECEIPT, src => src.PlaceReceipt)
.Map(dest => dest.PORTLOAD, src => src.Portload)
.Map(dest => dest.CLOSING_DATE, src => src.ClosingDate)
.Map(dest => dest.VGM_CUTOFF_TIME, src => src.VGMCutoffTime)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.POD_ETA, src => src.PODETA)
.Map(dest => dest.CUT_SINGLE_TIME, src => src.CutSingleTime)
.Map(dest => dest.PORTDISCHARGE, src => src.PortDischarge)
.Map(dest => dest.PLACEDELIVERY, src => src.PlaceDelivery)
.Map(dest => dest.SHIPPING_METHOD, src => src.ShippingMethod)
.Map(dest => dest.SERVICE, src => src.Service)
.Map(dest => dest.PRETRANS_MODE, src => src.PreTransMode)
.Map(dest => dest.DESCRIPTION, src => src.Description)
.Map(dest => dest.ISSUEPLACE, src => src.IssuePlace)
.Map(dest => dest.COLLECTION_TERMINAL, src => src.CollectionTerminal)
.Map(dest => dest.CONTRACTNO, src => src.ContractNo)
.Map(dest => dest.PREPARDAT, src => src.PrepardAT)
.Map(dest => dest.SHIP_AGENT, src => src.ShipAgent)
.Map(dest => dest.YARD, src => src.Yard)
.Map(dest => dest.YARD_CONTACT_USR, src => src.YardContactUserName)
.Map(dest => dest.YARD_CONTACT_TEL, src => src.YardContactTel)
.Map(dest => dest.FST_CUSTOMER_SER_USRNAME, src => src.FstCustomerSerUserName)
.Map(dest => dest.FST_CUSTOMER_SER_TEL, src => src.FstCustomerSerUserTel)
.Map(dest => dest.FST_CUSTOMER_SER_EMAIL, src => src.FstCustomerSerUserEmail)
.Map(dest => dest.REMARK1, src => src.Remark1)
.Map(dest => dest.CY_CUTOFF_TIME, src => src.CYCutoffTime)
.Map(dest => dest.FROM_EMAIL, src => src.FromEmail)
.Map(dest => dest.RECV_EMAIL, src => src.RecvEmail)
.Map(dest => dest.CARRIERID, src => src.CarrierId)
.Map(dest => dest.LANECODE, src => src.LaneCode)
.Map(dest => dest.LANENAME, src => src.LaneName)
.Map(dest => dest.CARRIAGE_TYPE, src => src.CarriageType)
.Map(dest => dest.CARRIAGE_TYPE_NAME, src => src.CarriageTypeName)
.Map(dest => dest.BOOKING_SLOT_TYPE, src => src.BookingSlotType)
.Map(dest => dest.BOOKING_SLOT_TYPE_NAME, src => src.BookingSlotTypeName)
.Map(dest => dest.CTN_STAT, src => src.CtnStat)
.Map(dest => dest.WEEK_AT, src => src.WeekAt)
.Map(dest => dest.DETENSION_FREE_DAYS, src => src.DetensionFreeDays)
.Map(dest => dest.SI_CUT_DATE, src => src.SICutDate)
.Map(dest => dest.MANIFEST_CUT_DATE, src => src.ManifestCutDate)
.Map(dest => dest.MDGF_CUT_DATE, src => src.MDGFCutDate)
.Map(dest => dest.TRANSFER_PORT_1, src => src.TransferPort1)
.Map(dest => dest.TRANSFER_PORT_2, src => src.TransferPort2)
.Map(dest => dest.SECOND_VESSEL, src => src.SecondVessel)
.Map(dest => dest.SECOND_VOYNO, src => src.SecondVoyno)
.Map(dest => dest.SECOND_ETD, src => src.SecondETD)
.Map(dest => dest.SECOND_ETA, src => src.SecondETA)
.Map(dest => dest.BOOKING_COMFIRM_DATE, src => src.BookingConfirmDate)
.Map(dest => dest.BATCH_NO, src => src.BatchNo)
.Map(dest => dest.PRICE_CALCULATION_DATE, src => src.PriceCalculationDate);
}
// BC子任务转前端Dto TaskBCShowBaseDto, TaskBCInfo
{
TypeAdapterConfig<TaskBCInfo, TaskBCShowBaseDto>.NewConfig().TwoWays()
.Map(dest => dest.Id, src => src.Id)
.Map(dest => dest.TaskId, src => src.TASK_ID)
.Map(dest => dest.BusiType, src => src.BUSI_TYPE)
.Map(dest => dest.BookingParty, src => src.BOOKING_PARTY)
.Map(dest => dest.Shipper, src => src.SHIPPER)
.Map(dest => dest.Consignee, src => src.CONSIGNEE)
.Map(dest => dest.NotifyParty, src => src.NOTIFYPARTY)
.Map(dest => dest.BCModifyTimes, src => src.BC_MODIFY_TIMES)
.Map(dest => dest.BCModifyDate, src => src.BC_MODIFY_DATE)
.Map(dest => dest.MBLNo, src => src.MBL_NO)
.Map(dest => dest.TaskId, src => src.TASK_ID)
.Map(dest => dest.Vessel, src => src.VESSEL)
.Map(dest => dest.VoyNo, src => src.VOYNO)
.Map(dest => dest.Carrier, src => src.CARRIER)
.Map(dest => dest.PlaceReceipt, src => src.PLACERECEIPT)
.Map(dest => dest.Portload, src => src.PORTLOAD)
.Map(dest => dest.ClosingDate, src => src.CLOSING_DATE)
.Map(dest => dest.VGMCutoffTime, src => src.VGM_CUTOFF_TIME)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.PODETA, src => src.POD_ETA)
.Map(dest => dest.CutSingleTime, src => src.CUT_SINGLE_TIME)
.Map(dest => dest.PortDischarge, src => src.PORTDISCHARGE)
.Map(dest => dest.PlaceDelivery, src => src.PLACEDELIVERY)
.Map(dest => dest.ShippingMethod, src => src.SHIPPING_METHOD)
.Map(dest => dest.Service, src => src.SERVICE)
.Map(dest => dest.PreTransMode, src => src.PRETRANS_MODE)
.Map(dest => dest.Description, src => src.DESCRIPTION)
.Map(dest => dest.IssuePlace, src => src.ISSUEPLACE)
.Map(dest => dest.CollectionTerminal, src => src.COLLECTION_TERMINAL)
.Map(dest => dest.ContractNo, src => src.CONTRACTNO)
.Map(dest => dest.PrepardAT, src => src.PREPARDAT)
.Map(dest => dest.ShipAgent, src => src.SHIP_AGENT)
.Map(dest => dest.Yard, src => src.YARD)
.Map(dest => dest.YardContactUserName, src => src.YARD_CONTACT_USR)
.Map(dest => dest.YardContactTel, src => src.YARD_CONTACT_TEL)
.Map(dest => dest.FstCustomerSerUserName, src => src.FST_CUSTOMER_SER_USRNAME)
.Map(dest => dest.FstCustomerSerUserTel, src => src.FST_CUSTOMER_SER_TEL)
.Map(dest => dest.FstCustomerSerUserEmail, src => src.FST_CUSTOMER_SER_EMAIL)
.Map(dest => dest.Remark1, src => src.REMARK1)
.Map(dest => dest.CYCutoffTime, src => src.CY_CUTOFF_TIME)
.Map(dest => dest.Status, src => src.STATUS)
.Map(dest => dest.FileMD5, src => src.FILE_MD5)
.Map(dest => dest.LastToBookingDate, src => src.LAST_TOBOOKING_DATE)
.Map(dest => dest.FromEmail, src => src.FROM_EMAIL)
.Map(dest => dest.RecvEmail, src => src.RECV_EMAIL)
.Map(dest => dest.BookingOrderId, src => src.BOOKING_ORDER_ID)
.Map(dest => dest.CarrierId, src => src.CARRIERID)
.Map(dest => dest.LaneCode, src => src.LANECODE)
.Map(dest => dest.LaneName, src => src.LANENAME)
.Map(dest => dest.CarriageType, src => src.CARRIAGE_TYPE)
.Map(dest => dest.CarriageTypeName, src => src.CARRIAGE_TYPE_NAME)
.Map(dest => dest.BookingSlotType, src => src.BOOKING_SLOT_TYPE)
.Map(dest => dest.BookingSlotTypeName, src => src.BOOKING_SLOT_TYPE_NAME)
.Map(dest => dest.CtnStat, src => src.CTN_STAT)
.Map(dest => dest.WeekAt, src => src.WEEK_AT)
.Map(dest => dest.DetensionFreeDays, src => src.DETENSION_FREE_DAYS)
.Map(dest => dest.SICutDate, src => src.SI_CUT_DATE)
.Map(dest => dest.ManifestCutDate, src => src.MANIFEST_CUT_DATE)
.Map(dest => dest.MDGFCutDate, src => src.MDGF_CUT_DATE)
.Map(dest => dest.TransferPort1, src => src.TRANSFER_PORT_1)
.Map(dest => dest.TransferPort2, src => src.TRANSFER_PORT_2)
.Map(dest => dest.SecondVessel, src => src.SECOND_VESSEL)
.Map(dest => dest.SecondVoyno, src => src.SECOND_VOYNO)
.Map(dest => dest.SecondETD, src => src.SECOND_ETD)
.Map(dest => dest.SecondETA, src => src.SECOND_ETA)
.Map(dest => dest.BookingSlotId, src => src.BOOKING_SLOT_ID)
.Map(dest => dest.BookingConfirmDate, src => src.BOOKING_COMFIRM_DATE)
.Map(dest => dest.BatchNo, src => src.BATCH_NO)
.Map(dest => dest.CustomSICutDate, src => src.CUSTOM_SI_CUT_DATE);
}
// BC子任务箱信息转前端Dto TaskBCCTNInfo, TaskBCCTNInfoDto
{
TypeAdapterConfig<TaskBCCTNInfo, TaskBCCTNInfoDto>.NewConfig().TwoWays()
.Map(dest => dest.CtnCode, src => src.CTNCODE)
.Map(dest => dest.CtnALL, src => src.CTNALL)
.Map(dest => dest.CTNNUM, src => src.CTNNUM)
.Map(dest => dest.PKGS, src => src.PKGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.KGS, src => src.KGS)
.Map(dest => dest.TareWeight, src => src.TAREWEIGHT)
.Map(dest => dest.IODGT, src => src.IODGT)
.Map(dest => dest.SpecialLoadingRequire, src => src.SPECIAL_LOADING_REQUIRE)
.Map(dest => dest.TakeCTNYard, src => src.TAKE_CTN_YARD)
.Map(dest => dest.TakeCTNTime, src => src.TAKE_CTN_TIME)
.Map(dest => dest.ReturnCTNYard, src => src.RETURN_CTN_YARD);
}
// 任务台文件信息转前端Dto TaskFileInfo, TaskFileDto
{
TypeAdapterConfig<TaskFileInfo, TaskFileDto>.NewConfig().TwoWays()
.Map(dest => dest.FilePath, src => src.FILE_PATH)
.Map(dest => dest.FileType, src => src.FILE_TYPE)
.Map(dest => dest.FileName, src => src.FILE_NAME)
.Map(dest => dest.FileCategory, src => src.FILE_CATEGORY)
.Map(dest => dest.FileCategoryName, src => src.FILE_CATEGORY_NAME);
}
// BC子任务箱信息转Entity TaskManageOrderBCCTNInfo, TaskBCCTNInfo
{
TypeAdapterConfig<TaskManageOrderBCCTNInfo, TaskBCCTNInfo>.NewConfig().TwoWays()
.Map(dest => dest.CTNCODE, src => src.CtnCode)
.Map(dest => dest.CTNALL, src => src.CtnALL)
.Map(dest => dest.CTNNUM, src => src.CTNNUM)
.Map(dest => dest.PKGS, src => src.PKGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.KGS, src => src.KGS)
.Map(dest => dest.TAREWEIGHT, src => src.TareWeight)
.Map(dest => dest.IODGT, src => src.IODGT)
.Map(dest => dest.SPECIAL_LOADING_REQUIRE, src => src.SpecialLoadingRequire)
.Map(dest => dest.TAKE_CTN_YARD, src => src.TakeCTNYard)
.Map(dest => dest.TAKE_CTN_TIME, src => src.TakeCTNTime)
.Map(dest => dest.RETURN_CTN_YARD, src => src.ReturnCTNYard);
}
4 months ago
{
4 months ago
TypeAdapterConfig<TaskCutDateChangeDetailInfo, TaskCutDateChangeShowDto>.NewConfig()
.Map(dest => dest.MBLNo, src => src.MBL_NO)
.Map(dest => dest.Vessel, src => src.VESSEL)
.Map(dest => dest.VoyNo, src => src.VOYNO)
.Map(dest => dest.SICutDate, src => src.SI_CUTOFF)
.Map(dest => dest.SICutDateTxt, src => src.SI_CUTOFF.HasValue? src.SI_CUTOFF.Value.ToString("yyyy-MM-dd HH:mm") : src.SI_CUTOFF_TXT)
.Map(dest => dest.CYOpenDate, src => src.CY_OPEN)
.Map(dest => dest.CYOpenDateTxt, src => src.CY_OPEN.HasValue ? src.CY_OPEN.Value.ToString("yyyy-MM-dd HH:mm") : src.CY_OPEN_TXT)
.Map(dest => dest.CYCutoffTime, src => src.CY_CUTOFF)
.Map(dest => dest.CYCutoffTimeTxt, src => src.CY_CUTOFF.HasValue ? src.CY_CUTOFF.Value.ToString("yyyy-MM-dd HH:mm") : src.CY_CUTOFF_TXT)
.Map(dest => dest.ManifestCutDate, src => src.MANIFEST_CUT)
.Map(dest => dest.ManifestCutDateTxt, src => src.MANIFEST_CUT.HasValue ? src.MANIFEST_CUT.Value.ToString("yyyy-MM-dd HH:mm") : src.MANIFEST_CUT_TXT)
.Map(dest => dest.MDGFCutDate, src => src.MDGF_CUT)
.Map(dest => dest.MDGFCutDateTxt, src => src.MDGF_CUT.HasValue ? src.MDGF_CUT.Value.ToString("yyyy-MM-dd HH:mm") : src.MDGF_CUT_TXT)
.Map(dest => dest.VGMCutoffTime, src => src.VGM_CUT)
.Map(dest => dest.VGMCutoffTimeTxt, src => src.VGM_CUT.HasValue ? src.VGM_CUT.Value.ToString("yyyy-MM-dd HH:mm") : src.VGM_CUT_TXT)
.Map(dest => dest.ClosingDate, src => src.CLOSING_DATE)
.Map(dest => dest.ClosingDateTxt, src => src.CLOSING_DATE.HasValue ? src.CLOSING_DATE.Value.ToString("yyyy-MM-dd HH:mm") : src.CLOSING_DATE_TXT)
.Map(dest => dest.ContaNo, src => src.CONTA_NO)
.Map(dest => dest.LoadPort, src => src.LOAD_PORT)
.Map(dest => dest.ETB, src => src.ETB)
.Map(dest => dest.ETBTxt, src => src.ETB.HasValue ? src.ETB.Value.ToString("yyyy-MM-dd HH:mm") : "")
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.ETDTxt, src => src.ETD.HasValue ? src.ETD.Value.ToString("yyyy-MM-dd HH:mm") : "")
.Map(dest => dest.VoucherCutoffTime, src => src.VOUCHER_CUT_DATE)
.Map(dest => dest.VoucherCutoffTimeTxt, src => src.VOUCHER_CUT_DATE.HasValue ? src.VOUCHER_CUT_DATE.Value.ToString("yyyy-MM-dd HH:mm") : "");
}
{
TypeAdapterConfig<SeaExport, TaskBookingOrderDto>.NewConfig()
.Map(dest => dest.MasterBlNo, src => src.MBLNO)
.Map(dest => dest.HouseBlNo, src => src.HBLNO)
.Map(dest => dest.BookingNo, src => src.BookingNo)
.Map(dest => dest.ContrNo, src => src.ContractNo)
.Map(dest => dest.ServContrNo, src => src.ServiceContractNo)
.Map(dest => dest.ShipperId, src => src.ShipperId)
.Map(dest => dest.ConsigneeId, src => src.ConsigneeId)
.Map(dest => dest.NotifyPartyId, src => src.NotifyPartyId)
.Map(dest => dest.Shipper, src => src.Shipper)
.Map(dest => dest.Consignee, src => src.Consignee)
.Map(dest => dest.NotifyParty, src => src.NotifyParty)
.Map(dest => dest.NotifyPrt2, src => src.SecondNotifyParty)
.Map(dest => dest.YardId, src => src.YardId)
.Map(dest => dest.Yard, src => src.Yard)
.Map(dest => dest.VesselId, src => src.VesselId)
.Map(dest => dest.Vessel, src => src.Vessel)
.Map(dest => dest.Voyno, src => src.Voyno)
.Map(dest => dest.VoynoIn, src => src.InnerVoyno)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.ATD, src => src.ATD)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.ClosingDate, src => src.ClosingDate.HasValue ? src.ClosingDate.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")
.Map(dest => dest.CloseDocDate, src => src.CloseDocDate.HasValue ? src.CloseDocDate.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")
.Map(dest => dest.CloseVGMDate, src => src.CloseVgmDate.HasValue ? src.CloseVgmDate.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")
.Map(dest => dest.PlaceReceiptId, src => src.ReceiptPlaceId)
.Map(dest => dest.PlaceReceipt, src => src.ReceiptPlace)
.Map(dest => dest.PortLoadId, src => src.LoadPortId)
.Map(dest => dest.PortLoad, src => src.LoadPort)
.Map(dest => dest.PortDischargeId, src => src.DischargePortId)
.Map(dest => dest.PortDischarge, src => src.DischargePort)
.Map(dest => dest.PlaceDeliveryId, src => src.DeliveryPlaceId)
.Map(dest => dest.PlaceDelivery, src => src.DeliveryPlace)
.Map(dest => dest.DestinationId, src => src.DestinationId)
.Map(dest => dest.Destination, src => src.Destination)
.Map(dest => dest.NoBill, src => src.NoBill)
.Map(dest => dest.CopyNoBill, src => src.CopyNoBill)
.Map(dest => dest.IssueType, src => src.IssueType)
.Map(dest => dest.IssueDate, src => src.IssueDate.HasValue ? src.IssueDate.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")
.Map(dest => dest.IssuePlaceId, src => src.IssuePlaceId)
.Map(dest => dest.IssuePlace, src => src.IssuePlace)
.Map(dest => dest.Blfrt, src => src.MBLFrt)
.Map(dest => dest.PrepardAt, src => src.PrepareAt)
.Map(dest => dest.PayableAt, src => src.PayableAt)
.Map(dest => dest.Service, src => src.Service)
.Map(dest => dest.Marks, src => src.Marks)
.Map(dest => dest.HsCode, src => src.HSCode)
.Map(dest => dest.GoodsDescription, src => src.Description)
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KindPKGs, src => src.KindPkgs)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.TotalNO, src => src.TotalNo)
.Map(dest => dest.CntrTotal, src => src.CntrTotal)
.Map(dest => dest.CarrierId, src => src.CarrierId)
.Map(dest => dest.Carrier, src => src.Carrier)
.Map(dest => dest.CargoId, src => src.CargoId)
.Map(dest => dest.DClass, src => src.DangerClass)
.Map(dest => dest.DUnno, src => src.DangerNo)
.Map(dest => dest.DPage, src => src.DangerPage)
.Map(dest => dest.DLabel, src => src.DangerLabel)
.Map(dest => dest.DLinkMan, src => src.LinkMan)
//.Map(dest => dest.TempId, src => src.Temperature)
.Map(dest => dest.TempSet, src => src.TemperatureSet)
.Map(dest => dest.Reeferf, src => src.ReeferQuantity)
.Map(dest => dest.Humidity, src => src.Humidity)
.Map(dest => dest.TempMin, src => src.TemperatureMin)
.Map(dest => dest.TempMax, src => src.TemperatureMax)
.Map(dest => dest.IsContaSOC, src => src.IsContainerSoc)
.Map(dest => dest.SORemark, src => src.BookingRemark)
.Map(dest => dest.SIRemark, src => src.CloseDocRemark)
.Map(dest => dest.YardRemark, src => src.YardRemark)
//.Map(dest => dest.ShipperName, src => src.Shipper)
//.Map(dest => dest.ShipperAddr1, src => src.SHIPPERADDR1)
//.Map(dest => dest.ShipperAddr2, src => src.SHIPPERADDR2)
//.Map(dest => dest.ShipperAddr3, src => src.SHIPPERADDR3)
//.Map(dest => dest.ShipperCity, src => src.SHIPPERCITY)
//.Map(dest => dest.ShipperProvice, src => src.SHIPPERPROVINCE)
//.Map(dest => dest.ShipperPostCode, src => src.SHIPPERPOSTCODE)
//.Map(dest => dest.ShipperCountry, src => src.SHIPPERCOUNTRY)
//.Map(dest => dest.ShipperAttn, src => src.SHIPPERATTN)
//.Map(dest => dest.ShipperTel, src => src.SHIPPERTEL)
.Map(dest => dest.ConsigneeName, src => src.Consignee)
//.Map(dest => dest.ConsigneeAddr1, src => src.CONSIGNEEADDR1)
//.Map(dest => dest.ConsigneeAddr2, src => src.CONSIGNEEADDR2)
//.Map(dest => dest.ConsigneeAddr3, src => src.CONSIGNEEADDR3)
//.Map(dest => dest.ConsigneeCity, src => src.CONSIGNEECITY)
//.Map(dest => dest.ConsigneeProvince, src => src.CONSIGNEEPROVINCE)
//.Map(dest => dest.ConsigneePostCode, src => src.CONSIGNEEPOSTCODE)
//.Map(dest => dest.ConsigneeCountry, src => src.CONSIGNEERCOUNTRY)
//.Map(dest => dest.ConsigneeAttn, src => src.CONSIGNEEATTN)
//.Map(dest => dest.ConsigneeTel, src => src.CONSIGNEETEL)
.Map(dest => dest.NotifyPartyName, src => src.NotifyParty)
//.Map(dest => dest.NotifyPartyAddr1, src => src.NOTIFYPARTYADDR1)
//.Map(dest => dest.NotifyPartyAddr2, src => src.NOTIFYPARTYADDR2)
//.Map(dest => dest.NotifyPartyAddr3, src => src.NOTIFYPARTYADDR3)
//.Map(dest => dest.NotifyPartyCity, src => src.NOTIFYPARTYCITY)
//.Map(dest => dest.NotifyPartyProvince, src => src.NOTIFYPARTYPROVINCE)
//.Map(dest => dest.NotifyPartyPostCode, src => src.NOTIFYPARTYPOSTCODE)
//.Map(dest => dest.NotifyPartyCountry, src => src.NOTIFYPARTYCOUNTRY)
//.Map(dest => dest.NotifyPartyAttn, src => src.NOTIFYPARTYATTN)
//.Map(dest => dest.NotifyPartyTel, src => src.NOTIFYPARTYTEL)
.Map(dest => dest.CustomsER, src => src.Customser)
.Map(dest => dest.TruckER, src => src.Trucker)
.Map(dest => dest.AgentId, src => src.AgentId.ToString())
.Map(dest => dest.ForwarderId, src => src.ForwarderId.ToString())
.Map(dest => dest.ShipAgencyId, src => src.ShipAgencyId.ToString())
.Map(dest => dest.CustomsERId, src => src.CustomserId.ToString())
.Map(dest => dest.TruckERId, src => src.TruckerId.ToString())
.Map(dest => dest.AgentName, src => src.Agent)
//.Map(dest => dest.ConsigneeDoorAddr, src => src.CONSIGNEEDOORADDR)
//.Map(dest => dest.ShipperDoorAddr, src => src.SHIPPERDOORADDR)
//.Map(dest => dest.SCACCode, src => src.SCACCODE)
//.Map(dest => dest.ITNCode, src => src.ITNCODE)
.Map(dest => dest.PrePardAtId, src => src.PrepareAtId.ToString())
.Map(dest => dest.PayableAtId, src => src.PayableAtId.ToString())
.Map(dest => dest.CustNo, src => src.CustomerNo)
.Map(dest => dest.TransportId, src => src.TransPortId.ToString())
.Map(dest => dest.Transport, src => src.TransPort)
//.Map(dest => dest.ThirdPayAddr, src => src.THIRDPAYADDR)
.Map(dest => dest.YardContractTel, src => src.YardTel)
.Map(dest => dest.YardContractEmail, src => src.YardATTN)
//.Map(dest => dest.FeeSelf, src => src.fees)
.Map(dest => dest.LaneCode, src => src.LaneId.ToString())
.Map(dest => dest.LaneName, src => src.Lane);
//.Map(dest => dest.FreightPayer, src => src.fri);
}
{
TypeAdapterConfig<OpCtn, TaskBookingOrderContaDto>.NewConfig().TwoWays()
.Map(dest => dest.ContaType, src => src.CtnCode)
.Map(dest => dest.ContaTypeName, src => src.CtnAll)
.Map(dest => dest.TEU, src => src.TEU)
.Map(dest => dest.ContaNo, src => src.CntrNo)
.Map(dest => dest.SealNo, src => src.SealNo)
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KindPKGs, src => src.KindPkgs)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.TareWeight, src => src.TareWeight)
.Map(dest => dest.ContaStatus, src => src.CtnStatus)
.Map(dest => dest.WeighType, src => src.WeightType)
.Map(dest => dest.WeighKGs, src => src.WeightKGS)
.Map(dest => dest.WeighAttn, src => src.WeightATTN)
//.Map(dest => dest.VGMConnCom, src => src.VGMCONNCOM)
.Map(dest => dest.WeighTel, src => src.WeightTel)
.Map(dest => dest.WeighDate, src => src.WeightDate)
.Map(dest => dest.VGMAddr, src => src.VGMAddr)
.Map(dest => dest.VGMEmail, src => src.VGMEmail);
//.Map(dest => dest.Remark, src => src.REMARK);
}
{
TypeAdapterConfig<OpCtnDetail, TaskBookingOrderCargoDto>.NewConfig().TwoWays()
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KindPKGs, src => src.KindPkgs)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.HSCode, src => src.HSCode)
.Map(dest => dest.Marks, src => src.Marks)
.Map(dest => dest.Description, src => src.Description);
//.Map(dest => dest.Remark, src => src.REMARK);
}
{
TypeAdapterConfig<SeaExport, TaskMessageMain>.NewConfig().TwoWays()
.Map(dest => dest.BookingNo, src => src.BookingNo)
//.Map(dest => dest.TenantId, src => src.TenantId)
//.Map(dest => dest.TenantName, src => src.TenantName)
//.Map(dest => dest.YardCode, src => src.YARDID)
.Map(dest => dest.YardCName, src => src.Yard)
.Map(dest => dest.VesselName, src => src.Vessel)
.Map(dest => dest.VoyNo, src => src.Voyno)
.Map(dest => dest.MasterBlNo, src => src.MBLNO)
.Map(dest => dest.HouseBlNo, src => src.HBLNO)
//.Map(dest => dest.PortLoadId, src => src.PORTLOADID)
.Map(dest => dest.PortLoad, src => src.LoadPort)
//.Map(dest => dest.PortDischargeId, src => src.dich)
.Map(dest => dest.PortDischarge, src => src.DischargePort)
.Map(dest => dest.TransportId, src => src.TransPortCode)
.Map(dest => dest.Transport, src => src.TransPort)
//.Map(dest => dest.PlaceDeliveryId, src => src.DeliveryPlaceId)
.Map(dest => dest.PlaceDelivery, src => src.DeliveryPlace)
//.Map(dest => dest.DestinationId, src => src.DESTINATIONID)
.Map(dest => dest.Destination, src => src.Destination)
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.GoodsDescription, src => src.Destination);
//.Map(dest => dest.CarrierCode, src => src.carr);
}
{
TypeAdapterConfig<OpCtn, TaskMessageCtnInfo>.NewConfig().TwoWays()
.Map(dest => dest.ContaType, src => src.CtnCode)
.Map(dest => dest.ContaTypeName, src => src.CtnAll)
.Map(dest => dest.ContaNo, src => src.CntrNo)
.Map(dest => dest.SealNo, src => src.SealNo)
.Map(dest => dest.KindPKGs, src => src.KindPkgs)
.Map(dest => dest.TareWeight, src => src.TareWeight)
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.CtnNum, src => src.CtnNum);
}
{
TypeAdapterConfig<SeaExport, BusinessInfo>.NewConfig().TwoWays()
.Map(dest => dest.BookingNo, src => src.BookingNo)
//.Map(dest => dest.YardCode, src => src.YARDID)
.Map(dest => dest.YardCName, src => src.Yard)
.Map(dest => dest.VesselName, src => src.Vessel)
.Map(dest => dest.VoyNo, src => src.Voyno)
.Map(dest => dest.MasterBlNo, src => src.MBLNO)
.Map(dest => dest.HouseBlNo, src => src.HBLNO)
//.Map(dest => dest.PortLoadId, src => src.PORTLOADID)
.Map(dest => dest.PortLoad, src => src.LoadPort)
//.Map(dest => dest.PortDischargeId, src => src.PORTDISCHARGEID)
.Map(dest => dest.PortDischarge, src => src.DischargePort)
//.Map(dest => dest.TransportId, src => src.TRANSPORTID)
.Map(dest => dest.Transport, src => src.TransPort)
//.Map(dest => dest.PlaceDeliveryId, src => src.PLACEDELIVERYID)
.Map(dest => dest.PlaceDelivery, src => src.DeliveryPlace)
//.Map(dest => dest.DestinationId, src => src.DESTINATIONID)
.Map(dest => dest.Destination, src => src.Destination)
.Map(dest => dest.PKGs, src => src.PKGS)
.Map(dest => dest.KGs, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.GoodsDescription, src => src.Description)
.Map(dest => dest.KindPKGs, src => src.KindPkgs);
}
{
TypeAdapterConfig<TaskManageOrderTransportPlanHasChangeInfo, TaskTransPlanHasChange>.NewConfig()
.Map(dest => dest.BOOKING_NO, src => src.BookingNo)
.Map(dest => dest.MBL_NO, src => src.BillNo)
.Map(dest => dest.ORIG_MBL_NO, src => src.OrigBillNo)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.CHANGE_REASON, src => src.ChangeReasonNotes)
.Map(dest => dest.PORTLOAD, src => src.PortLoad)
.Map(dest => dest.PORTLOAD_COUNTRY, src => src.PortLoadCountry)
.Map(dest => dest.PORTLOAD_TERMINAL, src => src.PortLoadTerminal)
.Map(dest => dest.PORTDISCHARGE, src => src.PortDischarge)
.Map(dest => dest.PORTDISCHARGE_COUNTRY, src => src.PortDischargeCountry)
.Map(dest => dest.PORTDISCHARGE_TERMINAL, src => src.PortDischargeTerminal)
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.Voyno)
.Map(dest => dest.SHIP_FLAG, src => src.ShipFlag)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.GROUP_BATCH_NO, src => src.GroupBatchNo)
.Map(dest => dest.IS_LAST, src => src.IsLast);
}
{
TypeAdapterConfig<TaskTransPlanHasChange, TaskTransPlanHasChangeShowDto>.NewConfig()
.Map(dest => dest.BookingNo, src => src.BOOKING_NO)
.Map(dest => dest.BillNo, src => src.MBL_NO)
.Map(dest => dest.OrigBillNo, src => src.ORIG_MBL_NO)
.Map(dest => dest.Carrier, src => src.CARRIER)
.Map(dest => dest.ChangeReasonNotes, src => src.CHANGE_REASON)
.Map(dest => dest.TaskPkId, src => src.TASK_ID)
.Map(dest => dest.Id, src => src.Id)
.Map(dest => dest.BookingId, src => src.BOOKING_ID)
.Map(dest => dest.GroupBatchNo, src => src.GROUP_BATCH_NO)
.Map(dest => dest.IsLast, src => src.IS_LAST);
}
4 months ago
{
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);
}
4 months ago
{
TypeAdapterConfig<TaskManageOrderSIFeedBackInfo, TaskSiSubmitted>.NewConfig()
.Map(dest => dest.MBL_NO, src => src.MblNo)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.TAKE_ISSUETYPE_NAME, src => src.TakeIssueTypeName)
.Map(dest => dest.ISSUETYPE, src => src.IssueType)
.Map(dest => dest.NOTICE_DATE, src => src.NoticeDate)
.Map(dest => dest.SUBMITTED_DATE, src => src.SubmittedDate)
.Map(dest => dest.BILLOF_NUM, src => src.BillOfNum)
.Map(dest => dest.RELEASE_INSTRUCTION, src => src.ReleaseInstruction)
.Map(dest => dest.SI_SUBTYPE, src => src.SISubType)
.Map(dest => dest.SHIPPER, src => src.Shipper)
.Map(dest => dest.CONSIGNEE, src => src.Consignee)
.Map(dest => dest.NOTIFYPARTY, src => src.NotifyParty)
.Map(dest => dest.NOTIFYPARTY2, src => src.NotifyParty2)
.Map(dest => dest.HSCODE, src => src.HSCode)
.Map(dest => dest.DESCRIPTION, src => src.Description)
.Map(dest => dest.PKGS, src => src.PKGS)
.Map(dest => dest.KINDPKGS, src => src.KindPKGS)
.Map(dest => dest.KGS, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.VoyNo)
.Map(dest => dest.COMMODITY, src => src.Commodity)
.Map(dest => dest.PORTLOAD, src => src.PortLoad)
.Map(dest => dest.PORTDISCHARGE, src => src.PortDischarge)
.Map(dest => dest.PLACEDELIVERY, src => src.PlaceReceipt)
.Map(dest => dest.PLACEDELIVERY, src => src.PlaceDelivery);
}
{
TypeAdapterConfig<TaskManageOrderSIFeedBackContaInfo, TaskSiSubmittedCtn>.NewConfig()
.Map(dest => dest.CNTRNO, src => src.ContaNo)
.Map(dest => dest.CTNCODE, src => src.ContaType)
.Map(dest => dest.CTNALL, src => src.ContaTypeName)
.Map(dest => dest.SEALNO, src => src.SealNo)
.Map(dest => dest.PKGS, src => src.PKGS)
.Map(dest => dest.KINDPKGS, src => src.KINDPKGS)
.Map(dest => dest.KGS, src => src.KGS)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.WEIGHTYPE, src => src.WeighType)
.Map(dest => dest.WEIGHKGS, src => src.WeighKGS);
}
{
TypeAdapterConfig<TaskManageOrderVGMInfo, TaskVgmInfo>.NewConfig()
.Map(dest => dest.MBL_NO, src => src.MBlNo)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.Voyno)
.Map(dest => dest.PORTLOAD, src => src.PortLoad)
.Map(dest => dest.VGM_SUBMISSION_DEADLINE, src => src.VGMSubmissionDeadLine)
.Map(dest => dest.BOOKED_BY_REFERENCE, src => src.BookedByReference)
.Map(dest => dest.CTN_STAT, src => src.CtnStat)
.Map(dest => dest.NOTICE_DATE, src => src.NoticeDate);
}
{
TypeAdapterConfig<TaskManageOrderVGMCtnInfo, TaskVgmCtnInfo>.NewConfig()
.Map(dest => dest.CNTRNO, src => src.CntrNo)
.Map(dest => dest.VGM_WEIGHT, src => src.VGMWeight)
.Map(dest => dest.VGM_WEIGHT_UNIT, src => src.VGMWeightUnit)
.Map(dest => dest.VGM_METHOD, src => src.VGMWeightMethod);
}
{
TypeAdapterConfig<TaskRollingNominationDto, TaskRollingNomination>.NewConfig()
.Map(dest => dest.PLAN_TYPE, src => src.PlanType)
.Map(dest => dest.BATCH_NO, src => src.BatchNo)
.Map(dest => dest.CARRIERID, src => src.CarrierId)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.CONFIRM_DEAD_LINE, src => src.ConfirmDeadLine)
.Map(dest => dest.READ_CREATE_TIME, src => src.CreateTime)
.Map(dest => dest.ROLL_DOUBLE_REMARK, src => src.RollingTouchDoubleRollRemark)
.Map(dest => dest.TASK_BATCH_TOTAL, src => src.RollingTotalNum)
.Map(dest => dest.TASK_BATCH_PER_TOTAL, src => src.RollingPerTotalNum);
}
{
TypeAdapterConfig<TaskRollingNominationShipDto, TaskRollingNominationShip>.NewConfig()
.Map(dest => dest.SHIP_TYPE, src => src.ShipType)
.Map(dest => dest.SHIP_STRING, src => src.ShipString)
.Map(dest => dest.VSL_CODE, src => src.VslCode)
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.VoyNo)
.Map(dest => dest.PORT, src => src.Port)
.Map(dest => dest.TERMINAL, src => src.Terminal)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.SI_CUT_DATE, src => src.SICutDate)
.Map(dest => dest.CY_CUTOFF_TIME, src => src.CYCutoffTime)
.Map(dest => dest.VOUCHER_CUT_DATE, src => src.VoucherCutDate)
.Map(dest => dest.VGM_CUTOFF_TIME, src => src.VGMCutoffTime)
.Map(dest => dest.CLOSING_DATE, src => src.CLPNCLCutDate)
.Map(dest => dest.BATCH_TRANSFER, src => src.BatchTransfer)
.Map(dest => dest.GROUP_INDX, src => src.GroupIndx);
}
{
TypeAdapterConfig<TaskRollingNominationShipDetailDto, TaskRollingNominationDetail>.NewConfig()
.Map(dest => dest.NOM_STATUS_NOTE, src => src.Status)
.Map(dest => dest.BOOKED_BY, src => src.Bookedby)
.Map(dest => dest.CONTRACTUAL_NAME, src => src.ContractualName)
.Map(dest => dest.SHIPMENT, src => src.Shipment)
.Map(dest => dest.EQUIPMENT_NUMBER, src => src.EquipmentNumber)
.Map(dest => dest.EQU_SIZE, src => src.EquSize)
.Map(dest => dest.CONTAINER_TYPE, src => src.ContainerType)
.Map(dest => dest.CONTAINER_HEIGHT, src => src.ContainerHeight)
.Map(dest => dest.FEE, src => src.FFE)
.Map(dest => dest.WEIGHT, src => src.Weight)
.Map(dest => dest.PLACEOF_RECEIPT, src => src.PlaceOfReceipt)
.Map(dest => dest.LOADPORT_NAME, src => src.LoadPortName)
.Map(dest => dest.DISCHARGEPORT_NAME, src => src.DischargePortName)
.Map(dest => dest.PLACEOF_DELIVERY, src => src.PlaceOfDelivery)
.Map(dest => dest.BBYMAIL, src => src.BBYMAIL)
.Map(dest => dest.CTNALL, src => src.CtnAll)
.Map(dest => dest.CTNCODE, src => src.CtnCode)
.Map(dest => dest.CTNNUM, src => src.CtnNum)
.Map(dest => dest.CTNNOTE, src => src.CtnNote)
.Map(dest => dest.SORT_NO, src => src.SortNo);
}
{
TypeAdapterConfig<TaskManageOrderDraftInfo, TaskDraftInfo>.NewConfig()
.Map(dest => dest.MBL_NO, src => src.MBlNo)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.NOTICE_DATE, src => src.NoticeDate);
}
{
TypeAdapterConfig<TaskManageOrderPODDischargeGateoutFull, TaskPodDischargeGateoutFull>.NewConfig()
.Map(dest => dest.MBL_NO, src => src.MBlNo)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.NOTICE_TYPE, src => src.NoticeType)
.Map(dest => dest.NOTICE_TYPE_NAME, src => src.NoticeTypeName)
.Map(dest => dest.NOTICE_DATE, src => src.NoticeDate);
}
{
TypeAdapterConfig<TaskManageOrderPODDischargeGateoutFullDetail, TaskPodDischargeGateoutFullDetail>.NewConfig()
.Map(dest => dest.MBL_NO, src => src.MBlNo)
.Map(dest => dest.CTN_NO, src => src.CtnNo)
.Map(dest => dest.CNEE, src => src.Cnee)
.Map(dest => dest.DISCHARGE_PORT, src => src.DischargePort)
.Map(dest => dest.DISCHARGE_DATE, src => src.DischargeDate)
.Map(dest => dest.OVERDUE_DAYS, src => src.OverdueDays)
.Map(dest => dest.CUR_CONTA_LOCATION, src => src.CurContaLocation)
.Map(dest => dest.CHARGE_CURRENCY, src => src.ChargeCurrency)
.Map(dest => dest.DETENTION_FEE_TILL_DATE, src => src.DetentionFeeTillDate);
}
{
TypeAdapterConfig<TaskManageOrderRouteChangeAdvisoryInfo, TaskRouteChangeAdvisory>.NewConfig()
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.Voyno)
.Map(dest => dest.CARRIER, src => src.CarrierId)
.Map(dest => dest.ORIG_ETD, src => src.origETD)
.Map(dest => dest.READ_PORTLOAD, src => src.LoadPortName)
.Map(dest => dest.MDGF_CUT_DATE, src => src.MDGFCutDate)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.SI_CUT_DATE, src => src.SICutDate)
.Map(dest => dest.TM_SHIFT_CUT_DATE, src => src.TerminalShiftCutDate)
.Map(dest => dest.VGM_CUTOFF_TIME, src => src.VGMCutDate)
.Map(dest => dest.CY_CUT_DATE, src => src.CYCutDate)
.Map(dest => dest.ROUTE_CODE, src => src.RouteCode)
.Map(dest => dest.EMAIL_SUBJECT, src => src.MailSubject);
}
{
TypeAdapterConfig<TaskManageOrderPOLContainerNotPickupInfo, TaskPolContainerNotPickup>.NewConfig()
.Map(dest => dest.VESSEL, src => src.Vessel)
.Map(dest => dest.VOYNO, src => src.Voyno)
.Map(dest => dest.CARRIER, src => src.Carrier)
.Map(dest => dest.MBL_NO, src => src.ShipmentNumber)
.Map(dest => dest.BOOKING_CUSTOMER, src => src.BookedByCustomerName)
.Map(dest => dest.BOOKING_REFERENCE, src => src.BookedByReference)
.Map(dest => dest.PRICE_OWNER, src => src.PriceOwnerName);
}
// BC解析对象转成TaskBcInfo
{
TypeAdapterConfig<ParserBCInfoDto, TaskBCInfo>.NewConfig().TwoWays()
.Map(dest => dest.BUSI_TYPE, src => src.BusiType)
.Map(dest => dest.BOOKING_PARTY, src => src.BookingParty)
.Map(dest => dest.SHIPPER, src => src.Shipper)
.Map(dest => dest.CONSIGNEE, src => src.Consignee)
.Map(dest => dest.NOTIFYPARTY, src => src.NotifyParty)
.Map(dest => dest.BC_MODIFY_TIMES, src => src.BCModifyTimes)
.Map(dest => dest.BC_MODIFY_DATE, src => src.BCModifyDate)
.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.CARRIER, src => src.Carrier)
.Map(dest => dest.PLACERECEIPT, src => src.PlaceReceipt)
.Map(dest => dest.PORTLOAD, src => src.Portload)
.Map(dest => dest.CLOSING_DATE, src => src.ClosingDate)
.Map(dest => dest.VGM_CUTOFF_TIME, src => src.VGMCutoffTime)
.Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.POD_ETA, src => src.PODETA)
.Map(dest => dest.CUT_SINGLE_TIME, src => src.CutSingleTime)
.Map(dest => dest.PORTDISCHARGE, src => src.PortDischarge)
.Map(dest => dest.PLACEDELIVERY, src => src.PlaceDelivery)
.Map(dest => dest.SHIPPING_METHOD, src => src.ShippingMethod)
.Map(dest => dest.SERVICE, src => src.Service)
.Map(dest => dest.PRETRANS_MODE, src => src.PreTransMode)
.Map(dest => dest.DESCRIPTION, src => src.Description)
.Map(dest => dest.ISSUEPLACE, src => src.IssuePlace)
.Map(dest => dest.COLLECTION_TERMINAL, src => src.CollectionTerminal)
.Map(dest => dest.CONTRACTNO, src => src.ContractNo)
.Map(dest => dest.PREPARDAT, src => src.PrepardAT)
.Map(dest => dest.SHIP_AGENT, src => src.ShipAgent)
.Map(dest => dest.YARD, src => src.Yard)
.Map(dest => dest.YARD_CONTACT_USR, src => src.YardContactUserName)
.Map(dest => dest.YARD_CONTACT_TEL, src => src.YardContactTel)
.Map(dest => dest.FST_CUSTOMER_SER_USRNAME, src => src.FstCustomerSerUserName)
.Map(dest => dest.FST_CUSTOMER_SER_TEL, src => src.FstCustomerSerUserTel)
.Map(dest => dest.FST_CUSTOMER_SER_EMAIL, src => src.FstCustomerSerUserEmail)
.Map(dest => dest.REMARK1, src => src.Remark1)
.Map(dest => dest.CY_CUTOFF_TIME, src => src.CYCutoffTime)
.Map(dest => dest.FROM_EMAIL, src => src.FromEmail)
.Map(dest => dest.RECV_EMAIL, src => src.RecvEmail)
.Map(dest => dest.CARRIERID, src => src.CarrierId)
.Map(dest => dest.LANECODE, src => src.LaneCode)
.Map(dest => dest.LANENAME, src => src.LaneName)
.Map(dest => dest.CARRIAGE_TYPE, src => src.CarriageType)
.Map(dest => dest.CARRIAGE_TYPE_NAME, src => src.CarriageTypeName)
.Map(dest => dest.BOOKING_SLOT_TYPE, src => src.BookingSlotType)
.Map(dest => dest.BOOKING_SLOT_TYPE_NAME, src => src.BookingSlotTypeName)
.Map(dest => dest.CTN_STAT, src => src.CtnStat)
.Map(dest => dest.WEEK_AT, src => src.WeekAt)
.Map(dest => dest.DETENSION_FREE_DAYS, src => src.DetensionFreeDays)
.Map(dest => dest.SI_CUT_DATE, src => src.SICutDate)
.Map(dest => dest.MANIFEST_CUT_DATE, src => src.ManifestCutDate)
.Map(dest => dest.MDGF_CUT_DATE, src => src.MDGFCutDate)
.Map(dest => dest.TRANSFER_PORT_1, src => src.TransferPort1)
.Map(dest => dest.TRANSFER_PORT_2, src => src.TransferPort2)
.Map(dest => dest.SECOND_VESSEL, src => src.SecondVessel)
.Map(dest => dest.SECOND_VOYNO, src => src.SecondVoyno)
.Map(dest => dest.SECOND_ETD, src => src.SecondETD)
.Map(dest => dest.SECOND_ETA, src => src.SecondETA)
.Map(dest => dest.BOOKING_COMFIRM_DATE, src => src.BookingConfirmDate)
.Map(dest => dest.BATCH_NO, src => src.BatchNo)
.Map(dest => dest.PRICE_CALCULATION_DATE, src => src.PriceCalculationDate);
}
// BC解析对象箱信息转成TaskBCCTNInfo
{
TypeAdapterConfig<ParserBCCTNInfoDto, TaskBCCTNInfo>.NewConfig()
//.Map(dest => dest.CTNCODE, src => src.CtnCode)
.Map(dest => dest.CTNALL, src => src.CtnALL)
.Map(dest => dest.CTNNUM, src => src.CtnNum)
.Map(dest => dest.IODGT, src => src.IODGT)
.Map(dest => dest.KGS, src => src.KGS)
.Map(dest => dest.RETURN_CTN_YARD, src => src.ReturnCTNYard)
.Map(dest => dest.SPECIAL_LOADING_REQUIRE, src => src.SpecialLoadingRequire)
.Map(dest => dest.CBM, src => src.CBM)
.Map(dest => dest.TAKE_CTN_TIME, src => src.TakeCTNTime)
.Map(dest => dest.TAKE_CTN_YARD, src => src.TakeCTNYard)
.Map(dest => dest.TAREWEIGHT, src => src.TareWeight);
}
3 months ago
3 months ago
{
TypeAdapterConfig<TaskPolContainerNotPickup, TaskPOLContainerNotPickUpShowDto>.NewConfig()
.Map(dest => dest.TaskPkId, src => src.TASK_ID)
.Map(dest => dest.Id, src => src.Id)
.Map(dest => dest.MBlNo, src => src.MBL_NO)
.Map(dest => dest.BookingCustomer, src => src.BOOKING_CUSTOMER)
.Map(dest => dest.BookingReference, src => src.BOOKING_REFERENCE)
.Map(dest => dest.BookingId, src => src.BOOKING_ID)
.Map(dest => dest.Carrier, src => src.CARRIER)
.Map(dest => dest.Vessel, src => src.VESSEL)
.Map(dest => dest.Voyno, src => src.VOYNO)
.Map(dest => dest.PriceOwnerName, src => src.PRICE_OWNER)
.Map(dest => dest.IsTransferUser, src => src.IS_TRANSFER_USER)
.Map(dest => dest.LstTransferUserDate, src => src.LST_TRANSFER_USER_DATE)
.Map(dest => dest.LstTransferNotes, src => src.LST_TRANSFER_NOTES)
.Map(dest => dest.LstStatus, src => src.LST_STATUS)
.Map(dest => dest.LstStatusName, src => src.LST_STATUS_NAME);
3 months ago
}
}
}
}