From 0ed390381862dea0c7fd0210d16017eb09f12da4 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期三, 30 七月 2025 17:27:27 +0800
Subject: [PATCH] 封装插入容器表等业务代码, 修复部分底层旧框架方法问题

---
 util/Settings.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/util/Settings.cs b/util/Settings.cs
index 74721a1..b9eb8a7 100644
--- a/util/Settings.cs
+++ b/util/Settings.cs
@@ -8,8 +8,7 @@
 using Newtonsoft.Json.Linq;
 
 namespace HH.WCS.Mobox3.DSZSH.util {
-    public class Settings
-    {
+    public class Settings {
         public static string WebApiUrl { get; set; }
         public static string NdcApiUrl { get; set; }
         public static string ErpApiUrl { get; set; } // ERP 鍙嶉鎺ュ彛URL
@@ -17,7 +16,8 @@
         public static int TcpServerPort { get; set; }
         public static Config.ErpRoute ErpRoute { get; set; }
 
-        public static string SqlServer { get; set; }
+        public static SqlSugar.DbType DbType { get; set; } = SqlSugar.DbType.SqlServer;
+        public static string DbConn { get; set; }
         //public static string TcpServerIp { get; set; }
         //public static int TcpServerPort { get; set; }
         public static List<Config.ProductionLine> ProductionLines { get; set; } = new List<Config.ProductionLine>();
@@ -48,7 +48,7 @@
                 ErpApiUrl = root.ErpApiUrl;
                 ErpRoute = root.ErpRoute;
                 TcpServerPort= root.TcpServerPort;
-                SqlServer = root.SqlServer;
+                DbConn = root.SqlServer;
                 //TcpServerIp = root.TcpServerIp;
                 //TcpServerPort = root.TcpServerPort;
                 ProductionLines = root.ProductionLines;

--
Gitblit v1.9.1