From f7a3037541028c8579345f38937b0bd847ee4759 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 13 六月 2023 11:06:29 +0800
Subject: [PATCH] 修改CPT模型发布的目录

---
 ExportMap/db/PubDBHelper.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ExportMap/db/PubDBHelper.cs b/ExportMap/db/PubDBHelper.cs
index e26f1d2..0ba4f9e 100644
--- a/ExportMap/db/PubDBHelper.cs
+++ b/ExportMap/db/PubDBHelper.cs
@@ -194,6 +194,8 @@
 
             if (meta.dirname.IndexOf("\\娴嬬粯") > -1)
             {
+                if ("cpt".Equals(meta.type))
+                    return "select id from lf.sys_layer where cn_name = '鐐逛簯鏁版嵁' and pid = (select id from lf.sys_layer where cn_name = '娴嬬粯' order by pid limit 1)";
                 if ("mpt".Equals(meta.type))
                     return "select id from lf.sys_layer where cn_name = '涓夌淮鍦板舰妯″瀷' and pid = (select id from lf.sys_layer where cn_name = '娴嬬粯' order by pid limit 1)";
                 if ("DEM".Equals(meta.type))

--
Gitblit v1.9.3