|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
|
using Mapster;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
using static Org.BouncyCastle.Math.EC.ECCurve;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
|
{
|
|
|
|
@ -392,6 +393,47 @@ namespace DS.WMS.Core.TaskPlat.Dtos.Mapper
|
|
|
|
|
//.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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|