From f37d44a3cd90337504a5ea36e0d25d6e435499a2 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 08 二月 2023 11:07:46 +0800
Subject: [PATCH] 1

---
 DataLoader/CS/Importor.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/DataLoader/CS/Importor.cs b/DataLoader/CS/Importor.cs
index c493907..401565e 100644
--- a/DataLoader/CS/Importor.cs
+++ b/DataLoader/CS/Importor.cs
@@ -113,15 +113,15 @@
                     int start = GetSubPath(target, 1);
                     SysMeta mf = GetMetaFile(vd, start, guid);
 
+                    vd.Status = "澶嶅埗鏂囦欢...";
+                    CopyFile(vd.FilePath, Path.Combine(target, mf.path));
+
                     int metaId = InsertMeta(mf);
                     if (metaId == 0)
                     {
                         vd.Status = "鍏冩暟鎹嚭閿欙紒";
                         return;
                     }
-
-                    vd.Status = "澶嶅埗鏂囦欢...";
-                    CopyFile(vd.FilePath, Path.Combine(target, mf.path));
 
                     vd.Status = "瀹屾垚銆�";
                 }

--
Gitblit v1.9.3