|
|
@ -10286,6 +10286,16 @@ namespace Myshipping.Application
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 临时补扣费用
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
[HttpGet("/BookingOrder/FeeById"), AllowAnonymous]
|
|
|
|
|
|
|
|
public async Task FeeById(List<long> idList, int bsType = 28, int sendtype = 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
await _publisher.PublishAsync(new ChannelEventSource($"Booking:DoFeeRecord", new { bsType = bsType, sendtype = sendtype, idList = idList }));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#region 打印船公司ONE的订舱附件
|
|
|
|
#region 打印船公司ONE的订舱附件
|
|
|
@ -12154,22 +12164,28 @@ namespace Myshipping.Application
|
|
|
|
UNLocationCode = model.placeOfDeliveryUnLocCode,
|
|
|
|
UNLocationCode = model.placeOfDeliveryUnLocCode,
|
|
|
|
cityName = model.placeOfDeliveryCityName,
|
|
|
|
cityName = model.placeOfDeliveryCityName,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
selectedRoute = new MSKAPIBookingRoute {
|
|
|
|
selectedRoute = new MSKAPIBookingRoute
|
|
|
|
bookingSchedules = new MSKAPIBookingSchedules {
|
|
|
|
{
|
|
|
|
|
|
|
|
bookingSchedules = new MSKAPIBookingSchedules
|
|
|
|
|
|
|
|
{
|
|
|
|
originDepartureDateTimeLocal = model.originDepartureDateTimeLocal.Value.ToString("yyyy-MM-dd"),
|
|
|
|
originDepartureDateTimeLocal = model.originDepartureDateTimeLocal.Value.ToString("yyyy-MM-dd"),
|
|
|
|
destinationArrivalDateTimeLocal = model.destinationArrivalDateTimeLocal.Value.ToString("yyyy-MM-dd"),
|
|
|
|
destinationArrivalDateTimeLocal = model.destinationArrivalDateTimeLocal.Value.ToString("yyyy-MM-dd"),
|
|
|
|
transportMode = new MSKAPIBookingTransportMode {
|
|
|
|
transportMode = new MSKAPIBookingTransportMode
|
|
|
|
vessel = new MSKAPIBookingTransportModeVessel {
|
|
|
|
{
|
|
|
|
|
|
|
|
vessel = new MSKAPIBookingTransportModeVessel
|
|
|
|
|
|
|
|
{
|
|
|
|
name = model.vesselName,
|
|
|
|
name = model.vesselName,
|
|
|
|
maerskVesselCode = model.carrierVesselCode,
|
|
|
|
maerskVesselCode = model.carrierVesselCode,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
exportVoyageNumber = model.exportVoyageNumber,
|
|
|
|
exportVoyageNumber = model.exportVoyageNumber,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
startLocation = new MSKAPIBookingRouteDetailsBase {
|
|
|
|
startLocation = new MSKAPIBookingRouteDetailsBase
|
|
|
|
|
|
|
|
{
|
|
|
|
cityName = model.placeOfReceiptCityName,
|
|
|
|
cityName = model.placeOfReceiptCityName,
|
|
|
|
UNLocationCode = model.placeOfReceiptUnLocCode
|
|
|
|
UNLocationCode = model.placeOfReceiptUnLocCode
|
|
|
|
},
|
|
|
|
},
|
|
|
|
endLocation= new MSKAPIBookingRouteDetailsBase {
|
|
|
|
endLocation = new MSKAPIBookingRouteDetailsBase
|
|
|
|
|
|
|
|
{
|
|
|
|
cityName = model.placeOfDeliveryCityName,
|
|
|
|
cityName = model.placeOfDeliveryCityName,
|
|
|
|
UNLocationCode = model.placeOfDeliveryUnLocCode
|
|
|
|
UNLocationCode = model.placeOfDeliveryUnLocCode
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -12209,7 +12225,8 @@ namespace Myshipping.Application
|
|
|
|
{
|
|
|
|
{
|
|
|
|
model.ctns.ForEach(ctn =>
|
|
|
|
model.ctns.ForEach(ctn =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MSKAPIBookingEquipmentAndHaulage haulage = new MSKAPIBookingEquipmentAndHaulage {
|
|
|
|
MSKAPIBookingEquipmentAndHaulage haulage = new MSKAPIBookingEquipmentAndHaulage
|
|
|
|
|
|
|
|
{
|
|
|
|
equipmentDetails = new MSKAPIBookingEquipmentAndHaulageItem(),
|
|
|
|
equipmentDetails = new MSKAPIBookingEquipmentAndHaulageItem(),
|
|
|
|
stuffingDetails = new List<MSKAPIBookingStuffingdetails>()
|
|
|
|
stuffingDetails = new List<MSKAPIBookingStuffingdetails>()
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -12217,7 +12234,8 @@ namespace Myshipping.Application
|
|
|
|
haulage.equipmentDetails.ISOEquipmentCode = ctn.ctnCode;
|
|
|
|
haulage.equipmentDetails.ISOEquipmentCode = ctn.ctnCode;
|
|
|
|
haulage.equipmentDetails.equipmentQuantity = ctn.ctnNum;
|
|
|
|
haulage.equipmentDetails.equipmentQuantity = ctn.ctnNum;
|
|
|
|
|
|
|
|
|
|
|
|
haulage.stuffingDetails.Add(new MSKAPIBookingStuffingdetails {
|
|
|
|
haulage.stuffingDetails.Add(new MSKAPIBookingStuffingdetails
|
|
|
|
|
|
|
|
{
|
|
|
|
stuffingValue = (int)ctn.ctnSufferWeight.Value,
|
|
|
|
stuffingValue = (int)ctn.ctnSufferWeight.Value,
|
|
|
|
stuffingMeasurementType = "WEIGHT",
|
|
|
|
stuffingMeasurementType = "WEIGHT",
|
|
|
|
stuffingMeasurementUnit = "KGS"
|
|
|
|
stuffingMeasurementUnit = "KGS"
|
|
|
@ -12493,5 +12511,6 @@ namespace Myshipping.Application
|
|
|
|
return list;
|
|
|
|
return list;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|