/*
 Navicat Premium Data Transfer

 Source Server         : 大数据平台(前置库最新)2.21.138.129
 Source Server Type    : PostgreSQL
 Source Server Version : 100023
 Source Host           : 2.21.138.129:5432
 Source Catalog        : ztfbk_db
 Source Schema         : ztfbk_sjg

 Target Server Type    : PostgreSQL
 Target Server Version : 100023
 File Encoding         : 65001

 Date: 09/12/2023 15:13:32
*/


-- ----------------------------
-- Table structure for zy_js_zdwxy
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_zdwxy";
CREATE TABLE "ztfbk_sjg"."zy_js_zdwxy" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "wxymc" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "wxjb" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "zdwxyfl" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "qymc" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default",
  "extract_time" timestamp(6),
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."wxymc" IS '危险源名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."wxjb" IS '危险级别';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."zdwxyfl" IS '重大危险源分类';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."qymc" IS '企业名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_zdwxy"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_zdwxy" IS '重大危险源数据';

-- ----------------------------
-- Table structure for zy_js_ylwsjg
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_ylwsjg";
CREATE TABLE "ztfbk_sjg"."zy_js_ylwsjg" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "jgmc" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "szdz" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "jgjb" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "kycw" int4 NOT NULL,
  "fzr" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "lxdh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6) NOT NULL,
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."jgmc" IS '机构名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."szdz" IS '所在地址';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."jgjb" IS '机构级别';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."kycw" IS '可用床位';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."fzr" IS '负责人';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ylwsjg"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_ylwsjg" IS '医疗卫生机构';

-- ----------------------------
-- Table structure for zy_js_yjzj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_yjzj";
CREATE TABLE "ztfbk_sjg"."zy_js_yjzj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "zjxm" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "js" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "czd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lxdh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "gzdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sczy" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zjcc" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6),
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."zjxm" IS '专家姓名';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."js" IS '角色';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."czd" IS '常驻地';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."gzdw" IS '工作单位';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."sczy" IS '擅长专业';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."zjcc" IS '专家职称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjzj"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_yjzj" IS '应急专家';

-- ----------------------------
-- Table structure for zy_js_yjya
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_yjya";
CREATE TABLE "ztfbk_sjg"."zy_js_yjya" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "yjyabm" varchar(70) COLLATE "pg_catalog"."default" NOT NULL,
  "pdfwj" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sjhjly" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."yjyabm" IS '应急预案编码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."pdfwj" IS 'pdf文件';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."sjhjly" IS '数据汇聚来源';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjya"."sjtbzt" IS '数据同步状态';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_yjya" IS '应急预案';

-- ----------------------------
-- Table structure for zy_js_yjwz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_yjwz";
CREATE TABLE "ztfbk_sjg"."zy_js_yjwz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ssckbm" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "wzmc" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "wzlx" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "kcsl" int4 NOT NULL,
  "jldw" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6),
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."ssckbm" IS '所属仓库';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."wzmc" IS '物资名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."wzlx" IS '物资类型';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."kcsl" IS '库存数量';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."jldw" IS '计量单位';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_yjwz"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_yjwz" IS '应急物资';

-- ----------------------------
-- Table structure for zy_js_jydw
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_jydw";
CREATE TABLE "ztfbk_sjg"."zy_js_jydw" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "zyfzr" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "lxrdh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "zbdh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dyrs" int4 NOT NULL,
  "schy" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "xxdz" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6),
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."dwmc" IS '队伍名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."zyfzr" IS '主要负责人';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."lxrdh" IS '联系人电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."zbdh" IS '值班电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."dyrs" IS '队员人数';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."schy" IS '擅长行业';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."xxdz" IS '详细地址';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_jydw"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_jydw" IS '救援队伍';

-- ----------------------------
-- Table structure for zy_js_ck
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_ck";
CREATE TABLE "ztfbk_sjg"."zy_js_ck" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ckmc" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "ckdz" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "lxr" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "lxdh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "wzzl" int4 NOT NULL,
  "wzzs" int4 NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6),
  "partition_time" int4
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."ckmc" IS '仓库名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."ckdz" IS '仓库地址';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."lxr" IS '联系人';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."wzzl" IS '物资种类';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."wzzs" IS '物资总数';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_ck"."partition_time" IS '日分区字段';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_ck" IS '仓库信息';

-- ----------------------------
-- Table structure for zy_js_bncs
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zy_js_bncs";
CREATE TABLE "ztfbk_sjg"."zy_js_bncs" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "csmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "szdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cslb" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "kymj" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "rnrs" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fzr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lxdh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbsj" timestamp(6) NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sscsdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "extract_time" timestamp(6) NOT NULL,
  "partition_time" int4,
  "kjxx" "public"."geometry" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."csmc" IS '场所名称';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."szdz" IS '所在地址';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."cslb" IS '场所类别';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."kymj" IS '可用面积(万m²)';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."rnrs" IS '容纳人数(万人)';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."fzr" IS '负责人';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."sjtbsj" IS '数据同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."sscsdm" IS '所属城市代码';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."extract_time" IS '抽取时间';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."partition_time" IS '日分区字段';
COMMENT ON COLUMN "ztfbk_sjg"."zy_js_bncs"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."zy_js_bncs" IS '避难场所';

-- ----------------------------
-- Table structure for zh_jg_yxjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_yxjl";
CREATE TABLE "ztfbk_sjg"."zh_jg_yxjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ghxkzh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yxfw" varchar(255) COLLATE "pg_catalog"."default",
  "yxsj" timestamp(6) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."ghxkzh" IS '规划许可证号';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."xmdd" IS '项目地点';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."yxfw" IS '验线范围';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."yxsj" IS '验线时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_yxjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_yxjl" IS '验线记录属性结构表';

-- ----------------------------
-- Table structure for zh_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."zh_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(10,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_jhxm" IS '计划项目属性结构表';

-- ----------------------------
-- Table structure for zh_jg_jhfxyh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_jhfxyh";
CREATE TABLE "ztfbk_sjg"."zh_jg_jhfxyh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbsj" timestamp(6) NOT NULL,
  "yhlx" int4 NOT NULL,
  "yhmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "yhddz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yhms" varchar(255) COLLATE "pg_catalog"."default",
  "yhxcwj" bytea,
  "sbr" varchar(32) COLLATE "pg_catalog"."default",
  "sbrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhczdw" varchar(100) COLLATE "pg_catalog"."default",
  "czfzr" varchar(32) COLLATE "pg_catalog"."default",
  "czfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhslsj" timestamp(6),
  "yhczjs" varchar COLLATE "pg_catalog"."default",
  "yhczbg" varchar(255) COLLATE "pg_catalog"."default",
  "czwcsj" timestamp(6) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."sbsj" IS '上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhlx" IS '隐患类型';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhmc" IS '隐患名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhddz" IS '隐患点地址';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhms" IS '隐患描述';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhxcwj" IS '隐患现场文件';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."sbr" IS '上报人';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."sbrlxdh" IS '上报人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhczdw" IS '隐患处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."czfzr" IS '处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."czfzrlxdh" IS '处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhslsj" IS '隐患受理时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhczjs" IS '隐患处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yhczbg" IS '隐患处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."czwcsj" IS '处置完成时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jhfxyh"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_jhfxyh" IS '交互风险隐患属性结构表';

-- ----------------------------
-- Table structure for zh_jg_jgcghjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_jgcghjjl";
CREATE TABLE "ztfbk_sjg"."zh_jg_jgcghjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ghxkzh" varchar(50) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jgsj" timestamp(6) NOT NULL,
  "hjfw" varchar(255) COLLATE "pg_catalog"."default",
  "hjgxlx" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "hjgls" numeric(10,2) NOT NULL,
  "hjsj" timestamp(6),
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."ghxkzh" IS '规划许可证号';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."xmdd" IS '项目地点';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."jgsj" IS '竣工时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."hjfw" IS '汇交范围';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."hjgxlx" IS '汇交管线类型';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."hjgls" IS '汇交公里数';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."hjsj" IS '汇交时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_jgcghjjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_jgcghjjl" IS '竣工成果汇交记录属性结构表';

-- ----------------------------
-- Table structure for zh_jg_gxgtjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_gxgtjl";
CREATE TABLE "ztfbk_sjg"."zh_jg_gxgtjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ghxkzh" varchar(50) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gtfw" varchar COLLATE "pg_catalog"."default" NOT NULL,
  "sqgxlx" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  "gtgls" numeric(10,2) NOT NULL,
  "gtmj" numeric(12,2) NOT NULL,
  "gtsj" timestamp(6) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."ghxkzh" IS '规划许可证号';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."xmdd" IS '项目地点';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."gtfw" IS '供图范围';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."sqgxlx" IS '申请管线类型';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."gtgls" IS '供图公里数';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."gtmj" IS '供图面积';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."gtsj" IS '供图时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_gxgtjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_gxgtjl" IS '管线供图记录属性结构表';

-- ----------------------------
-- Table structure for zh_jg_ghphgl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_ghphgl";
CREATE TABLE "ztfbk_sjg"."zh_jg_ghphgl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "ghxkxx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sffx" bool NOT NULL,
  "fxdw" varchar(100) COLLATE "pg_catalog"."default",
  "sfgzcl" bool NOT NULL,
  "gzcldw" varchar(100) COLLATE "pg_catalog"."default",
  "sfyx" bool NOT NULL,
  "yxdw" varchar(100) COLLATE "pg_catalog"."default",
  "sfjgcl" bool NOT NULL,
  "jgcldw" varchar(100) COLLATE "pg_catalog"."default",
  "sfghhs" bool NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."ghxkxx" IS '规划许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sffx" IS '是否放线';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."fxdw" IS '放线单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sfgzcl" IS '是否跟踪测量';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."gzcldw" IS '跟踪测量单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sfyx" IS '是否验线';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."yxdw" IS '验线单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sfjgcl" IS '是否竣工测量';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."jgcldw" IS '竣工测量单位';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sfghhs" IS '是否规划核实';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_ghphgl"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_ghphgl" IS '规划批后管理属性结构表';

-- ----------------------------
-- Table structure for zh_jg_fxjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."zh_jg_fxjl";
CREATE TABLE "ztfbk_sjg"."zh_jg_fxjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ghxkzh" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fxfw" varchar(255) COLLATE "pg_catalog"."default",
  "fxsj" timestamp(6) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."ghxkzh" IS '规划许可证号';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."xmdd" IS '项目地点';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."fxfw" IS '放线范围';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."fxsj" IS '放线时间';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."zh_jg_fxjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."zh_jg_fxjl" IS '放线记录属性结构表';

-- ----------------------------
-- Table structure for spatial_ref_sys
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."spatial_ref_sys";
CREATE TABLE "ztfbk_sjg"."spatial_ref_sys" (
  "srid" int4 NOT NULL,
  "auth_name" varchar(256) COLLATE "pg_catalog"."default",
  "auth_srid" int4,
  "srtext" varchar(2048) COLLATE "pg_catalog"."default",
  "proj4text" varchar(2048) COLLATE "pg_catalog"."default"
)
;

-- ----------------------------
-- Table structure for sg_js_jcd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_js_jcd";
CREATE TABLE "ztfbk_sjg"."sg_js_jcd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "ssmc" varchar(64) COLLATE "pg_catalog"."default",
  "ssbm" varchar(17) COLLATE "pg_catalog"."default" NOT NULL,
  "jcwz" varchar(200) COLLATE "pg_catalog"."default",
  "gc" numeric(10,3),
  "gcjz" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."dwmc" IS '点位名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."ssmc" IS '设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."jcwz" IS '监测位置';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."gc" IS '高程';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."gcjz" IS '高程基准';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_js_jcd"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."sg_js_jcd" IS '监测点属性结构表';

-- ----------------------------
-- Table structure for sg_jg_sfjdpzjhjlmx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx";
CREATE TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "pzjhbh" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xcjhrq" timestamp(6) NOT NULL,
  "jhkssj" timestamp(6) NOT NULL,
  "jhjssj" timestamp(6) NOT NULL,
  "jhry" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jhyrlxfs" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sfwg" bool NOT NULL,
  "wglx" varchar(32) COLLATE "pg_catalog"."default",
  "sftgzg" bool,
  "zggzs" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."pzjhbh" IS '旁站监护编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."xcjhrq" IS '现场监护日期';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."jhkssj" IS '监护开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."jhjssj" IS '监护结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."jhry" IS '监护人员';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."jhyrlxfs" IS '监护人员联系方式';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."sfwg" IS '是否发现违规行为';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."wglx" IS '违规行为类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."sftgzg" IS '是否停工整改';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."zggzs" IS '整改告知书';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx" IS '四方交底旁站监护记录明细属性结构表';

-- ----------------------------
-- Table structure for sg_jg_sfjdpzjhjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_sfjdpzjhjl";
CREATE TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "pzjhbh" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sqglbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "gxqsdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "sfjdid" varchar(32) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."pzjhbh" IS '旁站监护编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."sqglbsm" IS '事前管理标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."gxqsdw" IS '管线权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdpzjhjl"."sfjdid" IS '四方交底编号';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjl" IS '四方交底旁站监护记录属性结构表';

-- ----------------------------
-- Table structure for sg_jg_sfjdfb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_sfjdfb";
CREATE TABLE "ztfbk_sjg"."sg_jg_sfjdfb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sqglbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "gxjdcl" bytea NOT NULL,
  "xcjdtpsp" bytea NOT NULL,
  "jdqrd" bytea NOT NULL,
  "qsdwqrr" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "qsdwqrsj" timestamp(6) NOT NULL,
  "jsdwqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwqrsj" timestamp(6) NOT NULL,
  "sgdwqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwqrsj" timestamp(6) NOT NULL,
  "jldwqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jldwqrsj" timestamp(6) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."sqglbsm" IS '事前管理标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."gxjdcl" IS '管线交底材料';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."xcjdtpsp" IS '现场交底照片\视频';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."jdqrd" IS '现场签署的交底确认单';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."qsdwqrr" IS '权属单位确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."qsdwqrsj" IS '权属单位确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."jsdwqrr" IS '建设单位确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."jsdwqrsj" IS '建设单位确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."sgdwqrr" IS '施工单位确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."sgdwqrsj" IS '施工单位确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."jldwqrr" IS '监理单位确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."jldwqrsj" IS '监理单位确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdfb"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_sfjdfb" IS '四方交底记录附表属性结构表';

-- ----------------------------
-- Table structure for sg_jg_sfjdecfh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_sfjdecfh";
CREATE TABLE "ztfbk_sjg"."sg_jg_sfjdecfh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sqglbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ecfhsj" timestamp(6) NOT NULL,
  "fhry" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "fhzl" bytea NOT NULL,
  "jsdwfhqrr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwfhqrsj" timestamp(6) NOT NULL,
  "sgdwfhqrr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfhqrsj" timestamp(6) NOT NULL,
  "jldwfhqrr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jldwfhqrsj" timestamp(6) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "fhdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fhrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "fhsm" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."sqglbsm" IS '事前管理标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."ecfhsj" IS '二次复核时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."fhry" IS '复核人员';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."fhzl" IS '复核资料';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."jsdwfhqrr" IS '建设单位复核确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."jsdwfhqrsj" IS '建设单位复核确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."sgdwfhqrr" IS '施工单位复核确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."sgdwfhqrsj" IS '施工单位复核确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."jldwfhqrr" IS '监理单位复核确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."jldwfhqrsj" IS '监理单位复核确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."fhdw" IS '复核单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."fhrlxdh" IS '复核人员联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdecfh"."fhsm" IS '复核说明';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_sfjdecfh" IS '现场交底管线二次复核记录属性结构表';

-- ----------------------------
-- Table structure for sg_jg_sfjdbhfa
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_sfjdbhfa";
CREATE TABLE "ztfbk_sjg"."sg_jg_sfjdbhfa" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sqglbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "gxbhfags" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gxbhfawj" bytea NOT NULL,
  "jsdwbhfaqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwbhfaqrsj" timestamp(6) NOT NULL,
  "sgdwbhfaqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwbhfaqrsj" timestamp(6) NOT NULL,
  "jldwbhfaqrr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jldwbhfaqrsj" timestamp(6) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."sqglbsm" IS '事前管理标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."gxbhfags" IS '管线保护方案概述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."gxbhfawj" IS '管线保护方案文件';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."jsdwbhfaqrr" IS '建设单位保护方案确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."jsdwbhfaqrsj" IS '建设单位保护方案确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."sgdwbhfaqrr" IS '施工单位保护方案确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."sgdwbhfaqrsj" IS '施工单位保护方案确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."jldwbhfaqrr" IS '监理单位保护方案确认人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."jldwbhfaqrsj" IS '监理单位保护方案确认时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_sfjdbhfa"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_sfjdbhfa" IS '现场交底保护方案属性结构表';

