From b7f287d301c3f004641d89c698bce0ba4cd6ebac Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 02 八月 2023 16:47:51 +0800
Subject: [PATCH] 1

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

diff --git a/ExportMap/db/PubDBHelper.cs b/ExportMap/db/PubDBHelper.cs
index b6a4ce3..abc2075 100644
--- a/ExportMap/db/PubDBHelper.cs
+++ b/ExportMap/db/PubDBHelper.cs
@@ -109,9 +109,10 @@
         /// <summary>
         /// 鏇存柊鍙戝竷鏁版嵁
         /// </summary>
-        public static int UpdatePublish(int pubid, string name, int userId, string geom)
+        public static int UpdatePublish(int pubid, string name, int userId, string geom, string url = null)
         {
             string str = null == geom ? "" : string.Format(", geom={0}", geom);
+            str += null == url ? "" : string.Format(", url='{0}'", url);
             string sql = string.Format("update lf.sys_publish set name=@name, update_user=@userId, update_time=now(){0} where id=@id", str);
 
             DbParameter dp1 = new NpgsqlParameter("@name", name);

--
Gitblit v1.9.3