|
|
@ -120,7 +120,7 @@ namespace Myshipping.Application
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!string.IsNullOrEmpty(entity.CARRIERID))
|
|
|
|
if (!string.IsNullOrEmpty(entity.CARRIERID))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
entity.CARRIER = _cache.GetAllCodeCarrier().Result.Where(x => x.Code == entity.CARRIERID).Select(x => x.EdiCode).FirstOrDefault();
|
|
|
|
entity.CARRIER = _cache.GetAllCodeCarrier().Result.Where(x => x.Code == entity.CARRIERID).Select(x => x.Code).FirstOrDefault();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (entity.CARGOID != "D")
|
|
|
|
if (entity.CARGOID != "D")
|
|
|
|
{
|
|
|
|
{
|
|
|
|