-- ----------------------------
-- Table structure for sg_jg_qsdwqr
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_qsdwqr";
CREATE TABLE "ztfbk_sjg"."sg_jg_qsdwqr" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sqglbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sfygx" bool NOT NULL,
  "gxqsdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gxqsdwclr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gxdwclrlxdh" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "gxqsdwclrclyj" varchar(255) COLLATE "pg_catalog"."default",
  "gxtzwj" bytea,
  "gxfxsm" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."sqglbsm" IS '事前管理标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."sfygx" IS '是否有管线';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxqsdw" IS '管线权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxqsdwclr" IS '管线权属单位处理人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxdwclrlxdh" IS '管线权属单位处理人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxqsdwclrclyj" IS '管线权属单位处理人处理意见';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxtzwj" IS '管线图纸文件';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."gxfxsm" IS '管线风险说明';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_qsdwqr"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_qsdwqr" IS '表16 权属单位确认信息属性结构表';

-- ----------------------------
-- Table structure for sg_jg_jxbaxx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_jxbaxx";
CREATE TABLE "ztfbk_sjg"."sg_jg_jxbaxx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "jcssid" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "babh" varchar(32) COLLATE "pg_catalog"."default",
  "bar" varchar(32) COLLATE "pg_catalog"."default",
  "basj" varchar(100) COLLATE "pg_catalog"."default",
  "bazt" varchar(16) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."jcssid" IS '监测设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."babh" IS '备案编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."bar" IS '备案人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."basj" IS '备案时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."bazt" IS '备案状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jxbaxx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_jxbaxx" IS '表15 第三方施工机械备案信息属性结构表';

-- ----------------------------
-- Table structure for sg_jg_jcss
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_jcss";
CREATE TABLE "ztfbk_sjg"."sg_jg_jcss" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jcssid" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbh" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jcsslx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jcssqsqy" varchar(100) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."jcssid" IS '监测设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."xmbh" IS '项目编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."jcsslx" IS '监测设施类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."jcssqsqy" IS '监测设施权属企业';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_jcss"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_jcss" IS '施工监测设施管理属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dxdaalk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dxdaalk";
CREATE TABLE "ztfbk_sjg"."sg_jg_dxdaalk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sjmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sjms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sjlx" int4 NOT NULL,
  "sjjb" varchar COLLATE "pg_catalog"."default",
  "schy" int4 NOT NULL,
  "sjnf" date NOT NULL,
  "hyjy" varchar COLLATE "pg_catalog"."default" NOT NULL,
  "hyfx" varchar COLLATE "pg_catalog"."default" NOT NULL,
  "cjjg" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
  "fj" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjbsm" IS '事件标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjms" IS '事件描述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjlx" IS '事件类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjjb" IS '事件级别';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."schy" IS '所处行业';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjnf" IS '事件年份';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."hyjy" IS '行业建议';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."hyfx" IS '行业分析';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."cjjg" IS '惩戒结果';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dxdaalk"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dxdaalk" IS '表17 第三方施工典型档案案例库属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dsfsgxmxx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dsfsgxmxx";
CREATE TABLE "ztfbk_sjg"."sg_jg_dsfsgxmxx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "dkm" varchar(255) COLLATE "pg_catalog"."default",
  "xmlx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "szjd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sgxmdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jhkssj" date NOT NULL,
  "jhjssj" date NOT NULL,
  "sjkssj" date,
  "sjjssj" date,
  "sgsd" numeric(8,2) NOT NULL,
  "jsdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwfzr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfzr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jldw" varchar(255) COLLATE "pg_catalog"."default",
  "jldwfzr" varchar(32) COLLATE "pg_catalog"."default",
  "jldwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "xmdm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sgzt" varchar(16) COLLATE "pg_catalog"."default",
  "sgxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "dlwjspzt" varchar(16) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry" NOT NULL,
  "hxfw" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."dkm" IS '地块名';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."szjd" IS '所在街道';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgxmdz" IS '施工项目地址';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jhkssj" IS '计划开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jhjssj" IS '计划结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sjkssj" IS '实际开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sjjssj" IS '实际结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgsd" IS '施工深度';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jsdwfzr" IS '建设单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jsdwfzrlxdh" IS '建设单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgdwfzr" IS '施工单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgdwfzrlxdh" IS '施工单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jldwfzr" IS '监理单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."jldwfzrlxdh" IS '监理单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."xmdm" IS '项目代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgzt" IS '施工状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."sgxkxx" IS '施工许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."dlwjspzt" IS '道路挖掘审批状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgxmxx"."hxfw" IS '红线范围';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dsfsgxmxx" IS '第三方施工项目信息属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dsfsgsqgl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dsfsgsqgl";
CREATE TABLE "ztfbk_sjg"."sg_jg_dsfsgsqgl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "gxqsdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gxlx" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "gxqsdwclr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "gxdwfzrlxdh" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "wts" bytea,
  "hxdzwj" bytea,
  "gxt" bytea,
  "sfygx" bool,
  "xcjddz" varchar(100) COLLATE "pg_catalog"."default",
  "xcjdrq" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sfwcjd" bool,
  "dtrq" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "xmdm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."gxqsdw" IS '管线权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."gxlx" IS '管线类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."gxqsdwclr" IS '处理人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."gxdwfzrlxdh" IS '处理人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."wts" IS '委托书';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."hxdzwj" IS '红线电子文件';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."gxt" IS '管线图';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."sfygx" IS '是否有管线';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."xcjddz" IS '现场交底地址';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."xcjdrq" IS '现场交底日期';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."sfwcjd" IS '是否完成交底';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."dtrq" IS '动土日期';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."xmdm" IS '项目代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgsqgl"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dsfsgsqgl" IS '第三方施工事前管理属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dsfsgphsj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dsfsgphsj";
CREATE TABLE "ztfbk_sjg"."sg_jg_dsfsgphsj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(32) COLLATE "pg_catalog"."default",
  "sjxz" int4 NOT NULL,
  "fssj" date NOT NULL,
  "fsdd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sfycz" bool NOT NULL,
  "gxqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "phsjms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "czwcsj" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "sjmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."sjxz" IS '事件性质';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."fssj" IS '发生时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."fsdd" IS '发生地点';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."sfycz" IS '是否已处置';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."gxqsdw" IS '管线权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."phsjms" IS '破坏事件描述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."czwcsj" IS '处置完成时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphsj"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dsfsgphsj" IS '第三方施工破坏事件属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dsfsgphczjg
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dsfsgphczjg";
CREATE TABLE "ztfbk_sjg"."sg_jg_dsfsgphczjg" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbsj" date NOT NULL,
  "yhmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "yhddz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yhms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yhxczp" bytea,
  "sbr" varchar(32) COLLATE "pg_catalog"."default",
  "sbrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhczdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "czfzr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "czfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhslsj" date NOT NULL,
  "yhczzt" int4 NOT NULL,
  "yhczjs" varchar(255) COLLATE "pg_catalog"."default",
  "yhczbg" bytea,
  "czwcsj" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "dsfphsjbsm" varchar(64) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."sbsj" IS '上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhmc" IS '隐患名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhddz" IS '隐患点地址';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhms" IS '隐患描述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhxczp" IS '隐患现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."sbr" IS '上报人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."sbrlxdh" IS '上报人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhczdw" IS '隐患处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."czfzr" IS '处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."czfzrlxdh" IS '处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhslsj" IS '隐患受理时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhczzt" IS '隐患处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhczjs" IS '隐患处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yhczbg" IS '隐患处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."czwcsj" IS '处置完成时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsgphczjg"."dsfphsjbsm" IS '第三方破坏事件标识码';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dsfsgphczjg" IS '第三方施工破坏处置结果属性结构表';

-- ----------------------------
-- Table structure for sg_jg_dsfsglhcj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jg_dsfsglhcj";
CREATE TABLE "ztfbk_sjg"."sg_jg_dsfsglhcj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmbm" varchar(32) COLLATE "pg_catalog"."default",
  "sjbm" varchar(32) COLLATE "pg_catalog"."default",
  "sjms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cjsj" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "bcjdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "cjjg" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fj" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "fbdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "fbsj" date NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."sjbm" IS '事件编码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."sjms" IS '事件描述';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."cjsj" IS '惩戒时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."bcjdw" IS '被惩戒单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."cjjg" IS '惩戒结果';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."fbdw" IS '发布单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jg_dsfsglhcj"."fbsj" IS '发布时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jg_dsfsglhcj" IS '第三方施工联合惩戒属性结构表';

-- ----------------------------
-- Table structure for sg_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jc_spjk";
CREATE TABLE "ztfbk_sjg"."sg_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."sg_jc_spjk" IS '视频监控属性结构表';

-- ----------------------------
-- Table structure for sg_jc_jcxyz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jc_jcxyz";
CREATE TABLE "ztfbk_sjg"."sg_jc_jcxyz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "bjyz" numeric(13,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."bjyz" IS '报警阈值';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcxyz"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."sg_jc_jcxyz" IS '监测项阈值属性结构表';

-- ----------------------------
-- Table structure for sg_jc_jcsb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."sg_jc_jcsb";
CREATE TABLE "ztfbk_sjg"."sg_jc_jcsb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dwbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(32) COLLATE "pg_catalog"."default",
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "scpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbzt" int4 NOT NULL,
  "csmc" varchar(50) COLLATE "pg_catalog"."default",
  "xdgd" numeric(10,3),
  "azsj" date,
  "azwhdw" varchar(100) COLLATE "pg_catalog"."default",
  "gdfs" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "jcssid" varchar(32) COLLATE "pg_catalog"."default",
  "xmbh" varchar(32) COLLATE "pg_catalog"."default",
  "jcssqsqy" varchar(100) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."cjpl" IS '采集频率';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."scpl" IS '上传频率';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."sbzt" IS '设备状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."csmc" IS '厂商名称';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."xdgd" IS '相对高度';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."azsj" IS '安装时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."azwhdw" IS '安装维护单位';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."gdfs" IS '供电方式';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."jcssid" IS '监测设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."xmbh" IS '项目编号';
COMMENT ON COLUMN "ztfbk_sjg"."sg_jc_jcsb"."jcssqsqy" IS '监测设施权属企业';
COMMENT ON TABLE "ztfbk_sjg"."sg_jc_jcsb" IS '监测设备属性结构表';

-- ----------------------------
-- Table structure for rq_js_rqyh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_js_rqyh";
CREATE TABLE "ztfbk_sjg"."rq_js_rqyh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "yhlx" int4 NOT NULL,
  "fjmyhlx" int4,
  "yhxx" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "xxdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "szjdhsq" varchar(50) COLLATE "pg_catalog"."default",
  "qyrq" date,
  "yqfw" varchar(255) COLLATE "pg_catalog"."default",
  "qyzl" int4 NOT NULL,
  "yhqpzl" int4,
  "yhqcps" int4,
  "yqgm" numeric(12,2),
  "gqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sbssqk" varchar(255) COLLATE "pg_catalog"."default",
  "sfzdyqcs" bool NOT NULL,
  "bjq" int4 NOT NULL,
  "sfyqdzz" bool NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yhlx" IS '用户类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."fjmyhlx" IS '非居民用户类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yhxx" IS '用户信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."xxdz" IS '详细地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."szjdhsq" IS '所在街道和社区';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."qyrq" IS '启用日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yqfw" IS '用气范围';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."qyzl" IS '气源种类';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yhqpzl" IS '液化气瓶种类';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yhqcps" IS '液化气存瓶数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yqgm" IS '用气规模';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."gqdw" IS '供气单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."sbssqk" IS '设备设施情况';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."sfzdyqcs" IS '是否重点用气场所';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."bjq" IS '报警器';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."sfyqdzz" IS '是否有切断装置';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_rqyh"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_js_rqyh" IS '燃气用户属性结构表';

-- ----------------------------
-- Table structure for rq_js_jcd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_js_jcd";
CREATE TABLE "ztfbk_sjg"."rq_js_jcd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "ssmc" varchar(64) COLLATE "pg_catalog"."default",
  "ssbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jcwz" varchar(200) COLLATE "pg_catalog"."default",
  "gc" numeric(10,3),
  "gcjz" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."dwmc" IS '点位名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."ssmc" IS '设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."jcwz" IS '监测位置';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."gc" IS '高程';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."gcjz" IS '高程基准';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_jcd"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_js_jcd" IS '监测点属性结构表';

-- ----------------------------
-- Table structure for rq_js_cz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_js_cz";
CREATE TABLE "ztfbk_sjg"."rq_js_cz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "czlx" varchar(40) COLLATE "pg_catalog"."default" NOT NULL,
  "syzt" int4,
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "cqnl" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjcql" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "gznl" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "ngql" numeric(12,2) NOT NULL,
  "xsgynl" numeric(12,2),
  "zps" int4,
  "yl" numeric(8,2),
  "ll" numeric(12,2),
  "yw" numeric(12,2),
  "wd" numeric(8,2),
  "jgrq" date,
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "jsdw" varchar(100) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "cczj" numeric(16,0),
  "cccd" numeric(16,0),
  "fzfx" bool,
  "md" numeric(16,0),
  "cyxytfd" numeric(16,0),
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."czlx" IS '场站类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."syzt" IS '使用状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."cqnl" IS '储气能力';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."sjcql" IS '实际储气量';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."gznl" IS '灌装能力';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."ngql" IS '年供气量';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."xsgynl" IS '小时供应能力';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."zps" IS '重瓶数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."yl" IS '压力';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."ll" IS '流量';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."yw" IS '液位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."wd" IS '温度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."jgrq" IS '竣工日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."cczj" IS '储槽直径';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."cccd" IS '储槽长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."fzfx" IS '放置方向';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."md" IS '密度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."cyxytfd" IS '常压下液体沸点';
COMMENT ON COLUMN "ztfbk_sjg"."rq_js_cz"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_js_cz" IS '场站属性结构表';

-- ----------------------------
-- Table structure for rq_jg_zgjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_zgjl";
CREATE TABLE "ztfbk_sjg"."rq_jg_zgjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "zgjhmc" varchar(255) COLLATE "pg_catalog"."default",
  "zgnr" varchar(255) COLLATE "pg_catalog"."default",
  "zgwz" varchar(255) COLLATE "pg_catalog"."default",
  "zgtp" bytea,
  "glsbss" varchar(255) COLLATE "pg_catalog"."default",
  "zgrq" date NOT NULL,
  "zgjd" varchar(255) COLLATE "pg_catalog"."default",
  "zgjg" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fzrxx" varchar(255) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "hyzgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgjhmc" IS '整改计划名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgnr" IS '整改内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgwz" IS '整改位置';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgtp" IS '整改图片';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."glsbss" IS '关联设备设施';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgrq" IS '整改日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgjd" IS '整改进度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgjg" IS '整改结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."fzrxx" IS '负责人信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."zgdw" IS '整改单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."hyzgdw" IS '行业主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_zgjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_zgjl" IS '整改记录属性结构表';

-- ----------------------------
-- Table structure for rq_jg_xjxcjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_xjxcjl";
CREATE TABLE "ztfbk_sjg"."rq_jg_xjxcjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "jhnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhkssj" timestamp(0),
  "jhjssj" timestamp(0),
  "jhs" int4,
  "wcs" int4,
  "wcl" numeric(12,2),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0)
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."jhnr" IS '计划内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."jhkssj" IS '计划开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."jhjssj" IS '计划结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."jhs" IS '计划数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."wcs" IS '完成数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."wcl" IS '完成率';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_xjxcjl" IS '巡检巡查信息表';

-- ----------------------------
-- Table structure for rq_jg_xjxcdsfsgwt
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_xjxcdsfsgwt";
CREATE TABLE "ztfbk_sjg"."rq_jg_xjxcdsfsgwt" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xjyhbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "sfsjgcjx" bool NOT NULL,
  "wtfl" int4,
  "wtms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbr" varchar(16) COLLATE "pg_catalog"."default",
  "wtsbsj" timestamp(6) NOT NULL,
  "wtczdw" varchar(100) COLLATE "pg_catalog"."default",
  "wtczfzr" varchar(32) COLLATE "pg_catalog"."default",
  "wtczfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "wtczsj" timestamp(6),
  "wtczjs" varchar(255) COLLATE "pg_catalog"."default",
  "czzt" int4 NOT NULL,
  "czfj" bytea,
  "xctp" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "wtsbdw" varchar(100) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."xjyhbsm" IS '巡检养护标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."sfsjgcjx" IS '是否涉及工程机械';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtfl" IS '问题分类';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtms" IS '问题描述';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."jcdz" IS '检查地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtsbr" IS '问题上报人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtsbsj" IS '问题上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtczdw" IS '问题处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtczfzr" IS '问题处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtczfzrlxdh" IS '问题处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtczsj" IS '问题处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtczjs" IS '问题处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."czfj" IS '处置附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."xctp" IS '现场图片';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."wtsbdw" IS '问题上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjxcdsfsgwt"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_xjxcdsfsgwt" IS '巡检养护第三方施工问题属性结构表';

