分单信息edi

optimize
wet 2 years ago
parent ff5b2e9657
commit 670c863b9f

@ -321,7 +321,6 @@ namespace Myshipping.Application
return list; return list;
} }
[HttpPost("/BookingOrder/AddOrUpdate")] [HttpPost("/BookingOrder/AddOrUpdate")]
public async Task<long> AddOrUpdate(BookingOrderDto Dto) public async Task<long> AddOrUpdate(BookingOrderDto Dto)
{ {
@ -671,10 +670,15 @@ namespace Myshipping.Application
var ctndetaillist = await _ctndetailrep.AsQueryable().Where(x => x.CTNID == it.Id).ToListAsync(); var ctndetaillist = await _ctndetailrep.AsQueryable().Where(x => x.CTNID == it.Id).ToListAsync();
it.ctnDetailInputs = ctndetaillist.Adapt<List<BookingCtnDetailDto>>(); it.ctnDetailInputs = ctndetaillist.Adapt<List<BookingCtnDetailDto>>();
} }
item.ctnInputs = ctninput; item.ctnInputs = ctninput;
} //检索EDI扩展
var ediExt = _bookingEDIExt.FirstOrDefault(u => u.BookingId == item.Id);
if (ediExt != null)
{
item.BookingEDIExt = ediExt.Adapt<BookingEDIExtDto>();
}
}
ordOut.HbList = HbList; ordOut.HbList = HbList;
} }

@ -79,7 +79,7 @@ namespace Myshipping.Application
/// <summary> /// <summary>
/// 同步客户 /// 同步客户
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model">参数</param>
/// <returns></returns> /// <returns></returns>
[HttpPost("/DataSync/SyncCustomer"), ApiUser(ApiCode = "SyncCustomer")] [HttpPost("/DataSync/SyncCustomer"), ApiUser(ApiCode = "SyncCustomer")]
public async Task<long> SyncCustomer(DjyCustomerSyncDto model) public async Task<long> SyncCustomer(DjyCustomerSyncDto model)
@ -620,9 +620,6 @@ namespace Myshipping.Application
} }
#endregion #endregion
#region 下载数据 #region 下载数据

Loading…
Cancel
Save