Преглед изворни кода

开启测试过期机具激活,清理预扣款

lcl пре 1 година
родитељ
комит
d3163a5741
3 измењених фајлова са 5 додато и 4 уклоњено
  1. BIN
      .DS_Store
  2. 5 4
      Startup.cs
  3. BIN
      wwwroot/other/.DS_Store

+ 5 - 4
Startup.cs

@@ -163,6 +163,7 @@ namespace MySystem
             //必须打开的
             if(Library.ConfigurationManager.EnvironmentFlag == 1)
             {
+                PosWithholdService.Instance.Start(); //过期机具激活,清理预扣款
             }
             if(Library.ConfigurationManager.EnvironmentFlag == 2)
             {
@@ -278,10 +279,10 @@ namespace MySystem
         {
             string conn = Configuration["Setting:SqlConnStr"];
             string dbName = "KxsMainServer";
-            if(Library.ConfigurationManager.EnvironmentFlag == 2)
-            {
-                dbName = "KxsProfitServer";
-            }
+            // if(Library.ConfigurationManager.EnvironmentFlag == 2)
+            // {
+            //     dbName = "KxsProfitServer";
+            // }
             Dictionary<string, Dictionary<string, string>> tables = new Dictionary<string, Dictionary<string, string>>();
             System.Data.DataTable tablecollection = Library.CustomerSqlConn.dtable("select DISTINCT TABLE_NAME from information_schema.columns where table_schema = '" + dbName + "'", conn);
             foreach (System.Data.DataRow subtable in tablecollection.Rows)

BIN
wwwroot/other/.DS_Store