-- ----------------------------
-- Table structure for rq_jg_xjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_xjjl";
CREATE TABLE "ztfbk_sjg"."rq_jg_xjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xjdx" int4 NOT NULL,
  "jcdy" varchar(255) COLLATE "pg_catalog"."default",
  "jcxm" varchar(255) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default",
  "jcnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjg" varchar(255) COLLATE "pg_catalog"."default",
  "czyh" varchar(255) COLLATE "pg_catalog"."default",
  "jcrq" timestamp(6) NOT NULL,
  "jcry" varchar(32) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "aqjcbsm" varchar(32) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."xjdx" IS '巡检对象';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_xjjl"."aqjcbsm" IS '安全检查标识码';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_xjjl" IS '巡检记录属性结构表';

-- ----------------------------
-- Table structure for rq_jg_tfsjqx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_tfsjqx";
CREATE TABLE "ztfbk_sjg"."rq_jg_tfsjqx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "sjmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjsm" varchar(255) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "gljcss" varchar(32) COLLATE "pg_catalog"."default",
  "xyjb" int4,
  "xczp" bytea,
  "qxnr" varchar(255) COLLATE "pg_catalog"."default",
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "cldw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."sjsm" IS '事件说明';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."gljcss" IS '关联基础设施';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."xyjb" IS '响应级别';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."qxnr" IS '抢修内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."cldw" IS '处理单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_tfsjqx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_tfsjqx" IS '突发事件抢修属性结构表';

-- ----------------------------
-- Table structure for rq_jg_rqfxtj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_rqfxtj";
CREATE TABLE "ztfbk_sjg"."rq_jg_rqfxtj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dfxcd" numeric(12,2) NOT NULL,
  "ybfxcd" numeric(12,2) NOT NULL,
  "jdfxcd" numeric(12,2) NOT NULL,
  "zdfxcd" numeric(12,2) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "rqgwzcd" numeric(12,2)
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."dfxcd" IS '低风险长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."ybfxcd" IS '一般风险长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."jdfxcd" IS '较大风险长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."zdfxcd" IS '重大风险长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rqfxtj"."rqgwzcd" IS '燃气管网总长度';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_rqfxtj" IS '燃气风险统计信息表';

-- ----------------------------
-- Table structure for rq_jg_rcwhwx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_rcwhwx";
CREATE TABLE "ztfbk_sjg"."rq_jg_rcwhwx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "whwxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbss" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "lxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhdw" date,
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjl" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."whwxnr" IS '维护维修内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."sbss" IS '设备设施';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."yhdw" IS '养护单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."jcff" IS '检测方法';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."jcjl" IS '检测结论';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_rcwhwx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_rcwhwx" IS '燃气日常维护维修属性结构表';

-- ----------------------------
-- Table structure for rq_jg_ljgwtj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_ljgwtj";
CREATE TABLE "ztfbk_sjg"."rq_jg_ljgwtj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "tibsj" timestamp(6) NOT NULL,
  "jhgzzc" numeric(10,0) NOT NULL,
  "ygz" numeric(10,0) NOT NULL,
  "gzz" numeric(10,0) NOT NULL,
  "wgz" numeric(10,0) NOT NULL,
  "xyljgwzc" numeric(10,0) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."tibsj" IS '填报时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."jhgzzc" IS '计划改造总长';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."ygz" IS '已改造';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."gzz" IS '改造中';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."wgz" IS '未改造';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."xyljgwzc" IS '现有老旧管网总长';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_ljgwtj"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_ljgwtj" IS '老旧管网统计表';

