|
|
|
@ -843,12 +843,13 @@ 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 &&
|
|
|
|
|
x.Vessel == entity.VESSEL && x.Voyno == entity.VOYNO).FirstAsync();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entity.StartETA = vess.ETA;
|
|
|
|
|
entity.ATD = vess.ATD;
|
|
|
|
|
entity.YgtETD = vess.YgtETD;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await _rep.AsUpdateable(entity).IgnoreColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.ParentId,
|
|
|
|
@ -862,14 +863,14 @@ namespace Myshipping.Application
|
|
|
|
|
it.IsDeleted,
|
|
|
|
|
it.BOOKINGNO,
|
|
|
|
|
it.BSSTATUSNAME,
|
|
|
|
|
it.YgtETD,
|
|
|
|
|
//it.YgtETD,
|
|
|
|
|
it.LstShipOrderCompareId,
|
|
|
|
|
it.LstShipOrderCompareDate,
|
|
|
|
|
it.LstShipOrderCompareRlt,
|
|
|
|
|
it.LstShipOrderCompareRltName,
|
|
|
|
|
it.ATD,
|
|
|
|
|
//it.ATD,
|
|
|
|
|
it.ETA,
|
|
|
|
|
it.StartETA,
|
|
|
|
|
//it.StartETA,
|
|
|
|
|
it.StartATA,
|
|
|
|
|
it.MiddleETA,
|
|
|
|
|
it.MiddleETD,
|
|
|
|
@ -7564,7 +7565,7 @@ namespace Myshipping.Application
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bookId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public async Task AutoYardData(long bookId)
|
|
|
|
|
public async Task AutoYardData(long bookId)
|
|
|
|
|
{
|
|
|
|
|
var order = _rep.AsQueryable().Filter(null, true).First(x => x.Id == bookId);
|
|
|
|
|
|
|
|
|
|