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/UserAndLogin/Services/UserService.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs b/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs index 6b67007..be334f5 100644 --- a/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs +++ b/DocumentServiceAPI.Application/UserAndLogin/Services/UserService.cs @@ -400,7 +400,7 @@ if(tp == null ) { tp= await _db.Queryable<TenantPermissions>().Where(x=>x.TenantId == TenderID).FirstAsync(); - if (tp == null) + if (tp != null) _cacheService.Add<TenantPermissions>(Key, tp, 300); else return false; -- Gitblit v1.9.1