海运出口详情接口暂时清除机构id过滤

usertest
zhangxiaofeng 4 months ago
parent 779abf9d3e
commit 16eaf6a0c2

@ -786,11 +786,12 @@ public partial class SeaExportService : ISeaExportService
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var data = tenantDb.Queryable<SeaExport>()
.ClearFilter(typeof(IOrgId))
.Where(a => a.Id == long.Parse(id))
.Select<SeaExportRes>()
.Mapper(it =>
{
var edi = tenantDb.Queryable<SeaExportEdi>().First(x => x.BusinessId == it.Id);
var edi = tenantDb.Queryable<SeaExportEdi>().ClearFilter(typeof(IOrgId)).First(x => x.BusinessId == it.Id);
if(edi != null)
it.EdiInfo = edi.Adapt<SeaExportEdiRes>();

Loading…
Cancel
Save