|
|
|
@ -86,6 +86,14 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
|
order.IsCustoms = true;
|
|
|
|
|
}
|
|
|
|
|
if (code == "YDC")
|
|
|
|
|
{
|
|
|
|
|
order.IsBooking = true;
|
|
|
|
|
}
|
|
|
|
|
if (code == "YFVGM")
|
|
|
|
|
{
|
|
|
|
|
order.IsVGM = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
@ -97,12 +105,22 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
|
order.IsCustoms = false;
|
|
|
|
|
}
|
|
|
|
|
if (code == "YDC")
|
|
|
|
|
{
|
|
|
|
|
order.IsBooking = false;
|
|
|
|
|
}
|
|
|
|
|
if (code == "YFVGM")
|
|
|
|
|
{
|
|
|
|
|
order.IsVGM = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//order.Note = "更新主单货物状态";
|
|
|
|
|
await tenantDb.Updateable(order)
|
|
|
|
|
.UpdateColumnsIF(code == "YPC", x => new { x.IsLand })
|
|
|
|
|
.UpdateColumnsIF(code == "BG", x => new { x.IsCustoms })
|
|
|
|
|
.UpdateColumnsIF(code == "YDC", x => new { x.IsBooking })
|
|
|
|
|
.UpdateColumnsIF(code == "YFVGM", x => new { x.IsVGM })
|
|
|
|
|
.EnableDiffLogEvent().ExecuteCommandAsync();
|
|
|
|
|
// 记录日志
|
|
|
|
|
await SaveSeaExportLogAsync(new SeaExportSaveLog()
|
|
|
|
|