修改下货纸比对

master
jianghaiqing 4 weeks ago
parent 837aced5b0
commit 423470b480

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

Loading…
Cancel
Save