From 361e8babc2e2b25eab34d8031ea3b58846498bac Mon Sep 17 00:00:00 2001
From: qwj <qwjzorro@163.com>
Date: 星期三, 02 八月 2023 17:04:01 +0800
Subject: [PATCH] 更新文件服务

---
 DocumentServiceAPI.Application/System/Services/OrganizationService.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/DocumentServiceAPI.Application/System/Services/OrganizationService.cs b/DocumentServiceAPI.Application/System/Services/OrganizationService.cs
index 681ee06..79bb66b 100644
--- a/DocumentServiceAPI.Application/System/Services/OrganizationService.cs
+++ b/DocumentServiceAPI.Application/System/Services/OrganizationService.cs
@@ -8,5 +8,13 @@
     /// </summary>
     public class OrganizationService : BaseRepository<Document_TenderUnit>, ITransient
     {
+       
+       public OrganizationService(ISqlSugarClient sql) {
+            base.Context = sql;
+            base.Context.AsTenant().ChangeDatabase("default");
+           
+        }
+      
+
     }
 }

--
Gitblit v1.9.1