From 1bb82963c0d0f38c87aeeffee1d70062e8a9049a Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 21 三月 2023 11:02:01 +0800 Subject: [PATCH] 1 --- ExportMap/cs/SGUtils.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ExportMap/cs/SGUtils.cs b/ExportMap/cs/SGUtils.cs index a405dfd..7090217 100644 --- a/ExportMap/cs/SGUtils.cs +++ b/ExportMap/cs/SGUtils.cs @@ -199,7 +199,7 @@ if (pubid > 0) { sys.id = pubid; - PubDBHelper.InsertLayer(sys, meta); + PubDBHelper.InsertLayer(sys, meta, sys.type == "3dml" ? 100 : 0); PubDBHelper.InsertMetaPub(meta.id, pubid, args.userId); } } @@ -238,6 +238,8 @@ List<string> list = new List<string>(); foreach (SysMeta meta in metas) { + if (meta.path.IndexOf("SG\\") > -1) continue; + string source = Path.Combine(uploadFolder, meta.path); File.Move(source, Path.Combine(sgFolder, meta.id + "_" + meta.name)); -- Gitblit v1.9.3