From 641458e41533d10a5c5e12c2c715ab8d7d0f2b45 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 21 八月 2024 16:40:20 +0800 Subject: [PATCH] 更正 --- MESApplication/bin/Debug/net8.0/MESApplication.pdb | 0 MESApplication/bin/Debug/net8.0/MESApplication.deps.json | 5 +---- MESApplication/bin/Debug/net8.0/MESApplication.exe | 0 MESApplication/bin/Debug/net8.0/MES.Service.pdb | 0 MESApplication/bin/Debug/net8.0/MESApplication.dll | 0 MES.Service/bin/Debug/net8.0/MES.Service.dll | 0 MESApplication/bin/Debug/net8.0/appsettings.json | 6 +++--- MESApplication/bin/Debug/net8.0/MES.Service.dll | 0 MES.Service/DB/OracleSQLHelper.cs | 13 ++++--------- MES.Service/bin/Debug/net8.0/MES.Service.pdb | 0 10 files changed, 8 insertions(+), 16 deletions(-) diff --git a/MES.Service/DB/OracleSQLHelper.cs b/MES.Service/DB/OracleSQLHelper.cs index 163e93f..4b5eaa7 100644 --- a/MES.Service/DB/OracleSQLHelper.cs +++ b/MES.Service/DB/OracleSQLHelper.cs @@ -9,18 +9,13 @@ /// </summary> public class OracleSQLHelper { + private readonly string ConnectionString =AppsettingsUtility.Settings.DataBaseConn; + private readonly string _connectionString; - - public readonly string ConnectionString = - AppsettingsUtility.Settings.DataBaseConn; - - //public static string connectionString = "Data Source = 192.168.1.19; Persist Security Info=True;User ID = abtdev; Password=abt_dev"; - public string connectionString = - "Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.107)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = xm_prd; Password=xmprd"; // 杩欓噷鏇挎崲鎴愪綘鐨勫疄闄呰繛鎺ュ瓧绗︿覆 - + public OracleSQLHelper() { - _connectionString = connectionString; + _connectionString = ConnectionString; } public OracleSQLHelper(string connectionString) diff --git a/MES.Service/bin/Debug/net8.0/MES.Service.dll b/MES.Service/bin/Debug/net8.0/MES.Service.dll index d3a974e..017d8ba 100644 --- a/MES.Service/bin/Debug/net8.0/MES.Service.dll +++ b/MES.Service/bin/Debug/net8.0/MES.Service.dll Binary files differ diff --git a/MES.Service/bin/Debug/net8.0/MES.Service.pdb b/MES.Service/bin/Debug/net8.0/MES.Service.pdb index 28366aa..41774a5 100644 --- a/MES.Service/bin/Debug/net8.0/MES.Service.pdb +++ b/MES.Service/bin/Debug/net8.0/MES.Service.pdb Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/MES.Service.dll b/MESApplication/bin/Debug/net8.0/MES.Service.dll index d3a974e..017d8ba 100644 --- a/MESApplication/bin/Debug/net8.0/MES.Service.dll +++ b/MESApplication/bin/Debug/net8.0/MES.Service.dll Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/MES.Service.pdb b/MESApplication/bin/Debug/net8.0/MES.Service.pdb index 28366aa..41774a5 100644 --- a/MESApplication/bin/Debug/net8.0/MES.Service.pdb +++ b/MESApplication/bin/Debug/net8.0/MES.Service.pdb Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.deps.json b/MESApplication/bin/Debug/net8.0/MESApplication.deps.json index 95a84e5..a38b276 100644 --- a/MESApplication/bin/Debug/net8.0/MESApplication.deps.json +++ b/MESApplication/bin/Debug/net8.0/MESApplication.deps.json @@ -1412,10 +1412,7 @@ "SqlSugarCore": "5.1.4.158" }, "runtime": { - "MES.Service.dll": { - "assemblyVersion": "1.0.0", - "fileVersion": "1.0.0.0" - } + "MES.Service.dll": {} } } } diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.dll b/MESApplication/bin/Debug/net8.0/MESApplication.dll index 73af36d..0c51114 100644 --- a/MESApplication/bin/Debug/net8.0/MESApplication.dll +++ b/MESApplication/bin/Debug/net8.0/MESApplication.dll Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.exe b/MESApplication/bin/Debug/net8.0/MESApplication.exe index 934f093..04d4f5f 100644 --- a/MESApplication/bin/Debug/net8.0/MESApplication.exe +++ b/MESApplication/bin/Debug/net8.0/MESApplication.exe Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.pdb b/MESApplication/bin/Debug/net8.0/MESApplication.pdb index aa22bf1..96fc1ae 100644 --- a/MESApplication/bin/Debug/net8.0/MESApplication.pdb +++ b/MESApplication/bin/Debug/net8.0/MESApplication.pdb Binary files differ diff --git a/MESApplication/bin/Debug/net8.0/appsettings.json b/MESApplication/bin/Debug/net8.0/appsettings.json index e6f9f02..41c8e8b 100644 --- a/MESApplication/bin/Debug/net8.0/appsettings.json +++ b/MESApplication/bin/Debug/net8.0/appsettings.json @@ -8,8 +8,8 @@ }, "AllowedHosts": "*", "AppSettings": { - "TestErpUrl": "http://192.168.0.208:8066/WebService1.asmx/MesToErpinfoTest", - "ProductionErpUrl": "http://192.168.0.208:8066/WebService1.asmx/MesToErpinfoTest", - "DataBaseConn": "Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.107)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = xm_prd; Password=xmprd" + "TestErpUrl": "http://192.168.11.120:8098/WebService1.asmx/mesToErpinfo", + "ProductionErpUrl": "http://192.168.11.120:8098/WebService1.asmx/mesToErpinfoFormal", + "DataBaseConn": "Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.11.251)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = sg_prd; Password=sgprd" } } -- Gitblit v1.9.3