修改BC变革任务

master
jianghaiqing 7 months ago
parent a02d92633f
commit 02dcb4c75e

@ -1080,7 +1080,7 @@ namespace Myshipping.Application
}
#endregion
}
else if (model.GenerateMethod != "UPD_BOOKING")
else if (model.GenerateMethod == "UPD_BOOKING")
{
//推送订舱订单
var bookingOrderId = await UpdateBookingOrder(bcOrder, bcCtnList, fileList, model);
@ -3319,6 +3319,37 @@ namespace Myshipping.Application
});
}
bkModel.ChangedFields = new List<string>
{
nameof(SaveBookingOrderInput.CUSTOMERID),
nameof(SaveBookingOrderInput.CUSTOMERNAME),
nameof(SaveBookingOrderInput.CARRIERID),
nameof(SaveBookingOrderInput.CARRIER),
nameof(SaveBookingOrderInput.CONTRACTNO),
nameof(SaveBookingOrderInput.VESSEL),
nameof(SaveBookingOrderInput.VOYNO),
nameof(SaveBookingOrderInput.SALEID),
nameof(SaveBookingOrderInput.SALE),
nameof(SaveBookingOrderInput.OPID),
nameof(SaveBookingOrderInput.OP),
nameof(SaveBookingOrderInput.DOCID),
nameof(SaveBookingOrderInput.DOC),
nameof(SaveBookingOrderInput.ROUTEID),
nameof(SaveBookingOrderInput.ROUTE),
nameof(SaveBookingOrderInput.LineManageID),
nameof(SaveBookingOrderInput.LineName),
nameof(SaveBookingOrderInput.VOYNOINNER),
nameof(SaveBookingOrderInput.ROUTE),
nameof(SaveBookingOrderInput.ETD),
nameof(SaveBookingOrderInput.ETA),
nameof(SaveBookingOrderInput.CZRemark),
nameof(SaveBookingOrderInput.ShenQingXiangShi),
nameof(SaveBookingOrderInput.CLOSEVGMDATE),
nameof(SaveBookingOrderInput.CLOSINGDATE),
nameof(SaveBookingOrderInput.CUSTSERVICEID),
nameof(SaveBookingOrderInput.CUSTSERVICE),
};
var bkRlt = await _bookingOrderService.Save(bkModel);
id = bkRlt.Id;

Loading…
Cancel
Save