管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-08-02 9269e5fbb8145742c38d0ce8f67a9dc5853142cb
ExportMap/db/PubDBHelper.cs
@@ -112,7 +112,7 @@
        public static int UpdatePublish(int pubid, string name, int userId, string geom)
        {
            string str = null == geom ? "" : string.Format(", geom={0}", geom);
            string sql = string.Format("update lf.sys_publish set name=@name, create_time=now(), update_user=@userId, update_time=now(){0} where id=@id", str);
            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);
            DbParameter dp2 = new NpgsqlParameter("@userId", userId);