|
|
|
@ -1946,13 +1946,13 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
bookingOrder.TRUCKERID = null;
|
|
|
|
|
bookingOrder.TRUCKER = null;
|
|
|
|
|
bookingOrder.VERSION = IDGen.NextID().ToString().Replace("-", "");
|
|
|
|
|
//bookingOrder.VERSION = IDGen.NextID().ToString().Replace("-", "");
|
|
|
|
|
|
|
|
|
|
_bookingOrderRepository.AsUpdateable(bookingOrder).UpdateColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.TRUCKERID,
|
|
|
|
|
it.TRUCKER,
|
|
|
|
|
it.VERSION
|
|
|
|
|
//it.VERSION
|
|
|
|
|
}).ExecuteCommand();
|
|
|
|
|
|
|
|
|
|
var syncDongshengRlt = await _bookingOrderService.SendBookingOrder(new long[] { bookingTruckInfo.BookingId.Value });
|
|
|
|
@ -1978,13 +1978,13 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
bookingOrder.TRUCKERID = info.TruckCode;
|
|
|
|
|
bookingOrder.TRUCKER = info.TruckName;
|
|
|
|
|
bookingOrder.VERSION = IDGen.NextID().ToString().Replace("-", "");
|
|
|
|
|
//bookingOrder.VERSION = IDGen.NextID().ToString().Replace("-", "");
|
|
|
|
|
|
|
|
|
|
_bookingOrderRepository.AsUpdateable(bookingOrder).UpdateColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.TRUCKERID,
|
|
|
|
|
it.TRUCKER,
|
|
|
|
|
it.VERSION
|
|
|
|
|
//it.VERSION
|
|
|
|
|
}).ExecuteCommand();
|
|
|
|
|
|
|
|
|
|
//这里直接调用订舱服务的功能,担心有异常所以这里单独做了异常捕获
|
|
|
|
|