管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-05-11 bcf72996c8c0a43c2111bdee1e917d4eb7964cc6
ExportMap/cs/ConvertUtils.cs
@@ -125,8 +125,7 @@
        {
            if (PubDBHelper.IsPublish(meta.id)) return 0;
            SysPublish sys = NewPublish(meta, args);
            sys.path = path;
            SysPublish sys = Tools.NewPublish(meta, args, GetReleaseUrl(meta), path);
            int pubid = PubDBHelper.InsertPublish(sys);
            if (pubid > 0)
@@ -137,28 +136,6 @@
            }
            return pubid;
        }
        /// <summary>
        /// 创建数据发布类
        /// </summary>
        private static SysPublish NewPublish(SysMeta meta, XYZArgs args)
        {
            SysPublish sp = new SysPublish();
            sp.name = meta.name;
            sp.url = GetReleaseUrl(meta);
            sp.type = meta.type;
            sp.status = 3;
            sp.dirid = meta.dircode;
            sp.depid = args.depcode;
            sp.min = 0;
            sp.max = 0;
            sp.json = null;
            sp.create_user = args.userId;
            sp.geom = null;
            sp.bak = null;
            return sp;
        }
    }
}