|
|
|
@ -3,6 +3,7 @@ using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
|
using Mapster;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
@ -537,6 +538,185 @@ namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
|
.Map(dest => dest.REASON, src => src.Reason)
|
|
|
|
|
.Map(dest => dest.CONTA_NO, src => src.ContaNo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|