管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-03-21 1bb82963c0d0f38c87aeeffee1d70062e8a9049a
1
已修改2个文件
6 ■■■■■ 文件已修改
ExportMap/cs/SGUtils.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/db/PubDBHelper.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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));
ExportMap/db/PubDBHelper.cs
@@ -80,7 +80,7 @@
        {
            bool isImg = imgList.Contains(meta.type);
            string cnName = meta.name.Split(new char[] { '.' })[0];
            string name = isImg ? "自动发布影像" : "自动发布模型";
            string name = isImg ? "影像" : "自动发布模型";
            string serve = isImg ? (meta.type.Equals("mpt") ? "Mpt" : "TMS") : "Tileset";
            List<DbParameter> list = new List<DbParameter>();