Jelajahi Sumber

feat:导入功能开发第一版

mux 4 bulan lalu
induk
melakukan
8bb9fa2c68

+ 1 - 1
DPTools/components/DWForm/ImportGLdataForm.cs

@@ -140,7 +140,7 @@ namespace Uninpho.Tools.components.DWForm
                 onescvdata.Chezhan = chezhan;
                 onescvdata.Xianlu = xianlu;
                 onescvdata.Qxxh = arrayarr[0].ToString();
-                onescvdata.Id = Guid.NewGuid().ToString(); 
+                // onescvdata.Id = Guid.NewGuid().ToString(); 
                 List<string> loopstring = new List<string>();
 
                 //使用正则去除属性字段中的逗号的影响

+ 1 - 0
Uninpho.DBOperation/Operation/DataAnalysisToPG.cs

@@ -166,6 +166,7 @@ namespace Uninpho.DBOperation.Operation
         /// <param name="listqx"></param>
         public static void Insert_gl_data_CsvData(List<T_gonglv_account> gonglvCsvdata)
         {
+            // db.Insertable(gonglvCsvdata).ExecuteCommand();
             db.Insertable<T_gonglv_account>(gonglvCsvdata).ExecuteCommand();//get change row count
         }
         /// <summary>