修改下货纸比对

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 (currArg.Contains(mainInfo.YardCode))
if (paramList.Any(p => p.ParaCode == "ShipCompareAccountLUHAI"))
{
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