海运出口保存国外代理修改

dev
cjy 4 weeks ago
parent 6bb2ce5230
commit 1375ebc764

@ -966,7 +966,7 @@ public partial class SeaExportService : ISeaExportService
} }
if (seaExport.AgentId != 0) if (seaExport.AgentId != 0)
{ {
var delAgents = contactLists.Where(x => x.BusinessType == BusinessType.OceanShippingExport && x.CustomerType == "agent" && x.CustomerId != seaExport.CustomserId).ToList(); var delAgents = contactLists.Where(x => x.BusinessType == BusinessType.OceanShippingExport && x.CustomerType == "agent" && x.CustomerId != seaExport.AgentId).ToList();
if (delAgents.Count > 0) if (delAgents.Count > 0)
{ {
delList.AddRange(delAgents); delList.AddRange(delAgents);

Loading…
Cancel
Save