-- ----------------------------
-- Table structure for rq_jg_lhjcjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_lhjcjl";
CREATE TABLE "ztfbk_sjg"."rq_jg_lhjcjl" (
  "bsm" varchar COLLATE "pg_catalog"."default",
  "xzqhdm" varchar COLLATE "pg_catalog"."default",
  "qtbm" varchar COLLATE "pg_catalog"."default",
  "cjbm" varchar COLLATE "pg_catalog"."default",
  "jcrq" varchar COLLATE "pg_catalog"."default",
  "jcxm" varchar COLLATE "pg_catalog"."default",
  "jcnr" varchar COLLATE "pg_catalog"."default",
  "jcjg" varchar COLLATE "pg_catalog"."default",
  "zrdw" varchar COLLATE "pg_catalog"."default",
  "jcry" varchar COLLATE "pg_catalog"."default",
  "xczp" varchar COLLATE "pg_catalog"."default",
  "bz" varchar COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."qtbm" IS '牵头部门';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."cjbm" IS '参检部门';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."zrdw" IS '责任单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_lhjcjl"."bz" IS '备注';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_lhjcjl" IS '联合检查记录';

-- ----------------------------
-- Table structure for rq_jg_jsxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_jsxm";
CREATE TABLE "ztfbk_sjg"."rq_jg_jsxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdm" varchar(50) COLLATE "pg_catalog"."default",
  "xmbm" varchar(32) COLLATE "pg_catalog"."default",
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmtze" numeric(10,3),
  "xxdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lxxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "ghxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "sgxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "jgysxx" varchar(255) COLLATE "pg_catalog"."default",
  "jsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sjdw" varchar(100) COLLATE "pg_catalog"."default",
  "sgdw" varchar(100) COLLATE "pg_catalog"."default",
  "jldw" varchar(100) COLLATE "pg_catalog"."default",
  "sjkssj" timestamp(0),
  "sjjssj" timestamp(0),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmdm" IS '项目代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."xxdz" IS '详细地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."lxxkxx" IS '立项许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."ghxkxx" IS '规划许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sgxkxx" IS '施工许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."jgysxx" IS '竣工验收信息';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sjdw" IS '设计单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sjkssj" IS '实际开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sjjssj" IS '实际结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jsxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_jsxm" IS '建设项目属性结构表';

-- ----------------------------
-- Table structure for rq_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."rq_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(10,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_jhxm" IS '计划项目属性结构表';

-- ----------------------------
-- Table structure for rq_jg_fxpg
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_fxpg";
CREATE TABLE "ztfbk_sjg"."rq_jg_fxpg" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ssqy" varchar(255) COLLATE "pg_catalog"."default",
  "zrdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdy" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "glgdbh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdygdcd" numeric(20,0) NOT NULL,
  "fxms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" int4 NOT NULL,
  "gkzt" int4 NOT NULL,
  "gxsj" timestamp(6) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "gxid" varchar(255) COLLATE "pg_catalog"."default",
  "fxlx" int4,
  "pgsj" timestamp(6),
  "pgdw" varchar(50) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "pcbh" varchar(255) COLLATE "pg_catalog"."default",
  "pgdymc" varchar(255) COLLATE "pg_catalog"."default",
  "pgdywz" varchar(255) COLLATE "pg_catalog"."default",
  "pgdywybs" varchar(255) COLLATE "pg_catalog"."default",
  "knxdj" int4,
  "hgdj" int4,
  "gkcs" varchar(255) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."ssqy" IS '所属区域';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."zrdw" IS '责任单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdy" IS '评估单元';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."glgdbh" IS '关联管段编号';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdygdcd" IS '评估单元管道长度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."fxms" IS '风险描述';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."gkzt" IS '管控状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."gxsj" IS '更新时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."gxid" IS '管线id';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."fxlx" IS '风险类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgsj" IS '评估时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdw" IS '评估单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pcbh" IS '批次编号';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdymc" IS '评估单元名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdywz" IS '评估单元位置';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."pgdywybs" IS '评估单元唯一标识';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."knxdj" IS '可能性等级';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."hgdj" IS '后果等级';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."gkcs" IS '管控措施';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_fxpg"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_fxpg" IS '风险评估信息表';

-- ----------------------------
-- Table structure for rq_jg_dsfsgzx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_dsfsgzx";
CREATE TABLE "ztfbk_sjg"."rq_jg_dsfsgzx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "szjd" varchar(255) COLLATE "pg_catalog"."default",
  "xxdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jhkssj" date,
  "jhjssj" date,
  "sjkssj" date,
  "sjjssj" date,
  "sgsd" numeric(6,2),
  "jsdw" varchar(255) COLLATE "pg_catalog"."default",
  "jsdwfzr" varchar(16) COLLATE "pg_catalog"."default",
  "jsdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "sgdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfzr" varchar(16) COLLATE "pg_catalog"."default",
  "sgdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "jldw" varchar(255) COLLATE "pg_catalog"."default",
  "jldwfzr" varchar(255) COLLATE "pg_catalog"."default",
  "jldwfzrlxdh" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."szjd" IS '所在街道';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."xxdz" IS '施工项目地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jhkssj" IS '计划开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jhjssj" IS '计划结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sjkssj" IS '实际开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sjjssj" IS '实际结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sgsd" IS '施工深度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jsdwfzr" IS '建设单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jsdwfzrlxdh" IS '建设单位负责人联 系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sgdwfzr" IS '施工单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sgdwfzrlxdh" IS '施工单位负责人联 系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jldwfzr" IS '监理单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."jldwfzrlxdh" IS '监理单位负责人联 系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_dsfsgzx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_dsfsgzx" IS '第三方施工专项属性结构表';

-- ----------------------------
-- Table structure for rq_jg_aqzxjcjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_aqzxjcjl";
CREATE TABLE "ztfbk_sjg"."rq_jg_aqzxjcjl" (
  "bsm" varchar COLLATE "pg_catalog"."default",
  "xzqhdm" varchar COLLATE "pg_catalog"."default",
  "jcdx" varchar COLLATE "pg_catalog"."default",
  "lx" varchar COLLATE "pg_catalog"."default",
  "jcdy" varchar COLLATE "pg_catalog"."default",
  "jcxm" varchar COLLATE "pg_catalog"."default",
  "jcff" varchar COLLATE "pg_catalog"."default",
  "jcnr" varchar COLLATE "pg_catalog"."default",
  "jcjg" varchar COLLATE "pg_catalog"."default",
  "czyh" varchar COLLATE "pg_catalog"."default",
  "jcrq" varchar COLLATE "pg_catalog"."default",
  "jcry" varchar COLLATE "pg_catalog"."default",
  "jcdw" varchar COLLATE "pg_catalog"."default",
  "ssqsdw" varchar COLLATE "pg_catalog"."default",
  "zgdw" varchar COLLATE "pg_catalog"."default",
  "fj" varchar COLLATE "pg_catalog"."default",
  "bz" varchar COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcdx" IS '检查对象';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."lx" IS '类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."jcdw" IS '检查单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqzxjcjl"."bz" IS '备注';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_aqzxjcjl" IS '安全专项检查记录';

-- ----------------------------
-- Table structure for rq_jg_aqjctj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jg_aqjctj";
CREATE TABLE "ztfbk_sjg"."rq_jg_aqjctj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "jhnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jhkssj" timestamp(6) NOT NULL,
  "jhjssj" timestamp(6) NOT NULL,
  "jhs" int4 NOT NULL,
  "wcs" int4 NOT NULL,
  "wcl" numeric(12,2) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "rqqymc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "tibsj" timestamp(6) NOT NULL,
  "xjzq" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdx" int4 NOT NULL,
  "jclx" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jhnr" IS '计划内容';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jhkssj" IS '计划开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jhjssj" IS '计划结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jhs" IS '计划数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."wcs" IS '完成数';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."wcl" IS '完成率';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."rqqymc" IS '燃气企业名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."tibsj" IS '填报时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."xjzq" IS '巡检周期';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jcdx" IS '检查对象';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jg_aqjctj"."jclx" IS '检查类型';
COMMENT ON TABLE "ztfbk_sjg"."rq_jg_aqjctj" IS '安全检查统计表';

-- ----------------------------
-- Table structure for rq_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jc_spjk";
CREATE TABLE "ztfbk_sjg"."rq_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_jc_spjk" IS '视频监控属性结构表';

-- ----------------------------
-- Table structure for rq_jc_rqssyh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jc_rqssyh";
CREATE TABLE "ztfbk_sjg"."rq_jc_rqssyh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "yhms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yhlx" int4 NOT NULL,
  "yhdj" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  "yhddz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "ssjg" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "zgzt" int4 NOT NULL,
  "sbr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbrdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sbsj" date NOT NULL,
  "zgfzr" varchar(32) COLLATE "pg_catalog"."default",
  "zgfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "sjly" int4 NOT NULL,
  "xjjlbsm" varchar(32) COLLATE "pg_catalog"."default",
  "zgjlbsm" varchar(32) COLLATE "pg_catalog"."default",
  "yhtp" bytea,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yhms" IS '隐患描述';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yhlx" IS '隐患类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yhdj" IS '隐患等级';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yhddz" IS '隐患点地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."ssjg" IS '所属机构';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."zgzt" IS '整改状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."sbr" IS '上报人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."sbrdw" IS '上报人单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."sbsj" IS '上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."zgfzr" IS '整改负责人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."zgfzrlxdh" IS '整改负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."sjly" IS '数据来源';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."xjjlbsm" IS '巡检记录标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."zgjlbsm" IS '整改记录标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."yhtp" IS '隐患图片';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_rqssyh"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."rq_jc_rqssyh" IS '燃气设施隐患属性结构表';

-- ----------------------------
-- Table structure for rq_jc_jzxyz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jc_jzxyz";
CREATE TABLE "ztfbk_sjg"."rq_jc_jzxyz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "bjyz" numeric(10,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."bjyz" IS '报警阈值';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jzxyz"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jc_jzxyz" IS '燃气监测项阈值属性结构表';

-- ----------------------------
-- Table structure for rq_jc_jcyj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jc_jcyj";
CREATE TABLE "ztfbk_sjg"."rq_jc_jcyj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "yjmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssbh" varchar(64) COLLATE "pg_catalog"."default",
  "yjlx" int4,
  "yjdz" varchar(255) COLLATE "pg_catalog"."default",
  "yjjb" int4,
  "yjzt" int4,
  "yjscsj" date,
  "yjsbsj" date,
  "yjjs" varchar COLLATE "pg_catalog"."default",
  "yjbg" bytea,
  "ypfx" varchar COLLATE "pg_catalog"."default",
  "fxbg" bytea,
  "czzt" int4,
  "czr" varchar(32) COLLATE "pg_catalog"."default",
  "czsj" date,
  "czjy" varchar COLLATE "pg_catalog"."default",
  "czbg" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjmc" IS '预警名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjssmc" IS '预警设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjssbh" IS '预警设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjlx" IS '预警类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjdz" IS '预警地址';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjjb" IS '预警级别';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjzt" IS '预警状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjscsj" IS '预警生成时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjsbsj" IS '预警上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjjs" IS '预警简述';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yjbg" IS '预警报告';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."ypfx" IS '研判分析';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."fxbg" IS '分析报告';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."czr" IS '处置人';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."czjy" IS '处置建议';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."czbg" IS '处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcyj"."tbsj" IS '数据同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jc_jcyj" IS '监测预警属性结构表';

-- ----------------------------
-- Table structure for rq_jc_jcsb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."rq_jc_jcsb";
CREATE TABLE "ztfbk_sjg"."rq_jc_jcsb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dwbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(32) COLLATE "pg_catalog"."default",
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "scpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbzt" int4 NOT NULL,
  "csmc" varchar(50) COLLATE "pg_catalog"."default",
  "xdgd" numeric(10,3),
  "azsj" date,
  "azwhdw" varchar(100) COLLATE "pg_catalog"."default",
  "gdfs" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."cjpl" IS '采集频率';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."scpl" IS '上传频率';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."sbzt" IS '设备状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."csmc" IS '厂商名称';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."xdgd" IS '相对高度';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."azsj" IS '安装时间';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."azwhdw" IS '安装维护单位';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."gdfs" IS '供电方式';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."rq_jc_jcsb"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."rq_jc_jcsb" IS '监测设备属性结构表';

-- ----------------------------
-- Table structure for ql_js_ql
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_js_ql";
CREATE TABLE "ztfbk_sjg"."ql_js_ql" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "qlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jgny" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "szdlmc" varchar(32) COLLATE "pg_catalog"."default",
  "dldj" int4 NOT NULL,
  "kjfl" int4 NOT NULL,
  "jglx" int4 NOT NULL,
  "kjzh" varchar(500) COLLATE "pg_catalog"."default",
  "qlzc" numeric(12,2),
  "qlzk" numeric(8,2),
  "kydw" int4 NOT NULL,
  "thdj" int4 NOT NULL,
  "sfdzd" bool NOT NULL,
  "qmmj" numeric(12,2),
  "kzld" int4 NOT NULL,
  "yhlb" int4 NOT NULL,
  "yhdj" int4 NOT NULL,
  "qlwhzk" varchar(8) COLLATE "pg_catalog"."default",
  "qljgzk" varchar(8) COLLATE "pg_catalog"."default",
  "jcrq" date,
  "jcbg" bytea NOT NULL,
  "jsdw" varchar(100) COLLATE "pg_catalog"."default",
  "sjdw" varchar(100) COLLATE "pg_catalog"."default",
  "sgdw" varchar(100) COLLATE "pg_catalog"."default",
  "jldw" varchar(100) COLLATE "pg_catalog"."default",
  "gldw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "yhdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sfjggz" bool NOT NULL,
  "sfyjjcxt" bool NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qlmc" IS '桥梁名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jgny" IS '竣工年月';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."szdlmc" IS '所在道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."dldj" IS '道路等级';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."kjfl" IS '跨径分类';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jglx" IS '结构类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."kjzh" IS '跨径组合';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qlzc" IS '桥梁总长';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qlzk" IS '桥梁总宽';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."kydw" IS '跨越地物';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."thdj" IS '通航等级';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sfdzd" IS '是否独柱墩';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qmmj" IS '桥面面积';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."kzld" IS '抗震烈度';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."yhlb" IS '养护类别';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."yhdj" IS '养护等级';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qlwhzk" IS '桥梁完好状况';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."qljgzk" IS '桥梁结构状况';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jcrq" IS '检测日期';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jcbg" IS '检测报告';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sjdw" IS '设计单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."gldw" IS '管理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."yhdw" IS '养护单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sfjggz" IS '是否加固改造';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sfyjjcxt" IS '是否已建监测系统';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_ql"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ql_js_ql" IS '桥梁属性结构表';

-- ----------------------------
-- Table structure for ql_js_jcd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_js_jcd";
CREATE TABLE "ztfbk_sjg"."ql_js_jcd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "ssmc" varchar(64) COLLATE "pg_catalog"."default",
  "ssbm" varchar(17) COLLATE "pg_catalog"."default" NOT NULL,
  "jcwz" varchar(200) COLLATE "pg_catalog"."default",
  "gc" numeric(10,3),
  "gcjz" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zb_xy" varchar(255) COLLATE "pg_catalog"."default",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."dwmc" IS '点位名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."ssmc" IS '设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."jcwz" IS '监测位置';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."gc" IS '高程';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."gcjz" IS '高程基准';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."ql_js_jcd"."zb_xy" IS 'xy坐标';
COMMENT ON TABLE "ztfbk_sjg"."ql_js_jcd" IS '桥梁监测点属性结构表';

-- ----------------------------
-- Table structure for ql_jg_xjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jg_xjjl";
CREATE TABLE "ztfbk_sjg"."ql_jg_xjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xjdx" int4 NOT NULL,
  "jcdy" varchar(255) COLLATE "pg_catalog"."default",
  "jcxm" varchar(255) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default",
  "jcnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjg" varchar(255) COLLATE "pg_catalog"."default",
  "czyh" varchar(255) COLLATE "pg_catalog"."default",
  "jcrq" timestamp(6) NOT NULL,
  "jcry" varchar(32) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."xjdx" IS '巡检对象';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_xjjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ql_jg_xjjl" IS '巡检记录属性结构表';

-- ----------------------------
-- Table structure for ql_jg_tfsjqx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jg_tfsjqx";
CREATE TABLE "ztfbk_sjg"."ql_jg_tfsjqx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sjmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjsm" varchar(255) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "gljcss" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xyjb" int4 NOT NULL,
  "xczp" varchar(1000) COLLATE "pg_catalog"."default",
  "qxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "cldw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."sjsm" IS '事件说明';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."gljcss" IS '关联基础设施';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."xyjb" IS '响应级别';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."qxnr" IS '抢修内容';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."cldw" IS '处理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_tfsjqx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ql_jg_tfsjqx" IS '突发事件抢修';

-- ----------------------------
-- Table structure for ql_jg_jsxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jg_jsxm";
CREATE TABLE "ztfbk_sjg"."ql_jg_jsxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmdm" varchar(50) COLLATE "pg_catalog"."default",
  "xmbm" varchar(32) COLLATE "pg_catalog"."default",
  "xmlx" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "xmnr" varchar(1500) COLLATE "pg_catalog"."default" NOT NULL,
  "xmtze" numeric(13,3) NOT NULL,
  "xxdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lxxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "ghxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "sgxkxx" varchar(255) COLLATE "pg_catalog"."default",
  "jgysxx" varchar(255) COLLATE "pg_catalog"."default",
  "jsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sjdw" varchar(100) COLLATE "pg_catalog"."default",
  "sgdw" varchar(100) COLLATE "pg_catalog"."default",
  "jldw" varchar(100) COLLATE "pg_catalog"."default",
  "sjkssj" date,
  "sjjssj" date,
  "jsjd" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "ywctze" numeric(13,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmdm" IS '项目代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmbm" IS '项目编码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."xxdz" IS '详细地址';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."lxxkxx" IS '立项许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."ghxkxx" IS '规划许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sgxkxx" IS '施工许可信息';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."jgysxx" IS '竣工验收信息';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sjdw" IS '设计单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sjkssj" IS '实际开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sjjssj" IS '实际结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."jsjd" IS '建设进度';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."ywctze" IS '已完成投资额';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jsxm"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ql_jg_jsxm" IS '桥梁建设项目属性结构表';

-- ----------------------------
-- Table structure for ql_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."ql_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "xmnr" varchar(1500) COLLATE "pg_catalog"."default" NOT NULL,
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(13,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_jhxm"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ql_jg_jhxm" IS '桥梁计划项目属性结构表';

-- ----------------------------
-- Table structure for ql_jg_fxpg
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jg_fxpg";
CREATE TABLE "ztfbk_sjg"."ql_jg_fxpg" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "qlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "qlbh" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "pgsj" timestamp(6) NOT NULL,
  "fxmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" int4 NOT NULL,
  "fxms" varchar(1000) COLLATE "pg_catalog"."default" NOT NULL,
  "gkzt" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."qlmc" IS '桥梁名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."qlbh" IS '桥梁编号';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."pgsj" IS '评估时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."fxmc" IS '风险名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."fxms" IS '风险描述';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."gkzt" IS '管控状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jg_fxpg"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ql_jg_fxpg" IS '桥梁风险评估信息表';

-- ----------------------------
-- Table structure for ql_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jc_spjk";
CREATE TABLE "ztfbk_sjg"."ql_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ql_jc_spjk" IS '桥梁视频监控属性结构表';

-- ----------------------------
-- Table structure for ql_jc_jcyj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jc_jcyj";
CREATE TABLE "ztfbk_sjg"."ql_jc_jcyj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "yjmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssbh" varchar(64) COLLATE "pg_catalog"."default",
  "yjlx" int4,
  "yjdz" varchar(255) COLLATE "pg_catalog"."default",
  "yjjb" int4,
  "yjzt" int4,
  "yjscsj" date,
  "yjsbsj" date,
  "yjjs" varchar COLLATE "pg_catalog"."default",
  "yjbg" bytea,
  "ypfx" varchar COLLATE "pg_catalog"."default",
  "fxbg" bytea,
  "czzt" int4,
  "czr" varchar(32) COLLATE "pg_catalog"."default",
  "czsj" date,
  "czjy" varchar COLLATE "pg_catalog"."default",
  "czbg" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjmc" IS '预警名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjssmc" IS '预警设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjssbh" IS '预警设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjlx" IS '预警类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjdz" IS '预警地址';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjjb" IS '预警级别';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjzt" IS '预警状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjscsj" IS '预警生成时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjsbsj" IS '预警上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjjs" IS '预警简述';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yjbg" IS '预警报告';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."ypfx" IS '研判分析';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."fxbg" IS '分析报告';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."czr" IS '处置人';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."czjy" IS '处置建议';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."czbg" IS '处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcyj"."tbsj" IS '数据同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ql_jc_jcyj" IS '监测预警属性结构表';

-- ----------------------------
-- Table structure for ql_jc_jcxyz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jc_jcxyz";
CREATE TABLE "ztfbk_sjg"."ql_jc_jcxyz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "bjyz" numeric(13,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."bjyz" IS '报警阈值';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcxyz"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ql_jc_jcxyz" IS '桥梁监测项阈值属性结构表';

-- ----------------------------
-- Table structure for ql_jc_jcsb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ql_jc_jcsb";
CREATE TABLE "ztfbk_sjg"."ql_jc_jcsb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dwbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(32) COLLATE "pg_catalog"."default",
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "scpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbzt" int4 NOT NULL,
  "csmc" varchar(50) COLLATE "pg_catalog"."default",
  "xdgd" numeric(10,3),
  "azsj" date,
  "azwhdw" varchar(100) COLLATE "pg_catalog"."default",
  "gdfs" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."cjpl" IS '采集频率';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."scpl" IS '上传频率';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."sbzt" IS '设备状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."csmc" IS '厂商名称';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."xdgd" IS '相对高度';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."azsj" IS '安装时间';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."azwhdw" IS '安装维护单位';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."gdfs" IS '供电方式';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ql_jc_jcsb"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ql_jc_jcsb" IS '监测设备属性结构表';

-- ----------------------------
-- Table structure for ps_js_zyhd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_zyhd";
CREATE TABLE "ztfbk_sjg"."ps_js_zyhd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "hdbm" varchar(32) COLLATE "pg_catalog"."default",
  "hlmc" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "hdcd" numeric(11,3) NOT NULL,
  "qdzhbm" varchar(17) COLLATE "pg_catalog"."default" NOT NULL,
  "zdzhbm" varchar(17) COLLATE "pg_catalog"."default" NOT NULL,
  "qdhdbg" numeric(10,3),
  "zdhdbg" numeric(10,3),
  "csw" numeric(8,2),
  "jjsw" numeric(8,2),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."hdbm" IS '河道编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."hlmc" IS '河流名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."hdcd" IS '河段长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."qdzhbm" IS '起点桩号编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."zdzhbm" IS '终点桩号编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."qdhdbg" IS '起点河底标高';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."zdhdbg" IS '终点河底标高';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."csw" IS '常水位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."jjsw" IS '警戒水位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_zyhd"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_zyhd" IS '主要河道属性结构表';

-- ----------------------------
-- Table structure for ps_js_yld
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_yld";
CREATE TABLE "ztfbk_sjg"."ps_js_yld" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" varchar(32) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "dcjyl" numeric(7,2),
  "dcjylcxsj" int4,
  "dczdnlss" numeric(6,2),
  "dczdysmj" numeric(12,2),
  "dcnlcxsj" int4,
  "nlzyyy" varchar(1000) COLLATE "pg_catalog"."default" NOT NULL,
  "dcrq" date,
  "qyqkms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "tbdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "tbrq" date NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dcjyl" IS '调查降雨量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dcjylcxsj" IS '调查降雨持续时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dczdnlss" IS '调查最大内涝水深';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dczdysmj" IS '调查最大淹水面积';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dcnlcxsj" IS '调查内涝持续时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."nlzyyy" IS '内涝主要原因';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."dcrq" IS '调查日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."qyqkms" IS '区域情况描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_yld"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_yld" IS '易涝点属性结构表';

-- ----------------------------
-- Table structure for ps_js_xxtd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_xxtd";
CREATE TABLE "ztfbk_sjg"."ps_js_xxtd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xxtdbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dbysxxtdlx" int4 NOT NULL,
  "lmdjymclx" int4,
  "dbysxxtdcl" numeric(9,4) NOT NULL,
  "sjly" varchar(50) COLLATE "pg_catalog"."default",
  "sjhqrq" date,
  "tbdw" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  "tbrq" date NOT NULL,
  "dlmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cd" numeric(10,3) NOT NULL,
  "mj" numeric(12,2) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."xxtdbm" IS '行泄通道编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."dbysxxtdlx" IS '地表雨水行泄通道类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."lmdjymclx" IS '路面等级与面层类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."dbysxxtdcl" IS '地表雨水行泄通道糙率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."sjly" IS '数据来源';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."sjhqrq" IS '数据获取日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."cd" IS '长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."mj" IS '面积';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_xxtd"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_xxtd" IS '行泄通道属性结构表';

-- ----------------------------
-- Table structure for ps_js_txss
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_txss";
CREATE TABLE "ztfbk_sjg"."ps_js_txss" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "txssbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "lb" int4 NOT NULL,
  "qsdw" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  "sspsxt" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "txssmc" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
  "zgsw" numeric(8,2) NOT NULL,
  "zdsw" numeric(8,2) NOT NULL,
  "txssrj" numeric(10,2) NOT NULL,
  "txsslx" int4 NOT NULL,
  "txsscz" int4 NOT NULL,
  "jssj" date NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."txssbm" IS '调蓄设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."lb" IS '类别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."qsdw" IS '权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."sspsxt" IS '所属排水系统';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."txssmc" IS '调蓄设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."zgsw" IS '最高水位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."zdsw" IS '最低水位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."txssrj" IS '调蓄设施容积';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."txsslx" IS '调蓄设施类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."txsscz" IS '调蓄设施材质';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."jssj" IS '建设时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_txss"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_txss" IS '调蓄设施属性结构表';

-- ----------------------------
-- Table structure for ps_js_psh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_psh";
CREATE TABLE "ztfbk_sjg"."ps_js_psh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sspsxt" varchar(32) COLLATE "pg_catalog"."default",
  "pshmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "pshdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jrjcjbm" varchar(32) COLLATE "pg_catalog"."default",
  "zzjgdm" varchar(32) COLLATE "pg_catalog"."default",
  "frdb" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "lxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(32) COLLATE "pg_catalog"."default",
  "pshlx" varchar(200) COLLATE "pg_catalog"."default",
  "sfwzdpsh" bool NOT NULL,
  "zyscgy" varchar(200) COLLATE "pg_catalog"."default",
  "psxkzbh" varchar(16) COLLATE "pg_catalog"."default",
  "xkzbfrq" date,
  "yhzl" numeric(12,2),
  "zbsl" numeric(12,2),
  "zpsl" numeric(12,2),
  "scwsl" numeric(12,2),
  "shwsl" numeric(12,2),
  "dylwrwmc" varchar(50) COLLATE "pg_catalog"."default",
  "delwrwmc" varchar(50) COLLATE "pg_catalog"."default",
  "wsclfs" int4,
  "wsclgm" numeric(14,2),
  "jszlwj" varchar COLLATE "pg_catalog"."default",
  "sjly" varchar(64) COLLATE "pg_catalog"."default",
  "sjhqrq" date,
  "tbdw" varchar(100) COLLATE "pg_catalog"."default",
  "tbrq" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."sspsxt" IS '所属排水系统';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."pshmc" IS '排水户名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."pshdz" IS '排水户地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."jrjcjbm" IS '接入检查井编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."zzjgdm" IS '组织机构代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."frdb" IS '法人代表';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."pshlx" IS '排水户类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."sfwzdpsh" IS '是否为重点排水户';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."zyscgy" IS '主要生产工艺';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."psxkzbh" IS '排水许可证编号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."xkzbfrq" IS '许可证颁发日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."yhzl" IS '用户总量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."zbsl" IS '自备水量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."zpsl" IS '总排水量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."scwsl" IS '生产污水量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."shwsl" IS '生活污水量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."dylwrwmc" IS '第一类污染物名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."delwrwmc" IS '第二类污染物名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."wsclfs" IS '污水处理方式';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."wsclgm" IS '污水处理规模';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."jszlwj" IS '技术资料文件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."sjly" IS '数据来源';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."sjhqrq" IS '数据获取日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psh"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_psh" IS '重点排水户属性结构表';

-- ----------------------------
-- Table structure for ps_js_psflzdbzdx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_psflzdbzdx";
CREATE TABLE "ztfbk_sjg"."ps_js_psflzdbzdx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lb" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "dcrq" date,
  "dxqkms" varchar(255) COLLATE "pg_catalog"."default",
  "tbdw" varchar(100) COLLATE "pg_catalog"."default",
  "tbrq" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."lb" IS '类别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."dcrq" IS '调查日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."dxqkms" IS '对象情况描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_psflzdbzdx"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_psflzdbzdx" IS '排水防涝重点保障对象属性结构表';

-- ----------------------------
-- Table structure for ps_js_pk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_pk";
CREATE TABLE "ztfbk_sjg"."ps_js_pk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "lb" int4,
  "dbgc" numeric(8,2),
  "dbgc1" numeric(8,2),
  "pkcc" varchar(20) COLLATE "pg_catalog"."default",
  "sfypm" bool,
  "clxs" int4,
  "hdcsw" numeric(8,2),
  "pkzp" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."lb" IS '类别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."dbgc" IS '地表高程';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."dbgc1" IS '顶部高程';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."pkcc" IS '排口尺寸';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."sfypm" IS '是否有拍门';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."clxs" IS '出流形式';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."hdcsw" IS '河道常水位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."pkzp" IS '排口照片';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_pk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_pk" IS '排口属性结构表';

-- ----------------------------
-- Table structure for ps_js_jlss
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_jlss";
CREATE TABLE "ztfbk_sjg"."ps_js_jlss" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sspsxt" varchar(32) COLLATE "pg_catalog"."default",
  "jlsslx" int4 NOT NULL,
  "jlssljgqbm" varchar(32) COLLATE "pg_catalog"."default",
  "jszlwj" varchar COLLATE "pg_catalog"."default",
  "sjly" varchar(64) COLLATE "pg_catalog"."default",
  "sjhqrq" date,
  "tbdw" varchar(30) COLLATE "pg_catalog"."default",
  "tbrq" date,
  "jlnbssbm" varchar(32) COLLATE "pg_catalog"."default",
  "jll" numeric(6,2),
  "jlqx" int4,
  "sszt" int4 NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."sspsxt" IS '所属排水系统';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jlsslx" IS '截流设施类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jlssljgqbm" IS '截流设施连接管渠编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jszlwj" IS '技术资料文件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."sjly" IS '数据来源';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."sjhqrq" IS '数据获取日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jlnbssbm" IS '截流内部设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jll" IS '截流量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."jlqx" IS '截流曲线';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."sszt" IS '设施状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jlss"."zbxx" IS '坐标信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_jlss" IS '截流设施属性结构表';

-- ----------------------------
-- Table structure for ps_js_jcd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_jcd";
CREATE TABLE "ztfbk_sjg"."ps_js_jcd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "ssmc" varchar(64) COLLATE "pg_catalog"."default",
  "ssbm" varchar(17) COLLATE "pg_catalog"."default" NOT NULL,
  "jcwz" varchar(200) COLLATE "pg_catalog"."default",
  "gc" numeric(10,3),
  "gcjz" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1,
  "jcfx" int4,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."dwmc" IS '点位名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."ssmc" IS '设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."jcwz" IS '监测位置';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."gc" IS '高程';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."gcjz" IS '高程基准';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."jcfx" IS '监测方向';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_jcd"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_jcd" IS '监测点属性结构表';

-- ----------------------------
-- Table structure for ps_js_flyjzy
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_flyjzy";
CREATE TABLE "ztfbk_sjg"."ps_js_flyjzy" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "ckmc" varchar(50) COLLATE "pg_catalog"."default",
  "cklx" varchar(50) COLLATE "pg_catalog"."default",
  "yjlxr" varchar COLLATE "pg_catalog"."default",
  "lxdh" varchar COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "zyzl" varchar(255) COLLATE "pg_catalog"."default",
  "zysl" int4,
  "tbdw" varchar(255) COLLATE "pg_catalog"."default",
  "tbrq" timestamp(6),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(6)
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."ckmc" IS '仓库名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."cklx" IS '仓库类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."yjlxr" IS '应急联系人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."zyzl" IS '资源种类';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."zysl" IS '资源数量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_flyjzy"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_flyjzy" IS '防涝应急资源';

-- ----------------------------
-- Table structure for ps_js_cz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_js_cz";
CREATE TABLE "ztfbk_sjg"."ps_js_cz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "czlx" varchar(40) COLLATE "pg_catalog"."default" NOT NULL,
  "syzt" int4 NOT NULL,
  "tcdw" varchar(100) COLLATE "pg_catalog"."default",
  "tcrq" date,
  "sjly" varchar(255) COLLATE "pg_catalog"."default",
  "jgrq" date,
  "wscljb" int4,
  "nhdl" numeric(12,2),
  "wsclsjgm" numeric(12,2),
  "wsyxfhl" numeric(6,2),
  "ysclsjgm" numeric(12,2),
  "wnclsjgm" numeric(12,2),
  "wnyxfhl" numeric(6,2),
  "wnczfs" varchar(100) COLLATE "pg_catalog"."default",
  "wnczdw" varchar(100) COLLATE "pg_catalog"."default",
  "bzsbts" int4,
  "bzzgl" numeric(8,2),
  "bzzll" numeric(8,2),
  "bzzp" bytea,
  "jsdw" varchar(100) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."czlx" IS '厂站类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."syzt" IS '使用状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."tcdw" IS '探测单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."tcrq" IS '探测日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."sjly" IS '数据来源';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."jgrq" IS '竣工日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wscljb" IS '污水处理级别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."nhdl" IS '年耗电量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wsclsjgm" IS '污水处理设计规模';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wsyxfhl" IS '污水运行负荷率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."ysclsjgm" IS '雨水处理设计规模';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wnclsjgm" IS '污泥处理设计规模';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wnyxfhl" IS '污泥运行负荷率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wnczfs" IS '污泥处置方式';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."wnczdw" IS '污泥处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bzsbts" IS '泵站水泵台数';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bzzgl" IS '泵站总功率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bzzll" IS '泵站总流量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bzzp" IS '泵站照片';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_js_cz"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_js_cz" IS '厂站属性结构表';

-- ----------------------------
-- Table structure for ps_jg_ysfxgk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_ysfxgk";
CREATE TABLE "ztfbk_sjg"."ps_jg_ysfxgk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "nf" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "fxmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" varchar(64) COLLATE "pg_catalog"."default",
  "fxly" varchar(255) COLLATE "pg_catalog"."default",
  "fxnr" varchar(255) COLLATE "pg_catalog"."default",
  "wz" varchar(255) COLLATE "pg_catalog"."default",
  "mj" numeric(12,2) NOT NULL,
  "gkcs" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sfgk" bool NOT NULL,
  "gkzt" varchar(64) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."nf" IS '年份';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."fxmc" IS '风险名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."fxly" IS '风险来源';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."fxnr" IS '风险内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."wz" IS '位置';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."mj" IS '面积';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."gkcs" IS '管控措施';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."sfgk" IS '是否管控';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."gkzt" IS '管控状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ysfxgk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_ysfxgk" IS '雨水风险管控属性结构表';

-- ----------------------------
-- Table structure for ps_jg_yhjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_yhjl";
CREATE TABLE "ztfbk_sjg"."ps_jg_yhjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "yhdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yhrq" date NOT NULL,
  "yhnr" varchar(255) COLLATE "pg_catalog"."default",
  "zyry" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "fj" bytea,
  "yhsl" int4,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."yhdx" IS '养护对象';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."yhrq" IS '养护日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."yhnr" IS '养护内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."zyry" IS '作业人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."yhsl" IS '养护数量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_yhjl"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_yhjl" IS '养护记录属性结构表';

-- ----------------------------
-- Table structure for ps_jg_xjxcdsfsgwt
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_xjxcdsfsgwt";
CREATE TABLE "ztfbk_sjg"."ps_jg_xjxcdsfsgwt" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xjyhbsm" varchar(32) COLLATE "pg_catalog"."default",
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sfsjgcjx" bool NOT NULL,
  "wtfl" int4,
  "wtms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbsj" timestamp(6) NOT NULL,
  "wtczdw" varchar(100) COLLATE "pg_catalog"."default",
  "wtczfzr" varchar(32) COLLATE "pg_catalog"."default",
  "wtczfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "wtczsj" timestamp(6),
  "wtczjs" varchar(255) COLLATE "pg_catalog"."default",
  "czzt" int4 NOT NULL,
  "czfj" bytea,
  "xctp" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1,
  "wtsbdw" varchar(100) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."xjyhbsm" IS '巡检养护标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."sfsjgcjx" IS '是否涉及工程机械';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtfl" IS '问题分类';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtms" IS '问题描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."jcdz" IS '检查地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtsbr" IS '问题上报人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtsbsj" IS '问题上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtczdw" IS '问题处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtczfzr" IS '问题处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtczfzrlxdh" IS '问题处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtczsj" IS '问题处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtczjs" IS '问题处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."czfj" IS '处置附件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."xctp" IS '现场图片';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."wtsbdw" IS '问题上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjxcdsfsgwt"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_xjxcdsfsgwt" IS '巡检养护第三方施工问题属性结构表';

-- ----------------------------
-- Table structure for ps_jg_xjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_xjjl";
CREATE TABLE "ztfbk_sjg"."ps_jg_xjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xjdx" int4 NOT NULL,
  "jcdy" varchar(255) COLLATE "pg_catalog"."default",
  "jcxm" varchar(255) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default",
  "jcnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjg" varchar(255) COLLATE "pg_catalog"."default",
  "czyh" varchar(255) COLLATE "pg_catalog"."default",
  "jcrq" timestamp(6) NOT NULL,
  "jcry" varchar(32) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea,
  "xjsl" int4,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."xjdx" IS '巡检对象';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."xjsl" IS '巡检数量';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_xjjl"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_xjjl" IS '巡检记录属性结构表';

-- ----------------------------
-- Table structure for ps_jg_tfsjqx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_tfsjqx";
CREATE TABLE "ztfbk_sjg"."ps_jg_tfsjqx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sjmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjsm" varchar(255) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "gljcss" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xyjb" int4 NOT NULL,
  "xczp" varchar(1000) COLLATE "pg_catalog"."default",
  "qxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "cldw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL,
  "lb" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."sjsm" IS '事件说明';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."gljcss" IS '关联基础设施';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."xyjb" IS '响应级别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."qxnr" IS '抢修内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."cldw" IS '处理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_tfsjqx"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_tfsjqx" IS '突发事件抢修';

-- ----------------------------
-- Table structure for ps_jg_rcwhwx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_rcwhwx";
CREATE TABLE "ztfbk_sjg"."ps_jg_rcwhwx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "whwxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbss" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "lxdh" varchar(16) COLLATE "pg_catalog"."default",
  "yhdw" varchar(100) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjl" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL,
  "lb" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."whwxnr" IS '维护维修内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."sbss" IS '设备设施';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."yhdw" IS '养护单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."jcff" IS '检测方法';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."jcjl" IS '检测结论';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_rcwhwx"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_rcwhwx" IS '日常维护维修';

-- ----------------------------
-- Table structure for ps_jg_qxqxd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_qxqxd";
CREATE TABLE "ztfbk_sjg"."ps_jg_qxqxd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "mc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "lx" varchar(100) COLLATE "pg_catalog"."default",
  "dcrq" date,
  "qyqkms" varchar(255) COLLATE "pg_catalog"."default",
  "tbdw" varchar(100) COLLATE "pg_catalog"."default",
  "tbrq" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL,
  "lb" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."mc" IS '名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."lx" IS '类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."dcrq" IS '调查日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."qyqkms" IS '区域情况描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_qxqxd"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_qxqxd" IS '抢修抢险点';

-- ----------------------------
-- Table structure for ps_jg_ljgwgzjd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_ljgwgzjd";
CREATE TABLE "ztfbk_sjg"."ps_jg_ljgwgzjd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "jhgzcd" numeric(9,2) NOT NULL,
  "ygzcd" numeric(9,2) NOT NULL,
  "wgzcd" numeric(9,2) NOT NULL,
  "gzzcd" numeric(9,2) NOT NULL,
  "nf" int4 NOT NULL,
  "lb" int4 NOT NULL,
  "xyljgwzc" numeric(9,2) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."jhgzcd" IS '计划改造总长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."ygzcd" IS '已改造长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."wgzcd" IS '未改造长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."gzzcd" IS '改造中长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."nf" IS '年份';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."lb" IS '类别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."xyljgwzc" IS '现有老旧管网总长';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_ljgwgzjd"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_ljgwgzjd" IS '老旧管网改造进度相关结构表';

-- ----------------------------
-- Table structure for ps_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."ps_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(10,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_jhxm" IS '计划项目属性结构表';

-- ----------------------------
-- Table structure for ps_jg_dsfsgzx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jg_dsfsgzx";
CREATE TABLE "ztfbk_sjg"."ps_jg_dsfsgzx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "szjd" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xxdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jhkssj" date,
  "jhjssj" date,
  "sjkssj" date NOT NULL,
  "sjjssj" date NOT NULL,
  "sgsd" numeric(6,2) NOT NULL,
  "jsdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwfzr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jsdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfzr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdwfzrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "jldw" varchar(255) COLLATE "pg_catalog"."default",
  "jldwfzr" varchar(255) COLLATE "pg_catalog"."default",
  "jldwfzrlxdh" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL,
  "lb" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."szjd" IS '所在街道';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."xxdz" IS '施工项目地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jhkssj" IS '计划开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jhjssj" IS '计划结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sjkssj" IS '实际开始时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sjjssj" IS '实际结束时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sgsd" IS '施工深度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jsdwfzr" IS '建设单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jsdwfzrlxdh" IS '建设单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sgdwfzr" IS '施工单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sgdwfzrlxdh" IS '施工单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jldwfzr" IS '监理单位负责人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."jldwfzrlxdh" IS '监理单位负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jg_dsfsgzx"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jg_dsfsgzx" IS '第三方施工专项';

-- ----------------------------
-- Table structure for ps_jc_yldjssj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_yldjssj";
CREATE TABLE "ztfbk_sjg"."ps_jc_yldjssj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "yldbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jysd" numeric(6,2) NOT NULL,
  "jyfw" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "tssc" int4 NOT NULL,
  "jssj" date NOT NULL,
  "yxrs" int4,
  "tbdw" varchar(100) COLLATE "pg_catalog"."default",
  "tbrq" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."yldbm" IS '易涝点编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."jysd" IS '积淹深度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."jyfw" IS '积淹范围';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."tssc" IS '退水时长';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."jssj" IS '积水时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."yxrs" IS '影响人数';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_yldjssj"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_yldjssj" IS '易涝点积水事件信息属性结构表';

-- ----------------------------
-- Table structure for ps_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_spjk";
CREATE TABLE "ztfbk_sjg"."ps_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_spjk" IS '视频监控属性结构表';

-- ----------------------------
-- Table structure for ps_jc_jcyj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_jcyj";
CREATE TABLE "ztfbk_sjg"."ps_jc_jcyj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "yjmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssbh" varchar(64) COLLATE "pg_catalog"."default",
  "yjlx" int4,
  "yjdz" varchar(255) COLLATE "pg_catalog"."default",
  "yjjb" int4,
  "yjzt" int4,
  "yjscsj" date,
  "yjsbsj" date,
  "yjjs" varchar COLLATE "pg_catalog"."default",
  "yjbg" bytea,
  "ypfx" varchar COLLATE "pg_catalog"."default",
  "fxbg" bytea,
  "czzt" int4,
  "czr" varchar(32) COLLATE "pg_catalog"."default",
  "czsj" date,
  "czjy" varchar COLLATE "pg_catalog"."default",
  "czbg" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjmc" IS '预警名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjssmc" IS '预警设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjssbh" IS '预警设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjlx" IS '预警类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjdz" IS '预警地址';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjjb" IS '预警级别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjzt" IS '预警状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjscsj" IS '预警生成时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjsbsj" IS '预警上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjjs" IS '预警简述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yjbg" IS '预警报告';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."ypfx" IS '研判分析';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."fxbg" IS '分析报告';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."czr" IS '处置人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."czjy" IS '处置建议';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."czbg" IS '处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcyj"."tbsj" IS '数据同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_jcyj" IS '监测预警属性结构表';

-- ----------------------------
-- Table structure for ps_jc_jcxyz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_jcxyz";
CREATE TABLE "ztfbk_sjg"."ps_jc_jcxyz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "bjyz" numeric(13,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."bjyz" IS '报警阈值';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcxyz"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_jcxyz" IS '监测项阈值属性结构表';

-- ----------------------------
-- Table structure for ps_jc_jcsb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_jcsb";
CREATE TABLE "ztfbk_sjg"."ps_jc_jcsb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dwbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(32) COLLATE "pg_catalog"."default",
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "scpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbzt" int4 NOT NULL,
  "csmc" varchar(50) COLLATE "pg_catalog"."default",
  "xdgd" numeric(10,3),
  "azsj" date,
  "azwhdw" varchar(100) COLLATE "pg_catalog"."default",
  "gdfs" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "lb" int4 NOT NULL DEFAULT 1
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."cjpl" IS '采集频率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."scpl" IS '上传频率';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."sbzt" IS '设备状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."csmc" IS '厂商名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."xdgd" IS '相对高度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."azsj" IS '安装时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."azwhdw" IS '安装维护单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."gdfs" IS '供电方式';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcsb"."lb" IS '类别：1(雨水)/2(污水)/3(合流)';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_jcsb" IS '监测设备属性结构表';

-- ----------------------------
-- Table structure for ps_jc_jcbj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_jcbj";
CREATE TABLE "ztfbk_sjg"."ps_jc_jcbj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default",
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default",
  "dwbsm" varchar(64) COLLATE "pg_catalog"."default",
  "bjbh" varchar(64) COLLATE "pg_catalog"."default",
  "bjmc" varchar(50) COLLATE "pg_catalog"."default",
  "ccbjsj" date,
  "ccbjz" numeric(18,2),
  "dqbjjb" varchar(16) COLLATE "pg_catalog"."default",
  "dqbjsj" date,
  "dqbjz" numeric(18,2),
  "jcbjzb" varchar(32) COLLATE "pg_catalog"."default",
  "ljbjpc" int4,
  "bjjcsj" date,
  "bjjcsm" varchar(255) COLLATE "pg_catalog"."default",
  "bjsfjc" varchar(1) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bjbh" IS '报警编号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bjmc" IS '报警名称';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."ccbjsj" IS '初次报警时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."ccbjz" IS '初次报警值';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."dqbjjb" IS '当前报警级别';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."dqbjsj" IS '当前报警时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."dqbjz" IS '当前报警值';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."jcbjzb" IS '监测报警指标';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."ljbjpc" IS '累计报警频次';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bjjcsj" IS '报警解除时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bjjcsm" IS '报警解除说明';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bjsfjc" IS '报警是否解除';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_jcbj"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_jcbj" IS '监测报警属性结构表 ';

-- ----------------------------
-- Table structure for ps_jc_gdqxjc
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_gdqxjc";
CREATE TABLE "ztfbk_sjg"."ps_jc_gdqxjc" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "ssbm" varchar(170) COLLATE "pg_catalog"."default" NOT NULL,
  "jcsj" timestamp(6) NOT NULL,
  "jcdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "jcr" varchar(32) COLLATE "pg_catalog"."default",
  "lxdh" varchar(16) COLLATE "pg_catalog"."default",
  "jcff" int4,
  "jcfx" int4,
  "fdqk" varchar(100) COLLATE "pg_catalog"."default",
  "ynhd" numeric(5,3),
  "gnxqxlx" int4,
  "gnxqxcd" numeric(7,3),
  "gnxqxwz" varchar(100) COLLATE "pg_catalog"."default",
  "gnxqxdj" int4,
  "jgxqxlx" varchar(100) COLLATE "pg_catalog"."default",
  "jgxqxcd" numeric(7,3),
  "jgxqxwz" varchar(100) COLLATE "pg_catalog"."default",
  "xfzsri" numeric(4,2),
  "yhzsmi" numeric(4,2),
  "qxms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yxwj" varchar COLLATE "pg_catalog"."default",
  "tbdw" varchar(100) COLLATE "pg_catalog"."default",
  "tbrq" timestamp(6),
  "bz" varchar(100) COLLATE "pg_catalog"."default",
  "jgxqxdj" int4,
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjzbzt" varchar(10) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(6)
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jcsj" IS '检测时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jcdw" IS '检测单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jcr" IS '检测人';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."lxdh" IS '联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jcff" IS '检测方法';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jcfx" IS '检测方向';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."fdqk" IS '封堵情况';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."ynhd" IS '淤泥厚度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."gnxqxlx" IS '功能性缺陷类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."gnxqxcd" IS '功能性缺陷长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."gnxqxwz" IS '功能性缺陷位置	GNXQXWZ';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."gnxqxdj" IS '功能性缺陷等级';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jgxqxlx" IS '结构性缺陷类型';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jgxqxcd" IS '结构性缺陷长度';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jgxqxwz" IS '结构性缺陷位置';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."xfzsri" IS '修复指数 RI';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."yhzsmi" IS '养护指数 MI';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."qxms" IS '缺陷描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."yxwj" IS '影像文件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."tbdw" IS '填报单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."tbrq" IS '填报日期';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."jgxqxdj" IS '结构性缺陷等级';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."sjzbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_gdqxjc"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_gdqxjc" IS '管道缺陷检测';

-- ----------------------------
-- Table structure for ps_jc_bjfx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_bjfx";
CREATE TABLE "ztfbk_sjg"."ps_jc_bjfx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default",
  "bjbh" varchar(64) COLLATE "pg_catalog"."default",
  "bjdwwz" varchar(255) COLLATE "pg_catalog"."default",
  "ddxcsj" date,
  "fxnr" varchar(255) COLLATE "pg_catalog"."default",
  "xcpcry" varchar(32) COLLATE "pg_catalog"."default",
  "xcpcrysj" varchar(15) COLLATE "pg_catalog"."default",
  "xcryfxbg" varchar COLLATE "pg_catalog"."default",
  "xctpspwj" varchar COLLATE "pg_catalog"."default",
  "xczkms" varchar COLLATE "pg_catalog"."default",
  "gxsj" date,
  "zsry" varchar(32) COLLATE "pg_catalog"."default",
  "zsrydw" varchar(100) COLLATE "pg_catalog"."default",
  "zsryfxjs" varchar(500) COLLATE "pg_catalog"."default",
  "zsryfxsj" date,
  "zsrysj" varchar(15) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."bjbh" IS '报警编号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."bjdwwz" IS '报警点位位置';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."ddxcsj" IS '到达现场时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."fxnr" IS '分析内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."xcpcry" IS '现场排查人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."xcpcrysj" IS '现场排查人员手机';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."xcryfxbg" IS '现场人员分析报告';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."xctpspwj" IS '现场图片视频文件';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."xczkms" IS '现场状况描述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."gxsj" IS '更新时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."zsry" IS '值守人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."zsrydw" IS '值守人员单位';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."zsryfxjs" IS '值守人员分析简述';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."zsryfxsj" IS '值守人员分析时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."zsrysj" IS '值守人员手机';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjfx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_bjfx" IS '报警分析属性结构表';

-- ----------------------------
-- Table structure for ps_jc_bjcz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."ps_jc_bjcz";
CREATE TABLE "ztfbk_sjg"."ps_jc_bjcz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default",
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "bjbh" varchar(64) COLLATE "pg_catalog"."default",
  "czbg" varchar(255) COLLATE "pg_catalog"."default",
  "cznr" varchar COLLATE "pg_catalog"."default",
  "czsj" date,
  "czzt" int4,
  "gxsj" date,
  "jlry" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."bjbh" IS '报警编号';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."czbg" IS '处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."cznr" IS '处置内容';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."gxsj" IS '更新时间';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."jlry" IS '记录人员';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."ps_jc_bjcz"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."ps_jc_bjcz" IS '报警处置属性结构表';

-- ----------------------------
-- Table structure for gs_js_jcd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_js_jcd";
CREATE TABLE "ztfbk_sjg"."gs_js_jcd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dwmc" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "ssmc" varchar(64) COLLATE "pg_catalog"."default",
  "ssbm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jcwz" varchar(200) COLLATE "pg_catalog"."default",
  "gc" numeric(10,3),
  "gcjz" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "xzb" varchar(50) COLLATE "pg_catalog"."default",
  "yzb" varchar(50) COLLATE "pg_catalog"."default",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."dwmc" IS '点位名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."ssmc" IS '设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."ssbm" IS '设施编码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."jcwz" IS '监测位置';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."gc" IS '高程';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."gcjz" IS '高程基准';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."xzb" IS 'x坐标';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_jcd"."yzb" IS 'y坐标';
COMMENT ON TABLE "ztfbk_sjg"."gs_js_jcd" IS '监测点属性结构表';

-- ----------------------------
-- Table structure for gs_js_gsyhsl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_js_gsyhsl";
CREATE TABLE "ztfbk_sjg"."gs_js_gsyhsl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "zyhsl" int4 NOT NULL,
  "jmyhsl" int4 NOT NULL,
  "fjmyhsl" int4 NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."zyhsl" IS '总用户数量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."jmyhsl" IS '居民用户数量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."fjmyhsl" IS '非居民用户数量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gsyhsl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_js_gsyhsl" IS '供水用户数量属性结构表';

-- ----------------------------
-- Table structure for gs_js_gslxx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_js_gslxx";
CREATE TABLE "ztfbk_sjg"."gs_js_gslxx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "ngsl" numeric(14,4) NOT NULL,
  "ydcsgsl" numeric(12,4) NOT NULL,
  "ydcxtcqygsl" numeric(12,4) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."ngsl" IS '年供水量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."ydcsgsl" IS '月度城市供水量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."ydcxtcqygsl" IS '月度城乡统筹区域供水量';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_gslxx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_js_gslxx" IS '供水量信息属性结构表';

-- ----------------------------
-- Table structure for gs_js_cz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_js_cz";
CREATE TABLE "ztfbk_sjg"."gs_js_cz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "czlx" varchar(40) COLLATE "pg_catalog"."default" NOT NULL,
  "syzt" int4,
  "czmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "symc" varchar(50) COLLATE "pg_catalog"."default",
  "sylx" varchar(20) COLLATE "pg_catalog"."default",
  "qsgm" varchar(50) COLLATE "pg_catalog"."default",
  "yjsymc" varchar(50) COLLATE "pg_catalog"."default",
  "yjsylx" varchar(40) COLLATE "pg_catalog"."default",
  "yjqsgm" varchar(50) COLLATE "pg_catalog"."default",
  "yjqsts" int4,
  "gsgm" varchar(50) COLLATE "pg_catalog"."default",
  "gsrk" numeric(10,2),
  "gsqy" varchar(50) COLLATE "pg_catalog"."default",
  "clgy" varchar(50) COLLATE "pg_catalog"."default",
  "tcrq" date,
  "zyzlx" varchar(50) COLLATE "pg_catalog"."default",
  "jgrq" date,
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "jsdw" varchar(100) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."czlx" IS '厂站类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."syzt" IS '使用状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."czmc" IS '厂站名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."symc" IS '水源名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."sylx" IS '水源类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."qsgm" IS '取水规模';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."yjsymc" IS '应急水源名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."yjsylx" IS '应急水源类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."yjqsgm" IS '应急取水规模';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."yjqsts" IS '应急取水天数';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."gsgm" IS '供水规模';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."gsrk" IS '供水人口';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."gsqy" IS '供水区域';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."clgy" IS '处理工艺';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."tcrq" IS '投产日期';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."zyzlx" IS '增压站类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."jgrq" IS '竣工日期';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_js_cz"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."gs_js_cz" IS '厂站属性结构表';

-- ----------------------------
-- Table structure for gs_jg_xjxcdsfsgwt
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_xjxcdsfsgwt";
CREATE TABLE "ztfbk_sjg"."gs_jg_xjxcdsfsgwt" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xjyhbsm" varchar(32) COLLATE "pg_catalog"."default",
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sfsjgcjx" bool NOT NULL,
  "wtfl" int4,
  "wtms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbsj" timestamp(6) NOT NULL,
  "wtczdw" varchar(100) COLLATE "pg_catalog"."default",
  "wtczfzr" varchar(32) COLLATE "pg_catalog"."default",
  "wtczfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "wtczsj" timestamp(6),
  "wtczjs" varchar(255) COLLATE "pg_catalog"."default",
  "czzt" int4 NOT NULL,
  "czfj" bytea,
  "xctp" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "wtsbdw" varchar(100) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."xjyhbsm" IS '巡检养护标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."sfsjgcjx" IS '是否涉及工程机械';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtfl" IS '问题分类';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtms" IS '问题描述';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."jcdz" IS '检查地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtsbr" IS '问题上报人';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtsbsj" IS '问题上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtczdw" IS '问题处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtczfzr" IS '问题处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtczfzrlxdh" IS '问题处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtczsj" IS '问题处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtczjs" IS '问题处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."czfj" IS '处置附件';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."xctp" IS '现场图片';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."wtsbdw" IS '问题上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjxcdsfsgwt"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_xjxcdsfsgwt" IS '巡检养护第三方施工问题属性结构表';

-- ----------------------------
-- Table structure for gs_jg_xjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_xjjl";
CREATE TABLE "ztfbk_sjg"."gs_jg_xjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xjdx" int4 NOT NULL,
  "jcdy" varchar(255) COLLATE "pg_catalog"."default",
  "jcxm" varchar(255) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default",
  "jcnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjg" varchar(255) COLLATE "pg_catalog"."default",
  "czyh" varchar(255) COLLATE "pg_catalog"."default",
  "jcrq" timestamp(6) NOT NULL,
  "jcry" varchar(32) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."xjdx" IS '巡检对象';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_xjjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_xjjl" IS '巡检记录属性结构表';

-- ----------------------------
-- Table structure for gs_jg_tfsjqx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_tfsjqx";
CREATE TABLE "ztfbk_sjg"."gs_jg_tfsjqx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sjmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjsm" varchar(255) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "gljcss" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xyjb" int4 NOT NULL,
  "xczp" varchar(1000) COLLATE "pg_catalog"."default",
  "qxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "cldw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."sjsm" IS '事件说明';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."gljcss" IS '关联基础设施';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."xyjb" IS '响应级别';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."qxnr" IS '抢修内容';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."cldw" IS '处理单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_tfsjqx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_tfsjqx" IS '突发事件抢修';

-- ----------------------------
-- Table structure for gs_jg_ljgwgzlsqk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_ljgwgzlsqk";
CREATE TABLE "ztfbk_sjg"."gs_jg_ljgwgzlsqk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dnjhgzljgwzc" int4 NOT NULL,
  "ljgwygzcd" int4 NOT NULL,
  "ljgwgzzcd" int4 NOT NULL,
  "ljgwwgzcd" int4 NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "ljgwzc" int4 NOT NULL,
  "nf" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."dnjhgzljgwzc" IS '当年计划改造老旧管网总长';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."ljgwygzcd" IS '老旧管网已改造长度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."ljgwgzzcd" IS '老旧管网改造中长度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."ljgwwgzcd" IS '老旧管网未改造长度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."ljgwzc" IS '老旧管网总长';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_ljgwgzlsqk"."nf" IS '年份';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_ljgwgzlsqk" IS '老旧管网改造落实情况属性结构表';

-- ----------------------------
-- Table structure for gs_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."gs_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(10,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_jhxm" IS '计划项目属性结构表';

-- ----------------------------
-- Table structure for gs_jg_gwfxhczxx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jg_gwfxhczxx";
CREATE TABLE "ztfbk_sjg"."gs_jg_gwfxhczxx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "fxbh" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "fxly" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" int4 NOT NULL,
  "gwbsm" varchar(32) COLLATE "pg_catalog"."default",
  "xxdz" varchar(200) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "tbry" varchar(50) COLLATE "pg_catalog"."default",
  "pgsj" timestamp(6) NOT NULL,
  "gkzt" int4 NOT NULL,
  "czsj" timestamp(6),
  "gkcs" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
  "czjg" varchar(200) COLLATE "pg_catalog"."default",
  "fxms" varchar(1000) COLLATE "pg_catalog"."default" NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "qsdw" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjcgpcbh" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdymc" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdywybs" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "glgdbh" varchar COLLATE "pg_catalog"."default" NOT NULL,
  "pgdywz" varchar COLLATE "pg_catalog"."default" NOT NULL,
  "pgdygdcd" numeric(11,3) NOT NULL,
  "knxdj" int4 NOT NULL,
  "hgdj" int4 NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."fxbh" IS '风险编号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."fxly" IS '风险来源';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."fxdj" IS '风险等级：1(Ⅰ级风险)/2(Ⅱ级风险)/3(Ⅲ级风险)/4(Ⅳ级风险)';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."gwbsm" IS '管网标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."xxdz" IS '详细地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgdw" IS '评估单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."tbry" IS '填报人员';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgsj" IS '评估时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."gkzt" IS '管控状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."gkcs" IS '管控措施';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."czjg" IS '处置结果';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."fxms" IS '风险描述';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."qsdw" IS '权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."sjcgpcbh" IS '数据成果批次编号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgdymc" IS '评估单元名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgdywybs" IS '评估单元唯一标识';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."glgdbh" IS '关联管段编号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgdywz" IS '评估单元位置';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."pgdygdcd" IS '评估单元管道长度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."knxdj" IS '可能性等级';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."hgdj" IS '后果等级';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jg_gwfxhczxx"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."gs_jg_gwfxhczxx" IS '管网风险&处置信息属性结构表';

-- ----------------------------
-- Table structure for gs_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jc_spjk";
CREATE TABLE "ztfbk_sjg"."gs_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."gs_jc_spjk" IS '视频监控属性结构表';

-- ----------------------------
-- Table structure for gs_jc_jcyj
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jc_jcyj";
CREATE TABLE "ztfbk_sjg"."gs_jc_jcyj" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "yjmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssmc" varchar(50) COLLATE "pg_catalog"."default",
  "yjssbh" varchar(64) COLLATE "pg_catalog"."default",
  "yjlx" int4,
  "yjdz" varchar(255) COLLATE "pg_catalog"."default",
  "yjjb" int4,
  "yjzt" int4,
  "yjscsj" date,
  "yjsbsj" date,
  "yjjs" varchar COLLATE "pg_catalog"."default",
  "yjbg" bytea,
  "ypfx" varchar COLLATE "pg_catalog"."default",
  "fxbg" bytea,
  "czzt" int4,
  "czr" varchar(32) COLLATE "pg_catalog"."default",
  "czsj" date,
  "czjy" varchar COLLATE "pg_catalog"."default",
  "czbg" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(32) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" date
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjmc" IS '预警名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjssmc" IS '预警设施名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjssbh" IS '预警设施编号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjlx" IS '预警类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjdz" IS '预警地址';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjjb" IS '预警级别';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjzt" IS '预警状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjscsj" IS '预警生成时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjsbsj" IS '预警上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjjs" IS '预警简述';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yjbg" IS '预警报告';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."ypfx" IS '研判分析';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."fxbg" IS '分析报告';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."czr" IS '处置人';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."czsj" IS '处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."czjy" IS '处置建议';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."czbg" IS '处置报告';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcyj"."tbsj" IS '数据同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jc_jcyj" IS '监测预警属性结构表';

-- ----------------------------
-- Table structure for gs_jc_jcxyz
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jc_jcxyz";
CREATE TABLE "ztfbk_sjg"."gs_jc_jcxyz" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbbsm" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "bjyz" numeric(13,3) NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."sbbsm" IS '设备标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."bjyz" IS '报警阈值';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcxyz"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jc_jcxyz" IS '监测项阈值属性结构表';

-- ----------------------------
-- Table structure for gs_jc_jcsb
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."gs_jc_jcsb";
CREATE TABLE "ztfbk_sjg"."gs_jc_jcsb" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dwbsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sblx" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(50) COLLATE "pg_catalog"."default",
  "jczb" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "scpl" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sbzt" int4 NOT NULL,
  "csmc" varchar(50) COLLATE "pg_catalog"."default",
  "xdgd" numeric(10,3),
  "azsj" date,
  "azwhdw" varchar(100) COLLATE "pg_catalog"."default",
  "gdfs" varchar(32) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."dwbsm" IS '点位标识码';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."sblx" IS '设备类型';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."jczb" IS '监测指标';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."cjpl" IS '采集频率';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."scpl" IS '上传频率';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."sbzt" IS '设备状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."csmc" IS '厂商名称';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."xdgd" IS '相对高度';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."azsj" IS '安装时间';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."azwhdw" IS '安装维护单位';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."gdfs" IS '供电方式';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."gs_jc_jcsb"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."gs_jc_jcsb" IS '监测设备属性结构表';

-- ----------------------------
-- Table structure for dl_js_sd
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_js_sd";
CREATE TABLE "ztfbk_sjg"."dl_js_sd" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sdmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dmlx" int4 NOT NULL,
  "dmcc" numeric(4,2) NOT NULL,
  "dk" numeric(4,2),
  "dscd" numeric(6,2) NOT NULL,
  "zdmj" numeric(10,2),
  "dskd" numeric(6,2) NOT NULL,
  "dsgd" numeric(6,2) NOT NULL,
  "cqxs" int4 NOT NULL,
  "lmlx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "yjtdsl" varchar(100) COLLATE "pg_catalog"."default",
  "ssflx" int4 NOT NULL,
  "xg" numeric(12,2) NOT NULL,
  "jcrq" date NOT NULL,
  "gjrq" date,
  "gyqx" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "yhlb" int4 NOT NULL,
  "yhdj" int4 NOT NULL,
  "kzsfld" int4,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(255) COLLATE "pg_catalog"."default",
  "sjzbzt" varchar(10) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(6)
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."sdmc" IS '隧道名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dmlx" IS '洞门类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dmcc" IS '洞门尺寸';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dk" IS '洞口';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dscd" IS '洞身长度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."zdmj" IS '占地面积';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dskd" IS '洞身宽度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."dsgd" IS '洞身高度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."cqxs" IS '衬砌型式';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."lmlx" IS '路面类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."yjtdsl" IS '应急通道数量';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."ssflx" IS '伸缩缝类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."xg" IS '限高';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."jcrq" IS '建成日期';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."gjrq" IS '改建日期';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."gyqx" IS '管养期限';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."yhlb" IS '养护类别';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."yhdj" IS '养护等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."kzsfld" IS '抗震设防烈度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."sjzbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_sd"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."dl_js_sd" IS '隧道属性结构表';

-- ----------------------------
-- Table structure for dl_js_dlfsss
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_js_dlfsss";
CREATE TABLE "ztfbk_sjg"."dl_js_dlfsss" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dlmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dlqd" varchar(100) COLLATE "pg_catalog"."default",
  "dlzd" varchar(100) COLLATE "pg_catalog"."default",
  "dx" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "dgsl" int4 NOT NULL,
  "dzsl" int4 NOT NULL,
  "js" int4,
  "zhdgsl" int4 NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dlqd" IS '道路起点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dlzd" IS '道路终点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dx" IS '灯型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dgsl" IS '灯杆数量';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."dzsl" IS '灯盏数量';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."js" IS '基数';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."zhdgsl" IS '智慧灯杆数量';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_dlfsss"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."dl_js_dlfsss" IS '道路附属设施属性结构表';

-- ----------------------------
-- Table structure for dl_js_csdl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_js_csdl";
CREATE TABLE "ztfbk_sjg"."dl_js_csdl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dlmc" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "dlqd" varchar(100) COLLATE "pg_catalog"."default",
  "dlzd" varchar(100) COLLATE "pg_catalog"."default",
  "dlzx" int4,
  "dldj" int4 NOT NULL,
  "glfl" int4 NOT NULL,
  "yhdj" int4 NOT NULL,
  "dlcd" numeric(12,2) NOT NULL,
  "dlkd" numeric(8,2) NOT NULL,
  "dlmj" numeric(12,2) NOT NULL,
  "jsdw" varchar(100) COLLATE "pg_catalog"."default",
  "sjdw" varchar(100) COLLATE "pg_catalog"."default",
  "sgdw" varchar(100) COLLATE "pg_catalog"."default",
  "jldw" varchar(100) COLLATE "pg_catalog"."default",
  "gldw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "yhdw" varchar(100) COLLATE "pg_catalog"."default",
  "jgny" date,
  "dglx" varchar(100) COLLATE "pg_catalog"."default",
  "gylx" varchar(100) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "kjxx" "public"."geometry",
  "zbxx" varchar(2000) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlqd" IS '道路起点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlzd" IS '道路终点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlzx" IS '道路走向';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dldj" IS '道路等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."glfl" IS '管理分类';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."yhdj" IS '养护等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlcd" IS '道路长度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlkd" IS '道路宽度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dlmj" IS '道路面积';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."jsdw" IS '建设单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."sjdw" IS '设计单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."sgdw" IS '施工单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."jldw" IS '监理单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."gldw" IS '管理单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."yhdw" IS '养护单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."jgny" IS '竣工年月';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."dglx" IS '灯杆类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."gylx" IS '光源类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."kjxx" IS '空间信息';
COMMENT ON COLUMN "ztfbk_sjg"."dl_js_csdl"."zbxx" IS '坐标信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_js_csdl" IS '城市道路属性结构表';

-- ----------------------------
-- Table structure for dl_jg_yhwx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_yhwx";
CREATE TABLE "ztfbk_sjg"."dl_jg_yhwx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "bhbw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "yhlx" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "yhzt" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "dlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."bhbw" IS '病害部位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."yhlx" IS '养护类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."yhzt" IS '养护状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_yhwx"."dlmc" IS '道路名称';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_yhwx" IS '道路养护维修属性结构表';

-- ----------------------------
-- Table structure for dl_jg_xjxcdsfsgwt
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_xjxcdsfsgwt";
CREATE TABLE "ztfbk_sjg"."dl_jg_xjxcdsfsgwt" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xjyhbsm" varchar(32) COLLATE "pg_catalog"."default",
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sfsjgcjx" bool NOT NULL,
  "wtfl" int4,
  "wtms" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbr" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "wtsbsj" timestamp(6) NOT NULL,
  "wtczdw" varchar(100) COLLATE "pg_catalog"."default",
  "wtczfzr" varchar(32) COLLATE "pg_catalog"."default",
  "wtczfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "wtczsj" timestamp(6),
  "wtczjs" varchar(255) COLLATE "pg_catalog"."default",
  "czzt" int4 NOT NULL,
  "czfj" bytea,
  "xctp" bytea,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "wtsbdw" varchar(100) COLLATE "pg_catalog"."default",
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."xjyhbsm" IS '巡检养护标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."sfsjgcjx" IS '是否涉及工程机械';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtfl" IS '问题分类';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtms" IS '问题描述';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."jcdz" IS '检查地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtsbr" IS '问题上报人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtsbsj" IS '问题上报时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtczdw" IS '问题处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtczfzr" IS '问题处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtczfzrlxdh" IS '问题处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtczsj" IS '问题处置时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtczjs" IS '问题处置简述';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."czzt" IS '处置状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."czfj" IS '处置附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."xctp" IS '现场图片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."wtsbdw" IS '问题上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjxcdsfsgwt"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_xjxcdsfsgwt" IS '巡检养护第三方施工问题属性结构表';

-- ----------------------------
-- Table structure for dl_jg_xjjl
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_xjjl";
CREATE TABLE "ztfbk_sjg"."dl_jg_xjjl" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "xjdx" int4 NOT NULL,
  "jcdy" varchar(255) COLLATE "pg_catalog"."default",
  "jcxm" varchar(255) COLLATE "pg_catalog"."default",
  "jcff" varchar(255) COLLATE "pg_catalog"."default",
  "jcnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jcjg" varchar(255) COLLATE "pg_catalog"."default",
  "czyh" varchar(255) COLLATE "pg_catalog"."default",
  "jcrq" timestamp(6) NOT NULL,
  "jcry" varchar(32) COLLATE "pg_catalog"."default",
  "ssqsdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" bytea NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."xjdx" IS '巡检对象';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcdy" IS '检查单元';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcxm" IS '检查项目';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcff" IS '检查方法';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcnr" IS '检查内容';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcjg" IS '检查结果';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."czyh" IS '存在隐患';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcrq" IS '检查日期';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."jcry" IS '检查人员';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."ssqsdw" IS '设施权属单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_xjjl"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_xjjl" IS '巡检记录属性结构表';

-- ----------------------------
-- Table structure for dl_jg_tfsjqx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_tfsjqx";
CREATE TABLE "ztfbk_sjg"."dl_jg_tfsjqx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sjmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "sjsm" varchar(255) COLLATE "pg_catalog"."default",
  "dz" varchar(255) COLLATE "pg_catalog"."default",
  "gljcss" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xyjb" int4 NOT NULL,
  "xczp" varchar(1000) COLLATE "pg_catalog"."default",
  "qxnr" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "cljg" varchar(255) COLLATE "pg_catalog"."default",
  "clrq" date,
  "clry" varchar(32) COLLATE "pg_catalog"."default",
  "cldw" varchar(100) COLLATE "pg_catalog"."default",
  "fj" varchar(1000) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."sjmc" IS '事件名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."sjsm" IS '事件说明';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."dz" IS '地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."gljcss" IS '关联基础设施';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."xyjb" IS '响应级别';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."qxnr" IS '抢修内容';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."cljg" IS '处理结果';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."clrq" IS '处理日期';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."clry" IS '处理人员';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."cldw" IS '处理单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_tfsjqx"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_tfsjqx" IS '突发事件抢修';

-- ----------------------------
-- Table structure for dl_jg_jhxm
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_jhxm";
CREATE TABLE "ztfbk_sjg"."dl_jg_jhxm" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default",
  "xmmc" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "xmlx" varchar(8) COLLATE "pg_catalog"."default",
  "zgdw" varchar(100) COLLATE "pg_catalog"."default",
  "xmnr" varchar(255) COLLATE "pg_catalog"."default",
  "jhnd" int4 NOT NULL,
  "xmjszq" int4 NOT NULL,
  "xmtze" numeric(10,3),
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default",
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default",
  "tbsj" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xmmc" IS '项目名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xmlx" IS '项目类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xmnr" IS '项目内容';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."jhnd" IS '计划年度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xmjszq" IS '项目建设周期';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."xmtze" IS '项目投资额';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jhxm"."tbsj" IS '同步时间';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_jhxm" IS '计划项目属性结构表';

-- ----------------------------
-- Table structure for dl_jg_jcbhxx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jg_jcbhxx";
CREATE TABLE "ztfbk_sjg"."dl_jg_jcbhxx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "zgdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "bhly" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "bhbw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "bhlx" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "bhsl" int4 NOT NULL
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."zgdw" IS '主管单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."jcdx" IS '检查对象，水泥混凝土路面/沥青路面/人行道路面/路基/其它';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bhly" IS '病害来源，日常巡查/定期检测/特殊检测';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bhbw" IS '病害部位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bhlx" IS '病害类型，参照CJJ 36《城镇道路养护技术规范》';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."sjtbzt" IS '数据同步状态，I(新增数据)/U(更新数据)/D(删除数据)';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jg_jcbhxx"."bhsl" IS '病害数量';
COMMENT ON TABLE "ztfbk_sjg"."dl_jg_jcbhxx" IS '道路检查病害信息属性结构表';

-- ----------------------------
-- Table structure for dl_jc_spjk
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jc_spjk";
CREATE TABLE "ztfbk_sjg"."dl_jc_spjk" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "sbmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "azdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "jkdx" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sbxh" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "sccj" varchar(100) COLLATE "pg_catalog"."default",
  "cqdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "spdz" varchar(255) COLLATE "pg_catalog"."default",
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."sbmc" IS '设备名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."azdz" IS '安装地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."jkdx" IS '监控对象';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."sbxh" IS '设备型号';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."sccj" IS '生产厂家';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."cqdw" IS '产权单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."spdz" IS '视频地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_spjk"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_jc_spjk" IS '视频监控属性结构表';

-- ----------------------------
-- Table structure for dl_jc_dltxyh
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jc_dltxyh";
CREATE TABLE "ztfbk_sjg"."dl_jc_dltxyh" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "gcmc" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "dlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "yhbh" varchar(20) COLLATE "pg_catalog"."default" NOT NULL,
  "yhmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "yhlx" int4 NOT NULL,
  "yhdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "fxdj" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cd" numeric(8,2) NOT NULL,
  "kd" numeric(8,2) NOT NULL,
  "ms" numeric(8,2) NOT NULL,
  "jg" numeric(8,2),
  "ldyx" bytea NOT NULL,
  "xczp" bytea NOT NULL,
  "yzyx" bytea,
  "cyfx" varchar(255) COLLATE "pg_catalog"."default",
  "fxsj" date NOT NULL,
  "sbdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sbry" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "rylxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "czdw" varchar(100) COLLATE "pg_catalog"."default",
  "czgc" varchar COLLATE "pg_catalog"."default",
  "czzp" bytea,
  "czfzr" varchar(32) COLLATE "pg_catalog"."default",
  "fzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "czwcsj" date,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "fj" bytea NOT NULL DEFAULT '\x'::bytea,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."gcmc" IS '工程名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."jcdw" IS '检测单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yhbh" IS '隐患编号';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yhmc" IS '隐患名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yhlx" IS '隐患类型';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yhdz" IS '隐患地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."cd" IS '长度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."kd" IS '宽度';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."ms" IS '埋深';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."jg" IS '净高';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."ldyx" IS '雷达影像';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yzyx" IS '验证影像';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."cyfx" IS '成因分析';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."fxsj" IS '发现时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."sbdw" IS '上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."sbry" IS '上报人员';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."rylxdh" IS '人员联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."czdw" IS '处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."czgc" IS '处置过程';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."czzp" IS '处置照片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."czfzr" IS '处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."fzrlxdh" IS '负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."czwcsj" IS '处置完成时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxyh"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_jc_dltxyh" IS '道路塌陷隐患属性结构表';

-- ----------------------------
-- Table structure for dl_jc_dltxsg
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jc_dltxsg";
CREATE TABLE "ztfbk_sjg"."dl_jc_dltxsg" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "dlmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sgmc" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "sgzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdj" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgly" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
  "fxsj" date NOT NULL,
  "sbdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "sbry" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "rylxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "zrdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "zrr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "zrrlxdh" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "sgdz" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "yfyy" varchar COLLATE "pg_catalog"."default",
  "ssrs" numeric(8,0) NOT NULL,
  "swrs" numeric(8,0) NOT NULL,
  "ccss" numeric(18,2) NOT NULL,
  "sgmj" numeric(18,2) NOT NULL,
  "sgtj" numeric(18,2) NOT NULL,
  "xczp" bytea,
  "czdw" varchar(100) COLLATE "pg_catalog"."default",
  "czgc" varchar COLLATE "pg_catalog"."default",
  "czzp" bytea,
  "czfzr" varchar(32) COLLATE "pg_catalog"."default",
  "czfzrlxdh" varchar(16) COLLATE "pg_catalog"."default",
  "czwcsj" date,
  "cjr" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "cjsj" date NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "fj" bytea NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgmc" IS '事故名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgzt" IS '事故状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgdj" IS '事故等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgly" IS '事故来源';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."fxsj" IS '发现时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sbdw" IS '上报单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sbry" IS '上报人员';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."rylxdh" IS '人员联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."zrdw" IS '责任单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."zrr" IS '责任人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."zrrlxdh" IS '责任人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgdz" IS '事故地址';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."yfyy" IS '引发原因';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."ssrs" IS '受伤人数';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."swrs" IS '死亡人数';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."ccss" IS '财产损失';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgmj" IS '事故面积';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sgtj" IS '事故体积';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."xczp" IS '现场照片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czdw" IS '处置单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czgc" IS '处置过程';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czzp" IS '处置照片';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czfzr" IS '处置负责人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czfzrlxdh" IS '处置负责人联系电话';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."czwcsj" IS '处置完成时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."cjr" IS '创建人';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."cjsj" IS '创建时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxsg"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_jc_dltxsg" IS '道路塌陷事故属性结构表';

-- ----------------------------
-- Table structure for dl_jc_dltxfx
-- ----------------------------
DROP TABLE IF EXISTS "ztfbk_sjg"."dl_jc_dltxfx";
CREATE TABLE "ztfbk_sjg"."dl_jc_dltxfx" (
  "bsm" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
  "xzqhdm" varchar(6) COLLATE "pg_catalog"."default" NOT NULL,
  "gcmc" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "jcdw" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdybh" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "pgdylc" int4 NOT NULL,
  "pgfz" numeric(6,2) NOT NULL,
  "dlmc" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
  "dlqd" varchar(100) COLLATE "pg_catalog"."default",
  "dlzd" varchar(100) COLLATE "pg_catalog"."default",
  "dldj" int4 NOT NULL,
  "fxdj" int4 NOT NULL,
  "bz" varchar(255) COLLATE "pg_catalog"."default",
  "yskzjbz" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
  "sjtbzt" varchar(16) COLLATE "pg_catalog"."default" NOT NULL,
  "tbsj" timestamp(6) NOT NULL,
  "pgsj" date NOT NULL,
  "fj" bytea NOT NULL,
  "kjxx" "public"."geometry" NOT NULL,
  "zbxx" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."bsm" IS '标识码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."xzqhdm" IS '行政区划代码';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."gcmc" IS '工程名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."jcdw" IS '检测单位';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."pgdybh" IS '评估单元编号';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."pgdylc" IS '评估单元里程';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."pgfz" IS '评估分值';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."dlmc" IS '道路名称';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."dlqd" IS '道路起点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."dlzd" IS '道路终点';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."dldj" IS '道路等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."fxdj" IS '风险等级';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."bz" IS '备注';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."yskzjbz" IS '原始库主键标志';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."sjtbzt" IS '数据同步状态';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."tbsj" IS '同步时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."pgsj" IS '评估时间';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."fj" IS '附件';
COMMENT ON COLUMN "ztfbk_sjg"."dl_jc_dltxfx"."kjxx" IS '空间信息';
COMMENT ON TABLE "ztfbk_sjg"."dl_jc_dltxfx" IS '道路塌陷风险属性结构表';

-- ----------------------------
-- Primary Key structure for table zy_js_zdwxy
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_zdwxy" ADD CONSTRAINT "zy_js_zdwxy_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_ylwsjg
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_ylwsjg" ADD CONSTRAINT "zy_js_ylwsjg_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_yjzj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_yjzj" ADD CONSTRAINT "zy_js_yjzj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_yjya
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_yjya" ADD CONSTRAINT "zy_js_yjya_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_yjwz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_yjwz" ADD CONSTRAINT "zy_js_yjwz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_jydw
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_jydw" ADD CONSTRAINT "zy_js_jydw_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_ck
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_ck" ADD CONSTRAINT "zy_js_ck_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zy_js_bncs
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zy_js_bncs" ADD CONSTRAINT "zy_js_bncs_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_yxjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_yxjl" ADD CONSTRAINT "zh_jg_yxjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_jhxm" ADD CONSTRAINT "rq_jg_jhxm_copy3_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_jhfxyh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_jhfxyh" ADD CONSTRAINT "zh_jg_jhfxyh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_jgcghjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_jgcghjjl" ADD CONSTRAINT "zh_jg_jgcghjjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_gxgtjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_gxgtjl" ADD CONSTRAINT "zh_jg_gxgtjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_ghphgl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_ghphgl" ADD CONSTRAINT "zh_jg_ghphgl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table zh_jg_fxjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."zh_jg_fxjl" ADD CONSTRAINT "zh_jg_fxjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Checks structure for table spatial_ref_sys
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."spatial_ref_sys" ADD CONSTRAINT "spatial_ref_sys_srid_check" CHECK (((srid > 0) AND (srid <= 998999)));

-- ----------------------------
-- Primary Key structure for table spatial_ref_sys
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."spatial_ref_sys" ADD CONSTRAINT "spatial_ref_sys_pkey" PRIMARY KEY ("srid");

-- ----------------------------
-- Primary Key structure for table sg_js_jcd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_js_jcd" ADD CONSTRAINT "sg_js_jcd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_sfjdpzjhjlmx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjlmx" ADD CONSTRAINT "sg_jg_sfjdpzjhjlmx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_sfjdpzjhjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_sfjdpzjhjl" ADD CONSTRAINT "sg_jg_sfjdpzjhjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_sfjdfb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_sfjdfb" ADD CONSTRAINT "sg_jg_sfjdfb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_sfjdecfh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_sfjdecfh" ADD CONSTRAINT "sg_jg_sfjdecfh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_sfjdbhfa
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_sfjdbhfa" ADD CONSTRAINT "sg_jg_sfjdbhfa_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_qsdwqr
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_qsdwqr" ADD CONSTRAINT "sg_jg_qsdwqr_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_jxbaxx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_jxbaxx" ADD CONSTRAINT "sg_jg_jxbaxx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_jcss
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_jcss" ADD CONSTRAINT "sg_jg_jcss_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dxdaalk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dxdaalk" ADD CONSTRAINT "sg_jg_dxdaalk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dsfsgxmxx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dsfsgxmxx" ADD CONSTRAINT "sg_jg_dsfsgxmxx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dsfsgsqgl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dsfsgsqgl" ADD CONSTRAINT "sg_jg_dsfsgsqgl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dsfsgphsj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dsfsgphsj" ADD CONSTRAINT "sg_jg_dsfsgphsj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dsfsgphczjg
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dsfsgphczjg" ADD CONSTRAINT "sg_jg_dsfsgphczjg_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jg_dsfsglhcj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jg_dsfsglhcj" ADD CONSTRAINT "sg_jg_dsfsglhcj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jc_spjk" ADD CONSTRAINT "sg_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jc_jcxyz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jc_jcxyz" ADD CONSTRAINT "sg_jc_jcxyz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table sg_jc_jcsb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."sg_jc_jcsb" ADD CONSTRAINT "sg_jc_jcsb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_js_rqyh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_js_rqyh" ADD CONSTRAINT "rq_js_rqyh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_js_jcd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_js_jcd" ADD CONSTRAINT "rq_js_jcd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_js_cz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_js_cz" ADD CONSTRAINT "rq_js_cz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_zgjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_zgjl" ADD CONSTRAINT "rq_jg_zgjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_xjxcjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_xjxcjl" ADD CONSTRAINT "rq_jg_xjxcjl_pkey1" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_xjxcdsfsgwt
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_xjxcdsfsgwt" ADD CONSTRAINT "rq_jg_xjxcdsfsgwt_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_xjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_xjjl" ADD CONSTRAINT "rq_jg_xjjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_tfsjqx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_tfsjqx" ADD CONSTRAINT "rq_jg_tfsjqx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_rqfxtj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_rqfxtj" ADD CONSTRAINT "rq_jg_rqfxtj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_rcwhwx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_rcwhwx" ADD CONSTRAINT "rq_jg_rcwhwx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_ljgwtj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_ljgwtj" ADD CONSTRAINT "rq_jg_ljgwtj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_jsxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_jsxm" ADD CONSTRAINT "rq_jg_jsxm_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_jhxm" ADD CONSTRAINT "rq_jg_jhxm_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_fxpg
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_fxpg" ADD CONSTRAINT "rq_jg_fxpg_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_dsfsgzx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_dsfsgzx" ADD CONSTRAINT "rq_jg_dsfsgzx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jg_aqjctj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jg_aqjctj" ADD CONSTRAINT "rq_jg_xjxcjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jc_spjk" ADD CONSTRAINT "rq_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jc_rqssyh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jc_rqssyh" ADD CONSTRAINT "rq_jc_rqssyh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jc_jzxyz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jc_jzxyz" ADD CONSTRAINT "rq_jc_jzxyz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jc_jcyj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jc_jcyj" ADD CONSTRAINT "rq_jc_jcyj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table rq_jc_jcsb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."rq_jc_jcsb" ADD CONSTRAINT "rq_jc_jcsb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_js_ql
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_js_ql" ADD CONSTRAINT "ql_js_ql_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_js_jcd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_js_jcd" ADD CONSTRAINT "ql_js_jcd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jg_xjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jg_xjjl" ADD CONSTRAINT "dl_jg_xjjl_copy1_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jg_jsxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jg_jsxm" ADD CONSTRAINT "ql_jg_jsxm_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jg_jhxm" ADD CONSTRAINT "ql_jg_jhxm_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jg_fxpg
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jg_fxpg" ADD CONSTRAINT "ql_jg_fxpg_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jc_spjk" ADD CONSTRAINT "ql_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jc_jcyj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jc_jcyj" ADD CONSTRAINT "rq_jc_jcyj_copy3_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jc_jcxyz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jc_jcxyz" ADD CONSTRAINT "ql_jc_jcxyz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ql_jc_jcsb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ql_jc_jcsb" ADD CONSTRAINT "ql_jc_jcsb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_zyhd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_zyhd" ADD CONSTRAINT "ps_js_zyhd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_yld
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_yld" ADD CONSTRAINT "ps_js_yld_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_xxtd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_xxtd" ADD CONSTRAINT "ps_js_xxtd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_txss
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_txss" ADD CONSTRAINT "ps_js_txss_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_psh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_psh" ADD CONSTRAINT "ps_js_psh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_psflzdbzdx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_psflzdbzdx" ADD CONSTRAINT "ps_js_psflzdbzdx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_pk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_pk" ADD CONSTRAINT "ps_js_pk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_jlss
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_jlss" ADD CONSTRAINT "ps_js_jlss_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_jcd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_jcd" ADD CONSTRAINT "ps_js_jcd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_flyjzy
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_flyjzy" ADD CONSTRAINT "ps_js_flyjzy_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_js_cz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_js_cz" ADD CONSTRAINT "ps_js_cz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_ysfxgk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_ysfxgk" ADD CONSTRAINT "ps_jg_ysfxgk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_yhjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_yhjl" ADD CONSTRAINT "ps_jg_yhjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_xjxcdsfsgwt
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_xjxcdsfsgwt" ADD CONSTRAINT "ps_jg_xjxcdsfsgwt_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_xjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_xjjl" ADD CONSTRAINT "ps_jg_xjjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_rcwhwx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_rcwhwx" ADD CONSTRAINT "ps_jg_rcwhwx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_qxqxd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_qxqxd" ADD CONSTRAINT "ps_jg_qxqxd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_ljgwgzjd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_ljgwgzjd" ADD CONSTRAINT "ps_jg_ljgwgzjd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_jhxm" ADD CONSTRAINT "rq_jg_jhxm_copy2_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jg_dsfsgzx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jg_dsfsgzx" ADD CONSTRAINT "ps_jg_dsfsgzx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jc_yldjssj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jc_yldjssj" ADD CONSTRAINT "ps_jc_yldjssj_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jc_spjk" ADD CONSTRAINT "ps_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jc_jcyj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jc_jcyj" ADD CONSTRAINT "rq_jc_jcyj_copy2_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jc_jcxyz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jc_jcxyz" ADD CONSTRAINT "ps_jc_jcxyz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table ps_jc_jcsb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."ps_jc_jcsb" ADD CONSTRAINT "ps_jc_jcsb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_js_jcd
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_js_jcd" ADD CONSTRAINT "gs_js_jcd_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_js_gsyhsl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_js_gsyhsl" ADD CONSTRAINT "gs_js_gsyhsl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_js_gslxx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_js_gslxx" ADD CONSTRAINT "gs_js_gslxx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_js_cz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_js_cz" ADD CONSTRAINT "gs_js_cz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jg_xjxcdsfsgwt
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jg_xjxcdsfsgwt" ADD CONSTRAINT "gs_jg_xjxcdsfsgwt_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jg_xjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jg_xjjl" ADD CONSTRAINT "gs_jg_xjjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jg_ljgwgzlsqk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jg_ljgwgzlsqk" ADD CONSTRAINT "gs_jg_ljgwgzlsqk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jg_jhxm" ADD CONSTRAINT "rq_jg_jhxm_copy4_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jg_gwfxhczxx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jg_gwfxhczxx" ADD CONSTRAINT "gs_jg_gwfxhczxx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jc_spjk" ADD CONSTRAINT "gs_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jc_jcyj
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jc_jcyj" ADD CONSTRAINT "rq_jc_jcyj_copy1_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jc_jcxyz
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jc_jcxyz" ADD CONSTRAINT "gs_jc_jcxyz_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table gs_jc_jcsb
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."gs_jc_jcsb" ADD CONSTRAINT "gs_jc_jcsb_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_js_dlfsss
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_js_dlfsss" ADD CONSTRAINT "dl_js_dlfsss_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_js_csdl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_js_csdl" ADD CONSTRAINT "dl_js_csdl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jg_yhwx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jg_yhwx" ADD CONSTRAINT "dl_jg_rcwhwx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jg_xjxcdsfsgwt
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jg_xjxcdsfsgwt" ADD CONSTRAINT "dl_jg_xjxcdsfsgwt_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jg_xjjl
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jg_xjjl" ADD CONSTRAINT "dl_jg_xjjl_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jg_jhxm
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jg_jhxm" ADD CONSTRAINT "rq_jg_jhxm_copy1_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jg_jcbhxx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jg_jcbhxx" ADD CONSTRAINT "dl_jg_jcbhxx_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jc_spjk
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jc_spjk" ADD CONSTRAINT "dl_jc_spjk_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jc_dltxyh
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jc_dltxyh" ADD CONSTRAINT "dl_jc_dltxyh_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jc_dltxsg
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jc_dltxsg" ADD CONSTRAINT "dl_jc_dltxsg_pkey" PRIMARY KEY ("bsm");

-- ----------------------------
-- Primary Key structure for table dl_jc_dltxfx
-- ----------------------------
ALTER TABLE "ztfbk_sjg"."dl_jc_dltxfx" ADD CONSTRAINT "dl_jc_dltxfx_pkey" PRIMARY KEY ("bsm");
