From b80a3aa37ac5bed12dd6c49e9e731d5f375f80d9 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 26 十二月 2024 09:55:01 +0800 Subject: [PATCH] 增加sw文档关闭配置 --- DocumentServiceAPI.Application/ProjectInfo/Services/SheZhiService.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/ProjectInfo/Services/SheZhiService.cs b/DocumentServiceAPI.Application/ProjectInfo/Services/SheZhiService.cs index fd25822..97564cf 100644 --- a/DocumentServiceAPI.Application/ProjectInfo/Services/SheZhiService.cs +++ b/DocumentServiceAPI.Application/ProjectInfo/Services/SheZhiService.cs @@ -891,7 +891,7 @@ result.Items = _db.Queryable<Document_LayInfo>() - .Where(a => a.TenantID == aaa.TEID) + .Where(a => (a.TenantID == aaa.TEID || a.IsSys == 1)) //鏂囦欢鍚嶇О .WhereIF(!string.IsNullOrEmpty(page.LayName), a => a.LayName == page.LayName) .WhereIF(!string.IsNullOrEmpty(page.LayType) && page.LayType != "璇烽�夋嫨", a => a.LayType == page.LayType) -- Gitblit v1.9.1