From 71d82e98a45c5b9a283be6105181053205bc1934 Mon Sep 17 00:00:00 2001 From: cjy Date: Mon, 28 Oct 2024 11:19:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E8=AE=BE=E7=BD=AE=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.WMS.Core/Code/Method/CodeFormSetService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs b/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs index eebec377..b8641bcb 100644 --- a/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs +++ b/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs @@ -72,10 +72,10 @@ public class CodeFormSetService : IFormSetService var tenantDb = saasService.GetBizDbScopeById(user.TenantId); #region 添加系统参数 是否租户共享信息 var query = tenantDb.Queryable(); - var config = db.Queryable().Where(x => x.Status == StatusEnum.Enable && x.Code == "IsTenantShareInfo").First(); + //var config = db.Queryable().Where(x => x.Status == StatusEnum.Enable && x.Code == "IsTenantShareInfo").First(); - if (config.IsNotNull() && config.Value == "TRUE") - query.ClearFilter(); + //if (config.IsNotNull() && config.Value == "TRUE") + // query.ClearFilter(); #endregion if (query .Where(x => x.PermissionId == req.PermissionId && x.FormNo == req.FormNo && x.TaskStatus == req.TaskStatus && x.Id != req.Id).Any()) @@ -246,10 +246,10 @@ public class CodeFormSetService : IFormSetService var tenantDb = saasService.GetBizDbScopeById(user.TenantId); #region 添加系统参数 是否租户共享信息 var query = tenantDb.Queryable(); - var config = db.Queryable().Where(x => x.Status == StatusEnum.Enable && x.Code == "IsTenantShareInfo").First(); + //var config = db.Queryable().Where(x => x.Status == StatusEnum.Enable && x.Code == "IsTenantShareInfo").First(); - if (config.IsNotNull() && config.Value == "TRUE") - query.ClearFilter(); + //if (config.IsNotNull() && config.Value == "TRUE") + // query.ClearFilter(); #endregion var info = await query.Where(x => x.Id == long.Parse(id)).FirstAsync();