optimize
wet 1 year ago
parent 1c3e66b318
commit ac1f4b58ed

@ -9074,9 +9074,6 @@ HLCUTA12307DPXJ3 以这票为例 6个柜
{
throw Oops.Bah(BookingErrorCode.BOOK119);
}
var order = _rep.FirstOrDefault(x => x.Id == Id);
//条件判断 目前只支持CMA 的数据
if (order.CARRIERID != "CMA")

@ -120,7 +120,7 @@ namespace Myshipping.Application
{
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")
{

Loading…
Cancel
Save