|
|
@ -657,7 +657,16 @@ namespace Myshipping.Application
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return letterYard.Adapt<UpdateBookingLetteryardOutput>();
|
|
|
|
var output = letterYard.Adapt<UpdateBookingLetteryardOutput>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//链接信息
|
|
|
|
|
|
|
|
var urlModel = _repOrderUrl.FirstOrDefault(x => x.BookingId == bookingId);
|
|
|
|
|
|
|
|
if (urlModel != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
output.OrderUrl = urlModel.Adapt<BookingOrderUrlLetterYardOutput>();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return output;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -680,7 +689,16 @@ namespace Myshipping.Application
|
|
|
|
await _repLetterYard.UpdateAsync(entity);
|
|
|
|
await _repLetterYard.UpdateAsync(entity);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//todo:生成提箱小票、vgm、vgm&si链接
|
|
|
|
var order = _rep.FirstOrDefault(x => x.Id == input.BookingId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//生成提箱小票
|
|
|
|
|
|
|
|
var allowCarrier = _cache.GetAllDictData().Result.Where(x => x.TypeCode == "txxp_carrier_list").Select(x => x.Code).ToList();
|
|
|
|
|
|
|
|
if (allowCarrier.Contains(order.CARRIERID))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var txxpLink = await TxxpLink(input.BookingId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//todo:vgm、vgm&si链接
|
|
|
|
//...
|
|
|
|
//...
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|