管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-03-17 c0d9ca32551aac1d1328c84cce2e37f2c915b32b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
 
namespace ExportMap.db
{
    public class PublishHelper
    {
        private static string insertPublish = "insert into lf.sys_publish(name, url, path, type, status, dirid, depid, min, max, json, create_user, geom, bak) values (@name, @url, @path, @type, @status, @dirid, @depid, @min, @max, @json, @create_user, @geom, @bak)";
 
        private static string insertMetaPub = "insert into lf.sys_meta_pub (metaid, pubid) select 1, 1 from (select 1) temp where not exists (select 1 from lf.sys_meta_pub where metaid = 1 and pubid = 1)";
 
 
    }
}