diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs index 29487c42..2935cf52 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs @@ -335,7 +335,7 @@ public partial class SeaExportService : ISeaExportService var result = tenantDb.Queryable() .InnerJoin((a, b) => a.Id == b.BusinessId) .LeftJoin((a, b, c) => a.SaleOrgId == c.Id, "shippingweb8_dev.sys_org") - .LeftJoin((a, b, c, d) => a.SaleOrgId == d.Id, "shippingweb8_dev.sys_org") + .LeftJoin((a, b, c, d) => a.SaleDeptId == d.Id, "shippingweb8_dev.sys_org") .Select((a, b, c, d) => new SeaExportRes() { SaleOrgName = c.OrgName,