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 0dbef125..6c805692 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs @@ -786,11 +786,12 @@ public partial class SeaExportService : ISeaExportService { var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var data = tenantDb.Queryable() + .ClearFilter(typeof(IOrgId)) .Where(a => a.Id == long.Parse(id)) .Select() .Mapper(it => { - var edi = tenantDb.Queryable().First(x => x.BusinessId == it.Id); + var edi = tenantDb.Queryable().ClearFilter(typeof(IOrgId)).First(x => x.BusinessId == it.Id); if(edi != null) it.EdiInfo = edi.Adapt();