|
|
|
@ -9855,7 +9855,7 @@ namespace Myshipping.Application
|
|
|
|
|
await _rep.AsUpdateable(order).IgnoreColumns().ExecuteCommandAsync();
|
|
|
|
|
|
|
|
|
|
// 记录日志
|
|
|
|
|
await SaveLog(order, oldOrder, "即时刷新船期");
|
|
|
|
|
await SaveLog(order, oldOrder, "手动刷新船期");
|
|
|
|
|
|
|
|
|
|
await SendBookingOrder(new long[] { Id });
|
|
|
|
|
if (!string.IsNullOrEmpty(order.VESSEL) && !string.IsNullOrEmpty(order.VOYNO))
|
|
|
|
@ -9979,7 +9979,8 @@ namespace Myshipping.Application
|
|
|
|
|
await _rep.UpdateAsync(x => x.Id == bookingId, x => new BookingOrder { BSSTATUSNAME = StatusName });
|
|
|
|
|
|
|
|
|
|
// 记录日志
|
|
|
|
|
var newOrder = new BookingOrder() { BSSTATUSNAME = StatusName };
|
|
|
|
|
var newOrder = order.Adapt<BookingOrder>();
|
|
|
|
|
newOrder.BSSTATUSNAME = StatusName;
|
|
|
|
|
await SaveLog(newOrder, order, "更新货物状态");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -10486,6 +10487,8 @@ namespace Myshipping.Application
|
|
|
|
|
var model = _rep.AsQueryable().Filter(null, true)
|
|
|
|
|
.First(a => a.Id == bookingId);
|
|
|
|
|
|
|
|
|
|
var oldModel = model.Adapt<BookingOrder>();
|
|
|
|
|
|
|
|
|
|
model.BSSTATUSNAME = maxStatus.ShowName;
|
|
|
|
|
//model.VERSION = IDGen.NextID().ToString().Replace("-", "");
|
|
|
|
|
|
|
|
|
@ -10497,6 +10500,9 @@ namespace Myshipping.Application
|
|
|
|
|
//it.VERSION
|
|
|
|
|
}).ExecuteCommand();
|
|
|
|
|
|
|
|
|
|
// 保存日志
|
|
|
|
|
await SaveLog(model, oldModel, "设置货物状态");
|
|
|
|
|
|
|
|
|
|
//推送东胜
|
|
|
|
|
if (isAutoSyncDS)
|
|
|
|
|
await SendBookingOrder(new long[] { bookingId });
|
|
|
|
@ -10577,6 +10583,8 @@ namespace Myshipping.Application
|
|
|
|
|
var model = _rep.AsQueryable().Filter(null, true)
|
|
|
|
|
.First(a => a.Id == bookingId);
|
|
|
|
|
|
|
|
|
|
var oldModel = model.Adapt<BookingOrder>();
|
|
|
|
|
|
|
|
|
|
if (maxStatus != null)
|
|
|
|
|
{
|
|
|
|
|
model.BSSTATUSNAME = maxStatus.ShowName;
|
|
|
|
@ -10596,6 +10604,9 @@ namespace Myshipping.Application
|
|
|
|
|
//it.VERSION
|
|
|
|
|
}).ExecuteCommand();
|
|
|
|
|
|
|
|
|
|
// 保存日志
|
|
|
|
|
await SaveLog(model, oldModel, "取消设置货物状态");
|
|
|
|
|
|
|
|
|
|
//推送东胜
|
|
|
|
|
if (isAutoSyncDS)
|
|
|
|
|
//推送东胜
|
|
|
|
|