From dbb562890133eeb111f729241e0660239d3ebe18 Mon Sep 17 00:00:00 2001
From: qwj <qwjzorro@163.com>
Date: 星期四, 27 七月 2023 10:02:14 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService

---
 DocumentServiceAPI.Core/BaseRepository.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/DocumentServiceAPI.Core/BaseRepository.cs b/DocumentServiceAPI.Core/BaseRepository.cs
new file mode 100644
index 0000000..8f64ca9
--- /dev/null
+++ b/DocumentServiceAPI.Core/BaseRepository.cs
@@ -0,0 +1,13 @@
+锘縰sing Furion;
+using SqlSugar;
+
+namespace DocumentServiceAPI.Core
+{
+    public class BaseRepository<T> : SimpleClient<T> where T : class, new()
+    {
+        public BaseRepository(ISqlSugarClient context = null) : base(context)
+        {
+            base.Context = App.GetService<ISqlSugarClient>();//鐢ㄦ墜鍔ㄨ幏鍙栨柟寮忔敮鎸佸垏鎹粨鍌�
+        }
+    }
+}

--
Gitblit v1.9.1