diff --git a/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs b/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs index 053dfe38..0d69de67 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs @@ -194,7 +194,7 @@ public class ClientCommonService : IClientCommonService .Select().ToListAsync(); var conditions = new List(); - var query = tenantDb.Queryable(); + var query = tenantDb.Queryable().ClearFilter(); (query, _, conditions) = await commonService.GetSpecialVisibleDataRuleFilter(query, tenantDb); var userids = new List(); if (conditions.Count>0) @@ -1271,7 +1271,7 @@ public class ClientCommonService : IClientCommonService var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var conditions = new List(); - var query = tenantDb.Queryable(); + var query = tenantDb.Queryable().ClearFilter(); (query, _, conditions) = await commonService.GetSpecialVisibleDataRuleFilter(query, tenantDb); var userids = new List(); if (conditions.Count > 0)