optimize
wet 1 year ago
parent ac1f4b58ed
commit b57ef299b3

@ -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.Code).FirstOrDefault(); entity.CARRIER = _cache.GetAllCodeCarrier().Result.Where(x => x.Code == entity.CARRIERID).Select(x => x.EdiCode).FirstOrDefault();
} }
if (entity.CARGOID != "D") if (entity.CARGOID != "D")
{ {

Loading…
Cancel
Save