修改下货纸比对

master
jianghaiqing 4 weeks ago
parent 837aced5b0
commit 423470b480

@ -165,15 +165,19 @@ namespace Myshipping.Application
} }
} }
if (paramList.Any(p => p.ParaCode == "ShipCompareAccountLUHAI")) //如果不是云港通,就试试陆海通
if (!isYGT)
{ {
var currArg = paramList.FirstOrDefault(p => p.ParaCode == "ShipCompareAccountLUHAI").ParaValue.Split(new char[] { ',' }).ToArray(); if (paramList.Any(p => p.ParaCode == "ShipCompareAccountLUHAI"))
if (currArg.Contains(mainInfo.YardCode))
{ {
isYGT = true; var currArg = paramList.FirstOrDefault(p => p.ParaCode == "ShipCompareAccountLUHAI").ParaValue.Split(new char[] { ',' }).ToArray();
webAccountConfig = _webAccountConfig.GetAccountConfig("LuHaiTong", UserManager.UserId).GetAwaiter().GetResult(); if (currArg.Contains(mainInfo.YardCode))
{
isLuHai = true;
webAccountConfig = _webAccountConfig.GetAccountConfig("LuHaiTong", UserManager.UserId).GetAwaiter().GetResult();
}
} }
} }

Loading…
Cancel
Save