|
|
|
@ -1001,8 +1001,14 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
var oldOrder = order.Adapt<SeaExport>();
|
|
|
|
|
order.BusinessStatusName = status.StatusName;
|
|
|
|
|
order.BusinessStatus = status.SystemCode;
|
|
|
|
|
order.IsVGM = status.SystemCode == "YFVGM" ? true : false;
|
|
|
|
|
order.IsBooking = status.SystemCode == "YFCD" ? true : false;
|
|
|
|
|
|
|
|
|
|
//order.Note = "更新主单货物状态";
|
|
|
|
|
await tenantDb.Updateable(order).UpdateColumns(x => new { x.BusinessStatusName, x.BusinessStatus }).EnableDiffLogEvent().ExecuteCommandAsync();
|
|
|
|
|
await tenantDb.Updateable(order).UpdateColumns(x => new { x.BusinessStatusName, x.BusinessStatus })
|
|
|
|
|
.UpdateColumnsIF(status.SystemCode == "YFVGM", x => new { x.IsVGM })
|
|
|
|
|
.UpdateColumnsIF(status.SystemCode == "YFCD", x => new { x.IsBooking })
|
|
|
|
|
.EnableDiffLogEvent().ExecuteCommandAsync();
|
|
|
|
|
// 记录日志
|
|
|
|
|
await SaveSeaExportLogAsync(new SeaExportSaveLog()
|
|
|
|
|
{
|
|
|
|
|