船期自动变更

optimize
wet 1 year ago
parent 3ab8d90509
commit 248fcc6583

@ -843,8 +843,9 @@ namespace Myshipping.Application
{ {
var vess = await _vesselInfo.AsQueryable().Filter(null, true).Where(x => x.IsDeleted == false && x.TenantId == UserManager.TENANT_ID && x.CARRIERID == entity.CARRIERID && var vess = await _vesselInfo.AsQueryable().Filter(null, true).Where(x => x.IsDeleted == false && x.TenantId == UserManager.TENANT_ID && x.CARRIERID == entity.CARRIERID &&
x.Vessel == entity.VESSEL && x.Voyno == entity.VOYNO).FirstAsync(); x.Vessel == entity.VESSEL && x.Voyno == entity.VOYNO).FirstAsync();
entity.StartETA = vess.ETA;
entity.ATD = vess.ATD;
entity.YgtETD = vess.YgtETD;
} }
@ -862,14 +863,14 @@ namespace Myshipping.Application
it.IsDeleted, it.IsDeleted,
it.BOOKINGNO, it.BOOKINGNO,
it.BSSTATUSNAME, it.BSSTATUSNAME,
it.YgtETD, //it.YgtETD,
it.LstShipOrderCompareId, it.LstShipOrderCompareId,
it.LstShipOrderCompareDate, it.LstShipOrderCompareDate,
it.LstShipOrderCompareRlt, it.LstShipOrderCompareRlt,
it.LstShipOrderCompareRltName, it.LstShipOrderCompareRltName,
it.ATD, //it.ATD,
it.ETA, it.ETA,
it.StartETA, //it.StartETA,
it.StartATA, it.StartATA,
it.MiddleETA, it.MiddleETA,
it.MiddleETD, it.MiddleETD,

Loading…
Cancel
Save