|
|
@ -83,10 +83,10 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
var result = tenantDb.Queryable<SeaExport>()
|
|
|
|
var result = tenantDb.Queryable<SeaExport>()
|
|
|
|
.InnerJoin<BusinessFeeStatus>((a, b) => a.Id == b.BusinessId)
|
|
|
|
.InnerJoin<BusinessFeeStatus>((a, b) => a.Id == b.BusinessId)
|
|
|
|
//.LeftJoin<SysOrg>((a, b, c) => a.SaleOrgId == c.Id, "shippingweb8_dev.sys_org")
|
|
|
|
//.LeftJoin<SysOrg>((a, b, c) => a.SaleOrgId == c.Id, "shippingweb8_dev.sys_org")
|
|
|
|
.LeftJoin<SysOrg>((a, b, c) => a.SaleDeptId == c.Id, "shippingweb8_dev.sys_org")
|
|
|
|
//.LeftJoin<SysOrg>((a, b, c) => a.SaleDeptId == c.Id, "shippingweb8_dev.sys_org")
|
|
|
|
.Select((a, b, c) => new SeaExportRes()
|
|
|
|
.Select((a, b) => new SeaExportRes()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SaleDeptName = c.OrgName,
|
|
|
|
//SaleDeptName = c.OrgName,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
true)//true表示 其余字段自动映射,根据字段名字
|
|
|
|
true)//true表示 其余字段自动映射,根据字段名字
|
|
|
|
//.Select<SeaExportRes>()
|
|
|
|
//.Select<SeaExportRes>()
|
|
|
|