diff --git a/ds-wms-service/DS.WMS.Core/Op/Dtos/SeaExportReq.cs b/ds-wms-service/DS.WMS.Core/Op/Dtos/SeaExportReq.cs
index b49b8349..3d735ce5 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Dtos/SeaExportReq.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Dtos/SeaExportReq.cs
@@ -1230,6 +1230,11 @@ public class SeaExportReq
/// 航线人员名称
///
public string Laner { get; set; }
+
+ ///
+ /// 所属业务部门名称
+ ///
+ public string SaleDeptName { get; set; }
}
///
diff --git a/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExport.cs b/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExport.cs
index 42f44bff..dcfc0c9b 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExport.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Entity/SeaExport.cs
@@ -1613,4 +1613,11 @@ public class SeaExport : BaseOrgModel
///
[SugarColumn(ColumnDescription = "航线人员名称", IsNullable = true, Length = 100)]
public string Laner { get; set; }
+
+
+ ///
+ /// 所属业务部门名称
+ ///
+ [SqlSugar.SugarColumn(ColumnDescription = "所属业务部门名称", IsNullable = true, Length = 100)]
+ public string SaleDeptName { get; set; }
}
\ No newline at end of file
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 74479ebd..b16df67b 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs
@@ -83,10 +83,10 @@ 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) => a.SaleDeptId == c.Id, "shippingweb8_dev.sys_org")
- .Select((a, b, c) => new SeaExportRes()
+ //.LeftJoin((a, b, c) => a.SaleDeptId == c.Id, "shippingweb8_dev.sys_org")
+ .Select((a, b) => new SeaExportRes()
{
- SaleDeptName = c.OrgName,
+ //SaleDeptName = c.OrgName,
},
true)//true表示 其余字段自动映射,根据字段名字
//.Select()