From bbafc4e99b3cc42692bd9f7d8becf801aa70ddb3 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期日, 19 三月 2023 16:56:17 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/XYZUtils.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ExportMap/cs/XYZUtils.cs b/ExportMap/cs/XYZUtils.cs
index 53d2871..2db0fcf 100644
--- a/ExportMap/cs/XYZUtils.cs
+++ b/ExportMap/cs/XYZUtils.cs
@@ -191,6 +191,11 @@
             int pubid = PubDBHelper.InsertPublish(sys);
             if (pubid > 0)
             {
+                PubDBHelper.InsertLayer(sys, new SysMeta()
+                {
+                    name = args.name,
+                    type = metas[0].type
+                });
                 foreach (SysMeta meta in metas)
                 {
                     PubDBHelper.InsertMetaPub(meta.id, pubid, args.userId);

--
Gitblit v1.9.3