管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-03-21 9d9f97954c5eef9ee909eda39f082e0f19247111
ExportMap/cs/ExportUtil.cs
@@ -31,7 +31,7 @@
            {
                if (string.IsNullOrEmpty(sourcesPath))
                {
                    sourcesPath = Path.Combine(Tool.BaseDir, "Sources");
                    sourcesPath = Path.Combine(Tools.BaseDir, "Sources");
                }
                return sourcesPath;
@@ -142,7 +142,7 @@
            CreateTemplate(args);
            string cmd = string.Format("python \"{0}\" -qgz {1} -qpt {2}", PyFile, qgz, args.qpt);
            err = Tool.ExecCmd(cmd, true);
            err = Tools.ExecCmd(cmd, true);
            string qptFile = Path.Combine(SourcesPath, args.qpt);
            if (File.Exists(qptFile)) File.Delete(qptFile);