From 63d4fb2aa29920dac40853ee209d0dfcd0def28c Mon Sep 17 00:00:00 2001 From: cjy Date: Tue, 22 Oct 2024 11:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A7=94=E6=89=98=E5=8D=95=E4=BD=8D=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E5=8F=8A=E5=AE=A2=E6=88=B7=E4=B8=8B=E6=8B=89=E6=A3=80?= =?UTF-8?q?=E7=B4=A2=E6=95=B0=E6=8D=AE=E6=9F=A5=E8=AF=A2=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=9C=BA=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)