|
|
|
@ -1890,12 +1890,13 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
throw Oops.Bah("订阅港前数据提单号或场站不能为空!");
|
|
|
|
|
}
|
|
|
|
|
var YARDID = _cache.GetAllMappingYard().Result.Where(x => x.Module == "BillTrace" && x.Code == item.YardCode).Select(x => x.MapCode).FirstOrDefault();
|
|
|
|
|
billTraceList.Add(new BillTraceList
|
|
|
|
|
{
|
|
|
|
|
BusinessId = item.BusinessId,
|
|
|
|
|
MBLNO = item.MBLNO,
|
|
|
|
|
YARD = item.YARD == "" ? null : item.YARD,
|
|
|
|
|
YardCode = item.YardCode == "" ? null : item.YardCode,
|
|
|
|
|
YardCode = YARDID == "" ? null : YARDID,
|
|
|
|
|
CARRIER = item.CARRIER == "" ? null : item.CARRIER,
|
|
|
|
|
CARRIERID = item.CARRIERID == "" ? null : item.CARRIERID,
|
|
|
|
|
isBook = item.isBook
|
|
|
|
|