管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-06-28 5178a8e85f1a544cbd255f01fae1905e40112228
ExportMap/cs/TerraUtils.cs
@@ -122,10 +122,7 @@
            }
            finally
            {
                if (!string.IsNullOrEmpty(tifFile) && File.Exists(tifFile))
                {
                    File.Delete(tifFile);
                }
                //if (!string.IsNullOrEmpty(tifFile) && File.Exists(tifFile)) File.Delete(tifFile);
            }
        }
@@ -159,10 +156,7 @@
            }
            finally
            {
                if (!string.IsNullOrEmpty(txtFile) && File.Exists(txtFile))
                {
                    File.Delete(txtFile);
                }
                if (!string.IsNullOrEmpty(txtFile) && File.Exists(txtFile)) File.Delete(txtFile);
            }
        }
@@ -251,7 +245,7 @@
        /// </summary>
        private static int InsertToDB(List<SysMeta> metas, XYZArgs args)
        {
            if (PubDBHelper.IsPublish(args.dircode, "DEM")) return 0;
            if (PubDBHelper.IsPublish(args.dircode, "DEM")) return 1;
            SysMeta meta = metas[0];
            meta.type = "DEM";