舱位管理

master
zhangxiaofeng 6 months ago
parent 18f5fa383c
commit c83260326f

@ -2711,28 +2711,39 @@ namespace Myshipping.Application
CUSTNO = custNo, CUSTNO = custNo,
//MBLNO = bookingSlotBase.SLOT_BOOKING_NO.Trim(), //MBLNO = bookingSlotBase.SLOT_BOOKING_NO.Trim(),
CONTRACTNO = !string.IsNullOrWhiteSpace(bookingSlotBase.CONTRACT_NO) ? bookingSlotBase.CONTRACT_NO : "", CONTRACTNO = !string.IsNullOrWhiteSpace(bookingSlotBase.CONTRACT_NO) ? bookingSlotBase.CONTRACT_NO : "",
VESSEL = bookingSlotBase.VESSEL.ToUpper().Trim(), VESSEL = bookingSlotBase.VESSEL?.ToUpper()?.Trim(),
VOYNO = bookingSlotBase.VOYNO.ToUpper().Trim(), VOYNO = bookingSlotBase.VOYNO?.ToUpper()?.Trim(),
VOYNOINNER = bookingSlotBase.VOYNO.ToUpper().Trim(), VOYNOINNER = bookingSlotBase.VOYNO?.ToUpper()?.Trim(),
ETD = bookingSlotBase.ETD, ETD = bookingSlotBase.ETD,
ETA = bookingSlotBase.ETA, ETA = bookingSlotBase.ETA,
SALEID = generateModel.SaleId.ToString(), SALEID = generateModel.SaleId?.ToString(),
SALE = generateModel.SaleName, SALE = generateModel.SaleName,
OPID = generateModel.OpId.ToString(), OPID = generateModel.OpId?.ToString(),
OP = generateModel.OpName, OP = generateModel.OpName,
DOCID = generateModel.DocId.ToString(), DOCID = generateModel.DocId?.ToString(),
DOC = generateModel.DocName, DOC = generateModel.DocName,
ROUTEID = generateModel.RouteID.ToString(), ROUTEID = generateModel.RouteID?.ToString(),
ROUTE = generateModel.Route, ROUTE = generateModel.Route,
CZRemark = generateModel.CZRemark, CZRemark = generateModel.CZRemark,
ShenQingXiangShi = generateModel.ShenQingXiangShi, ShenQingXiangShi = generateModel.ShenQingXiangShi,
LineManageID = generateModel.LineManageID.ToString(), LineManageID = generateModel.LineManageID?.ToString(),
LineName = generateModel.LineManage, LineName = generateModel.LineManage,
CLOSEVGMDATE = bookingSlotBase.VGM_SUBMISSION_CUT_DATE, CLOSEVGMDATE = bookingSlotBase.VGM_SUBMISSION_CUT_DATE,
CLOSINGDATE = bookingSlotBase.CY_CUT_DATE, CLOSINGDATE = bookingSlotBase.CY_CUT_DATE,
CLOSEDOCDATE = bookingSlotBase.SI_CUT_DATE, CLOSEDOCDATE = bookingSlotBase.SI_CUT_DATE,
CUSTSERVICEID = generateModel.CustServiceId.HasValue ? generateModel.CustServiceId.Value.ToString() : null, CUSTSERVICEID = generateModel.CustServiceId?.ToString(),
CUSTSERVICE = generateModel.CustServiceName, CUSTSERVICE = generateModel.CustServiceName,
PORTLOAD = bookingSlotBase.PORTLOAD,
PORTLOADID = bookingSlotBase.PORTLOADID,
PORTDISCHARGE = bookingSlotBase.PORTDISCHARGE,
PORTDISCHARGEID = bookingSlotBase.PORTDISCHARGEID,
PLACEDELIVERY = bookingSlotBase.PLACEDELIVERY,
PLACEDELIVERYID = bookingSlotBase.PLACEDELIVERYID,
PLACERECEIPT = bookingSlotBase.PLACERECEIPT,
PLACERECEIPTID = bookingSlotBase.PLACERECEIPTID,
ctnInputs = new List<BookingCtnDto>() ctnInputs = new List<BookingCtnDto>()
}; };

Loading…
Cancel
Save