Преглед на файлове

添加log:加载颗粒信息表时warn加载用户库的路径

cxs преди 1 година
родител
ревизия
755232ab1c
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

+ 2 - 0
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -804,10 +804,12 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
             if (System.IO.File.Exists(fullPath))
             {
                 dbHelper = new SqlHelper("data source='" + fullPath + "'");
+                log.Warn("Loading the user standard library:" + fullPath + "!");
             }
             else if(System.IO.File.Exists(fullPath2))
             {
                 dbHelper = new SqlHelper("data source='" + fullPath2 + "'");
+                log.Warn("Loading the user standard library:" + fullPath2 + "!");
             }
             else
             {