From abf3ceabdd98abd0d955b03732e581a43c4e9fb0 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 13 一月 2025 15:01:31 +0800
Subject: [PATCH] 解决冲突

---
 Yw.Application.Unit.Core/09-dbfirst/UnitDbFirst_Controller.cs |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/Yw.Application.Unit.Core/09-dbfirst/UnitDbFirst_Controller.cs b/Yw.Application.Unit.Core/09-dbfirst/UnitDbFirst_Controller.cs
new file mode 100644
index 0000000..30b4ec7
--- /dev/null
+++ b/Yw.Application.Unit.Core/09-dbfirst/UnitDbFirst_Controller.cs
@@ -0,0 +1,28 @@
+锘縩amespace Yw.Application
+{
+    /// <summary>
+    /// DbFirst
+    /// </summary>
+    [Route("Unit/DbFirst")]
+    [ApiDescriptionSettings("Unit", Name = "DbFirst", Order = 10000)]
+    public class UnitDbFirst_Controller : IDynamicApiController
+    {
+        /// <summary>
+        /// 鍒濆鍖�
+        /// </summary>
+        [Route("Initial@V1.0")]
+        [HttpGet]
+        public bool Initial()
+        {
+            var bol = Yw.Service.Unit.DbFirstHelper.Initial(out string Msg);
+            if (!bol)
+            {
+                throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.L001, Msg);
+            }
+            return bol;
+        }
+
+
+
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3