管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-03-21 1bb82963c0d0f38c87aeeffee1d70062e8a9049a
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));