获取船代列表信息接口优化

master
zhangxiaofeng 5 months ago
parent 3881ca1098
commit 90c4606708

@ -363,12 +363,7 @@ public class CommonDBService : ICommonDBService, IDynamicApiController, ITransie
.Where(x => x.PortLoadCode == input.PortLoadCode)
.Select(x => x.ForwarderCode)
.ToListAsync();
// 如果确实存在映射关系,再进行过滤;否则
if (forwarderCodeList.Count > 0)
{
queryList = queryList.Where(x => forwarderCodeList.Contains(x.Code)).ToList();
}
queryList = queryList.Where(x => forwarderCodeList.Contains(x.Code)).ToList();
}
if (queryList.Count() > 20)

Loading…
Cancel
Save