/*
 Navicat Premium Data Transfer

 Source Server         : 172.16.31.190(正式环境)
 Source Server Type    : Oracle
 Source Server Version : 110200 (Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options)
 Source Host           : 172.16.31.190:1521
 Source Schema         : QGC

 Target Server Type    : Oracle
 Target Server Version : 110200 (Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options)
 File Encoding         : 65001

 Date: 02/04/2026 09:47:01
*/


-- ----------------------------
-- Table structure for DEL_SD_DQECDAY_S
-- ----------------------------
DROP TABLE "QGC"."DEL_SD_DQECDAY_S";
CREATE TABLE "QGC"."DEL_SD_DQECDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" VARCHAR2(36 BYTE),
  "SFDB" NUMBER(1,0),
  "DTLRSN" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."DT" IS '日期';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."SFDB_HY" IS 'R表生态流量达标数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."SFDB_HN" IS 'R表生态流量未达标数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."SFDB_HO" IS 'R表生态流量异常数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."SFDB" IS '生态流量是否达标';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."DTLRSN" IS '不达标原因';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."DEL_SD_DQECDAY_S" IS '生态流量达标情况统计表';

-- ----------------------------
-- Table structure for DEL_SD_DQECDRTP_S
-- ----------------------------
DROP TABLE "QGC"."DEL_SD_DQECDRTP_S";
CREATE TABLE "QGC"."DEL_SD_DQECDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" VARCHAR2(36 BYTE),
  "SFDB" NUMBER(1,0),
  "DTLRSN" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."SFDB_HY" IS 'R表生态流量达标数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."SFDB_HN" IS 'R表生态流量未达标数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."SFDB_HO" IS 'R表生态流量异常数';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."SFDB" IS '生态流量是否达标';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DTLRSN" IS '不达标原因';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."DEL_SD_DQECDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."DEL_SD_DQECDRTP_S" IS '生态流量达标情况统计表(维度统计)';

-- ----------------------------
-- Table structure for DEL_SD_ENGFRDET_R
-- ----------------------------
DROP TABLE "QGC"."DEL_SD_ENGFRDET_R";
CREATE TABLE "QGC"."DEL_SD_ENGFRDET_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FSZ" VARCHAR2(200 BYTE) NOT NULL,
  "FCNT" NUMBER(10,0) NOT NULL,
  "STLC" VARCHAR2(512 BYTE),
  "RVNM" VARCHAR2(80 BYTE),
  "FAGE" VARCHAR2(200 BYTE),
  "BFLG" VARCHAR2(20 BYTE),
  "FPTH" VARCHAR2(1000 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "BJFCNT" NUMBER(10,0),
  "BJFTP" NVARCHAR2(200),
  "BJTP" VARCHAR2(60 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "FWEIGHT" NUMBER(12,2),
  "FID" VARCHAR2(1000 BYTE),
  "FLYR" NUMBER(4,0),
  "FLPC" NUMBER(4,0),
  "FILENAME" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FTP" NVARCHAR2(200)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."TM" IS '放流时间';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FSZ" IS '放鱼规格。单位：m';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FCNT" IS '放鱼数量.单位：尾';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."STLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."RVNM" IS '所在河流';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."BFLG" IS '是否标记';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FPTH" IS '放流照片';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."LGTD" IS '经度';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."LTTD" IS '纬度';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."BJFCNT" IS '标记数量：单位：尾';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."BJFTP" IS '标记鱼类';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."BJTP" IS '标记方式';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."RSTCD" IS '放流来源：0=其他电站设施站';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FWEIGHT" IS '重量：单位：g条';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FLYR" IS '放流批次所属年份';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FLPC" IS '放流批次';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FILENAME" IS '文件名称';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."DEL_SD_ENGFRDET_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON TABLE "QGC"."DEL_SD_ENGFRDET_R" IS '工程放流5实施鱼类详情表，弃用平台采用SD_RPIMNFISH_R表';

-- ----------------------------
-- Table structure for DEL_SD_RPREEFISHDRTP_S
-- ----------------------------
DROP TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S";
CREATE TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(64) DEFAULT NULL NOT NULL,
  "FSZ" NUMBER(10,2),
  "FWET" NUMBER(10,2),
  "FAGE" VARCHAR2(64 BYTE),
  "FCNT" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "TAGCNT" NUMBER(10,0) DEFAULT 0,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FSZ" IS '平均长度(cm)';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FWET" IS '平均体重（g）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FAGE" IS '平均鱼龄（a）年限';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FCNT" IS '捕获数量:（单位：尾）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."TAGCNT" IS '含标记数量（单位：尾）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."ENABLED" IS '是否启用：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISHDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" IS '增殖放流-放流回捕鱼类详情维度统计表';

-- ----------------------------
-- Table structure for DEL_SD_RPREEFISH_R
-- ----------------------------
DROP TABLE "QGC"."DEL_SD_RPREEFISH_R";
CREATE TABLE "QGC"."DEL_SD_RPREEFISH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RPREE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(64) DEFAULT NULL NOT NULL,
  "FSZ" NUMBER(10,2),
  "FWET" NUMBER(10,2),
  "FAGE" VARCHAR2(64 BYTE),
  "FCNT" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "TAGCNT" NUMBER(10,0) DEFAULT 0,
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."RPREE_ID" IS '回捕ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FSZ" IS '平均长度(cm)';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FWET" IS '平均体重（g）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FAGE" IS '平均鱼龄（a）年限';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FCNT" IS '捕获数量:（单位：尾）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."TAGCNT" IS '含标记数量（单位：尾）';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."ENABLED" IS '是否启用：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."DEL_SD_RPREEFISH_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON TABLE "QGC"."DEL_SD_RPREEFISH_R" IS '增殖放流-放流回捕鱼类详情';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_AREA
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_AREA";
CREATE TABLE "QGC"."DYNAMIC_TABLE_AREA" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "AREA_NAME" VARCHAR2(100 BYTE),
  "PARENT_ID" VARCHAR2(36 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE),
  "TREE_LEVEL" NUMBER(2,0),
  "HAS_CHILDREN" NUMBER(1,0),
  "ANCESTORS" VARCHAR2(3000 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."AREA_NAME" IS '表单域名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."PARENT_ID" IS '父级表单域id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."RECORD_USER" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."RECORD_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."TREE_LEVEL" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."ANCESTORS" IS '祖籍';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_AREA"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_AREA" IS '表单域表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_BUTTON
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_BUTTON";
CREATE TABLE "QGC"."DYNAMIC_TABLE_BUTTON" (
  "ID" VARCHAR2(36 BYTE) DEFAULT 'SYS_GUID()' NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "BUTTON_ACTION_TYPE" VARCHAR2(30 BYTE),
  "BUTTON_NAME" VARCHAR2(30 BYTE),
  "BUTTON_CODE" VARCHAR2(30 BYTE),
  "BUTTON_ICON" VARCHAR2(200 BYTE),
  "BUTTON_TYPE" VARCHAR2(30 BYTE),
  "BUTTON_API" VARCHAR2(500 BYTE),
  "NOT_AUTH" NUMBER(1,0),
  "BUTTON_CONFIG_EXT" VARCHAR2(3000 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "BUTTON_CATEGORY" VARCHAR2(32 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."FORM_ID" IS '表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_ACTION_TYPE" IS '按钮行为类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_NAME" IS '按钮名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_CODE" IS '按钮编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_ICON" IS '按钮图标';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_TYPE" IS '按钮类型，row:行后按钮、toolbar：工具条按钮';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_API" IS '按钮对应的api资源';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."NOT_AUTH" IS '不进行行为鉴权';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_CONFIG_EXT" IS '按钮配置扩展信息';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_BUTTON"."BUTTON_CATEGORY" IS '按钮分类';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_BUTTON" IS '表单按钮表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_COLUMN_MODEL
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL";
CREATE TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID(),
  "FORM_ID" VARCHAR2(36 BYTE),
  "FORM_MODEL_ID" VARCHAR2(36 BYTE),
  "LIST_SHOW" NUMBER(1,0),
  "COLUMN_WIDTH" NUMBER(10,0),
  "ENABLE_SORT" NUMBER(1,0),
  "SORT_DIR" VARCHAR2(20 BYTE),
  "ENABLE_FILTER" NUMBER(1,0),
  "FILTER_OPERATOR" VARCHAR2(20 BYTE),
  "IS_RANGE_FILTER" NUMBER(1,0),
  "COLUMN_CONFIG_EXT" VARCHAR2(3000 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "SORT_NUMB" NUMBER(10,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."FORM_ID" IS '表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."FORM_MODEL_ID" IS '表单建模id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."LIST_SHOW" IS '列表展示';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."COLUMN_WIDTH" IS '列表宽度,为null时自动列宽，为具体值时，为具体列宽';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."ENABLE_SORT" IS '是否自动开启';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."SORT_DIR" IS 'asc：升序, desc:降序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."FILTER_OPERATOR" IS '默认的过滤操作';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."IS_RANGE_FILTER" IS '是否是范围过滤';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."COLUMN_CONFIG_EXT" IS '列配置扩展';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."RECORD_USER" IS '创建人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_COLUMN_MODEL"."SORT_NUMB" IS '字段排序优先级';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_CONTENT_GROUP
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP";
CREATE TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(50 BYTE),
  "GROUP_TYPE" VARCHAR2(20 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."FORM_ID" IS '表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."GROUP_NAME" IS '分组名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."GROUP_TYPE" IS '分组类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_CONTENT_GROUP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" IS '表单分组表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_EXCEL_RECORD
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD";
CREATE TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_NAME" VARCHAR2(255 BYTE) NOT NULL,
  "OPER_TYPE" NUMBER(11,0) NOT NULL,
  "STATUS" NUMBER(11,0) NOT NULL,
  "ERROR_INFO" VARCHAR2(600 BYTE) DEFAULT NULL,
  "ATTACHMENT_URL" VARCHAR2(800 BYTE) DEFAULT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "RECORD_TIME" TIMESTAMP(6) DEFAULT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "MODIFY_TIME" TIMESTAMP(6) DEFAULT NULL,
  "IS_DELETED" NUMBER(11,0) DEFAULT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "DELETE_TIME" TIMESTAMP(6) DEFAULT NULL,
  "FILTER_CONTENT" VARCHAR2(2000 BYTE) DEFAULT NULL,
  "ORDER_INDEX" NUMBER(11,0) DEFAULT NULL,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "PLATFORM_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "ISOLATE_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "ISOLATE_TYPE" VARCHAR2(36 BYTE) DEFAULT NULL,
  "IS_TEMP_STORAGE" NUMBER(11,0) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."FORM_ID" IS '表ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."FORM_NAME" IS '表单名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."OPER_TYPE" IS '操作类型 1导入 2导出';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."STATUS" IS '0成功 1失败';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."ERROR_INFO" IS '异常信息';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."ATTACHMENT_URL" IS '下载地址';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."RECORD_TIME" IS '记录时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."IS_DELETED" IS '是否已经删除 ext{\"enum\":\"0=未删除&1=已删除\"}';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."FILTER_CONTENT" IS '过滤值';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_EXCEL_RECORD"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" IS '表单导出记录表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_FIELD_RELATION
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION";
CREATE TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MAIN_DETAIL_ID" VARCHAR2(36 BYTE) NOT NULL,
  "MAIN_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "DETAIL_FIELD" VARCHAR2(36 BYTE) NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FIELD_RELATION"."ID" IS 'id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FIELD_RELATION"."MAIN_DETAIL_ID" IS '主从表关系id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FIELD_RELATION"."MAIN_FIELD" IS '主表字段';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FIELD_RELATION"."DETAIL_FIELD" IS '从表字段';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" IS '表单字段关系表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_FORM_INFO
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO";
CREATE TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_NAME" VARCHAR2(500 BYTE) NOT NULL,
  "TABLE_NAME" VARCHAR2(200 BYTE) NOT NULL,
  "FRONT_PATH" VARCHAR2(500 BYTE),
  "FORM_ENABLE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(3000 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "IS_TASK_FORM" NUMBER(1,0),
  "TASK_PATH" VARCHAR2(500 BYTE),
  "API_BASE_PATH" VARCHAR2(200 BYTE),
  "FRONT_LIST_PATH" VARCHAR2(200 BYTE),
  "FRONT_FORM_PATH" VARCHAR2(200 BYTE),
  "AREA_ID" VARCHAR2(36 BYTE),
  "IS_TREE" NUMBER(1,0),
  "IS_STORAGE_HISTORY" NUMBER(1,0),
  "AUTO_CHANGE_TABLE" NUMBER(1,0),
  "SYNC_TASK_STATUS" NUMBER(1,0),
  "CONTAIN_DEFAULT_FIELD" NUMBER(1,0),
  "SYNC_MENU_ID" VARCHAR2(36 BYTE),
  "IMPORT_TASK_PATH" VARCHAR2(800 BYTE),
  "IMPORT_API_BASE_PATH" VARCHAR2(800 BYTE),
  "IS_MULTI_ADD" NUMBER(2,0) DEFAULT 0,
  "FORM_HOOKS" VARCHAR2(4000 BYTE),
  "COLUMN_HOOKS" VARCHAR2(4000 BYTE),
  "NOT_ALLOW_COMMIT_NULL" NUMBER,
  "INLINE_EDITING" NUMBER,
  "ENABLE_CHILD_STORAGE_EMPTY" NUMBER(1,0) DEFAULT 1 NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."FORM_CODE" IS '表单编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."FORM_NAME" IS '表单名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."TABLE_NAME" IS '业务表名';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."FRONT_PATH" IS '前端页面地址';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."FORM_ENABLE" IS '是否启用 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_TASK_FORM" IS '是否是流程表单';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."TASK_PATH" IS '流程路径';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."AREA_ID" IS '表单域id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_TREE" IS '是否是树';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_STORAGE_HISTORY" IS '是否存储历史';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."AUTO_CHANGE_TABLE" IS '1为改变、0为不改变，默认值为1';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."SYNC_TASK_STATUS" IS '1同步更新任务的状态';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IMPORT_TASK_PATH" IS '导入流程路径';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IMPORT_API_BASE_PATH" IS '导入接口自定义接口';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."IS_MULTI_ADD" IS '是否批量新增 0否 1是 默认0';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."NOT_ALLOW_COMMIT_NULL" IS '能否提交空数据';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_INFO"."INLINE_EDITING" IS '是否行内编辑';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" IS '表单信息表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_FORM_RELATION
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION";
CREATE TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MAIN_FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "DETAIL_FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RELATION_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "GROUP_ID" VARCHAR2(36 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "NOT_ALLOW_COMMIT_NULL" NUMBER,
  "INLINE_EDITING" NUMBER
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."MAIN_FORM_ID" IS '主表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."DETAIL_FORM_ID" IS '从表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."RELATION_TYPE" IS '主从关系';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."GROUP_ID" IS '归属分组';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."NOT_ALLOW_COMMIT_NULL" IS '能否提交空数据';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_FORM_RELATION"."INLINE_EDITING" IS '是否行内编辑';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" IS '表单关系表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_IMPORT_BATCH
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH";
CREATE TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TEMPLATE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "MAIN_FORM_ID" VARCHAR2(36 BYTE),
  "SUB_FORM_ID" VARCHAR2(36 BYTE),
  "FILE_PATH" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(20 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."TASK_STATUS" IS '任务状态';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."RECORD_USER" IS '创建人ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_IMPORT_BATCH"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_KEY_RELATION
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION";
CREATE TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MAIN_DETAIL_ID" VARCHAR2(36 BYTE) NOT NULL,
  "MAIN_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "DETAIL_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."MAIN_DETAIL_ID" IS '主从表关系id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."MAIN_FIELD" IS '主表字段';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."DETAIL_FIELD" IS '从表字段';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_KEY_RELATION"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" IS '表单主从表字段关系表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_MODEL
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_MODEL";
CREATE TABLE "QGC"."DYNAMIC_TABLE_MODEL" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FIELD_NAME" VARCHAR2(200 BYTE) NOT NULL,
  "FIELD_DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "IS_PRIMARY_KEY" NUMBER(1,0) DEFAULT 0,
  "FIELD_TYPE" VARCHAR2(30 BYTE) NOT NULL,
  "FIELD_LENGTH" NUMBER(10,0),
  "FIELD_UNIT" VARCHAR2(20 BYTE),
  "FIELD_DEFAULT_VALUE" VARCHAR2(200 BYTE),
  "GROUP_ID" VARCHAR2(36 BYTE),
  "TIPS" VARCHAR2(255 BYTE),
  "FIELD_PRECISION" NUMBER(30,0),
  "IS_UNIQUE" NUMBER(1,0),
  "FIELD_MIN_VALUE" NUMBER(20,0),
  "FIELD_MAX_VALUE" NUMBER(20,0),
  "IS_REQUIRED" NUMBER(1,0),
  "WIDGET_TYPE" VARCHAR2(100 BYTE),
  "VALID_REGEX" VARCHAR2(255 BYTE),
  "VALID_REGEX_DESCRIPTION" VARCHAR2(200 BYTE),
  "IS_VIRTUAL_FIELD" NUMBER(1,0),
  "VALID_ERROR_TIPS" VARCHAR2(200 BYTE),
  "COMPUTE_CONTROL" VARCHAR2(3000 BYTE),
  "SHOW_CONTROL" VARCHAR2(3000 BYTE),
  "REQUEST_CONTROL" VARCHAR2(4000 BYTE),
  "COLUMN_CONFIG_EXT" VARCHAR2(3000 BYTE),
  "PRIMARY_KEY_TYPE" VARCHAR2(20 BYTE),
  "TIME_FORMAT" VARCHAR2(50 BYTE),
  "APP_WIDGET_TYPE" VARCHAR2(100 BYTE),
  "FIELD_NAME_DISPLAY" VARCHAR2(100 BYTE),
  "DEPEND_FIELD_ID" VARCHAR2(36 BYTE),
  "IS_DICT" NUMBER(1,0),
  "DICT_CODE" VARCHAR2(100 BYTE),
  "DICT_TYPE" VARCHAR2(100 BYTE),
  "REF_DICT_FIELD_ID" VARCHAR2(36 BYTE),
  "REF_DICT_FORM_ID" VARCHAR2(36 BYTE),
  "REF_DICT_NAME_FIELD_ID" VARCHAR2(36 BYTE),
  "APP_CONFIG_EXT" VARCHAR2(3000 BYTE),
  "DIM_CODE" VARCHAR2(100 BYTE),
  "DIM_ITEM_CODE" VARCHAR2(100 BYTE),
  "IS_NULLABLE" NUMBER(1,0) DEFAULT 0
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FORM_ID" IS '所属表：关联smt_plan_dynamic_table.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_NAME" IS '字段中文名';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_DESCRIPTION" IS '字段标识：字段名';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."RECORD_USER" IS '创建人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_PRIMARY_KEY" IS '是否是主键';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_TYPE" IS '字段类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_LENGTH" IS '字段长度';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_UNIT" IS '字段单位';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_DEFAULT_VALUE" IS '字段默认值';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."GROUP_ID" IS '分组id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."TIPS" IS '提示';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_UNIQUE" IS '是否唯一';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_MIN_VALUE" IS '最小值';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."FIELD_MAX_VALUE" IS '最大值';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_REQUIRED" IS '是否必填';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."WIDGET_TYPE" IS '控件类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."VALID_REGEX" IS '正则表达式';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_VIRTUAL_FIELD" IS '是否是虚拟字段';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."VALID_ERROR_TIPS" IS '校验错误提示';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."COLUMN_CONFIG_EXT" IS '配置扩展列，前端json';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."PRIMARY_KEY_TYPE" IS '主键类型，uuid ，auto自增，input';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."IS_DICT" IS '是否字典';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."DICT_CODE" IS '字典编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL"."DICT_TYPE" IS '字典类型';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_MODEL" IS '表单建模表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_MODEL_VERSION
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION";
CREATE TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MODEL" NCLOB,
  "VERSION" VARCHAR2(200 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FORM_ID" VARCHAR2(36 BYTE),
  "SYNC_TASK_STATUS" NUMBER(1,0),
  "IS_TASK_FORM" NUMBER(1,0),
  "CONTAIN_DEFAULT_FIELD" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MODEL_VERSION"."FORM_ID" IS '表单id';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" IS '表单建模记录表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_MULTI_ADD
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD";
CREATE TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(20 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."FORM_ID" IS '表ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."TASK_ID" IS '任务ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."TASK_STATUS" IS '任务状态';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."IS_DELETED" IS '0=未删除&1=已删除';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."RECORD_USER" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."RECORD_TIME" IS '创建人';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."FILTER_CONTENT" IS '过滤值';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."DEPARTMENT_ID" IS '数据归属部门ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_MULTI_ADD"."IS_TEMP_STORAGE" IS '临时存储';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" IS '动态表单多记录新增';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_RELATION
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_RELATION";
CREATE TABLE "QGC"."DYNAMIC_TABLE_RELATION" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MAIN_FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "DETAIL_FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."ID" IS 'id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."MAIN_FORM_ID" IS '表单编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."DETAIL_FORM_ID" IS '表单名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_RELATION"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_TEMPLATE
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE";
CREATE TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "TEMPLATE_CODE" VARCHAR2(50 BYTE),
  "TEMPLATE_NAME" VARCHAR2(200 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "TEMPLATE_PATH" VARCHAR2(200 BYTE),
  "TEMPLATE_ENABLE" NUMBER(11,0),
  "IS_IMPORT_MAIN_TABLE" NUMBER(11,0),
  "ORDER_INDEX" NUMBER(11,0),
  "IS_DELETED" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(11,0),
  "TEMPLATE_ID" VARCHAR2(500 BYTE),
  "AUTO_GENERATE_MASTER_DATA" NUMBER(1,0) DEFAULT 0,
  "TEMPLATE_ORIG_NAME" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."FORM_ID" IS '表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."TEMPLATE_CODE" IS '表单编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."TEMPLATE_NAME" IS '表单名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."TEMPLATE_PATH" IS '模板地址,用于修改后附件地址';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."TEMPLATE_ENABLE" IS '是否启用 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."IS_IMPORT_MAIN_TABLE" IS '是否允许导入主表数据 1=导入 0=不导入';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."AUTO_GENERATE_MASTER_DATA" IS '是否插入子表是自动生成主表记录 0否 1是 默认0';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE"."TEMPLATE_ORIG_NAME" IS '自定义上传原始文件名加后缀';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE" IS '表单导出模版主表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_TEMPLATE_COLUMN
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN";
CREATE TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TEMPLATE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "SHEET_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "MODEL_ID" VARCHAR2(36 BYTE) NOT NULL,
  "COLUMN_NAME" VARCHAR2(200 BYTE) NOT NULL,
  "COLUMN_INDEX" NUMBER(11,0) NOT NULL,
  "IS_NEED_DICT_TRANSLATE" NUMBER(11,0),
  "COLUMN_CODE" VARCHAR2(200 BYTE) NOT NULL,
  "COLUMN_TYPE" VARCHAR2(50 BYTE) NOT NULL,
  "COLUMN_LENGTH" NUMBER(11,0),
  "COLUMN_MAX_VALUE" NUMBER(11,0),
  "COLUMN_MIN_VALUE" NUMBER(11,0),
  "COLUMN_FORMAT_MASK" VARCHAR2(50 BYTE),
  "COLUMN_NULL_ENABLE" NUMBER(11,0),
  "COLUMN_VALIDATE_ENABLE" NUMBER(11,0),
  "COLUMN_REGEX_EXPRESSION" VARCHAR2(500 BYTE),
  "COLUMN_SAMPLE_DATA" VARCHAR2(255 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "COLUMN_ENABLE" NUMBER(11,0),
  "IS_TEMP_STORAGE" NUMBER(11,0),
  "ORDER_INDEX" NUMBER(11,0),
  "IS_DELETED" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_DICT" NUMBER(11,0),
  "DICT_TYPE" VARCHAR2(255 BYTE),
  "DICT_CODE" VARCHAR2(255 BYTE),
  "IS_LIMIT_FUTURE_TIME" NUMBER(2,0) DEFAULT 0,
  "IS_DICT_PERMISSION_LIMITED" NUMBER(2,0) DEFAULT 0,
  "IS_IMAGE_UPLOAD_ENABLED" NUMBER(1,0) DEFAULT 0,
  "COLUMN_WIDE" NUMBER(11,0),
  "IS_NOT_EXPORT" NUMBER(1,0) DEFAULT 0
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."TEMPLATE_ID" IS '模板ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."SHEET_ID" IS '模板页ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."FORM_ID" IS '表单ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."MODEL_ID" IS '表单建模ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_NAME" IS '列名称可以和建模名称一致';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_INDEX" IS '列序号';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_NEED_DICT_TRANSLATE" IS '是否需要字典翻译 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_CODE" IS '列编码可以和字段一致';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_FORMAT_MASK" IS '列格式，例如时间格式';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_NULL_ENABLE" IS '是否允许为空 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_VALIDATE_ENABLE" IS '列是否校验 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_REGEX_EXPRESSION" IS '列正则表达式';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_SAMPLE_DATA" IS '列样例数据';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_ENABLE" IS '是否启用 0=是 1=否';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_DICT" IS '是否是字典 0否 1是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DICT_TYPE" IS '字典类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."DICT_CODE" IS '字典编码';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_LIMIT_FUTURE_TIME" IS '未来时间导入 0否 1是 默认0';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_DICT_PERMISSION_LIMITED" IS '字典维度限制';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_IMAGE_UPLOAD_ENABLED" IS '是否开启图片上传';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."COLUMN_WIDE" IS '单元格宽度';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN"."IS_NOT_EXPORT" IS '是否限制数据导出';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" IS '表单导出模版字段表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_TEMPLATE_SHEET
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET";
CREATE TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "TEMPLATE_ID" VARCHAR2(36 BYTE),
  "SHEET_INDEX" NUMBER(11,0),
  "SHEET_NAME" VARCHAR2(200 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "START_LINE" NUMBER(11,0),
  "SHEET_ENABLE" NUMBER(11,0),
  "ORDER_INDEX" NUMBER(11,0),
  "IS_DELETED" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(11,0),
  "VARCHAR" VARCHAR2(255 BYTE),
  "IMPORT_DATA" NUMBER(1,0) DEFAULT 1,
  "ROW_HEIGHT" NUMBER(3,0) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."FORM_ID" IS '表单ID';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."TEMPLATE_ID" IS '模板id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."SHEET_INDEX" IS '页序号';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."SHEET_NAME" IS '表单名称';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."START_LINE" IS '开始行';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."SHEET_ENABLE" IS '是否启用 0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."IMPORT_DATA" IS '是否允许导入当前sheet页数据 1=导入 0=不导入 默认1';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET"."ROW_HEIGHT" IS '行高';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" IS '表单导出模版SHEET页表';

-- ----------------------------
-- Table structure for DYNAMIC_TABLE_UNIQUE_INDEX
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX";
CREATE TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE),
  "FORM_MODEL_IDS" VARCHAR2(360 BYTE),
  "ORDER_INDEX" NUMBER(4,0) NOT NULL,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "ISOLATE_TYPE" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "UNIQUE_INDEX_TYPE" VARCHAR2(10 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."FORM_ID" IS '表单id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."FORM_MODEL_IDS" IS '按钮行为类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."IS_DELETED" IS '是否删除：0=否 1=是';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."RECORD_USER" IS '创建人id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."MODIFY_USER" IS '更新人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."DELETE_USER" IS '删除人：关联sys_user.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."ISOLATE_ID" IS '隔离id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."ISOLATE_TYPE" IS '隔离类型';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."DEPARTMENT_ID" IS '数据归属的部门id：关联sys_dept.id';
COMMENT ON COLUMN "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" IS '表单建模字段主键表';

-- ----------------------------
-- Table structure for DYNAMIC_UPDATE_SCRIPT
-- ----------------------------
DROP TABLE "QGC"."DYNAMIC_UPDATE_SCRIPT";
CREATE TABLE "QGC"."DYNAMIC_UPDATE_SCRIPT" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "SOURCE_ENV_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "DEST_ENV_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "SCRIPT_NAME" VARCHAR2(100 BYTE) DEFAULT NULL,
  "SCRIPT_PATH" VARCHAR2(240 BYTE) DEFAULT NULL,
  "STATUS" VARCHAR2(50 BYTE) DEFAULT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "RECORD_TIME" TIMESTAMP(6) DEFAULT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "MODIFY_TIME" TIMESTAMP(6) DEFAULT NULL,
  "IS_DELETED" NUMBER DEFAULT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "DELETE_TIME" TIMESTAMP(6) DEFAULT NULL,
  "FILTER_CONTENT" VARCHAR2(2000 BYTE) DEFAULT NULL,
  "ORDER_INDEX" NUMBER DEFAULT NULL,
  "IS_TEMP_STORAGE" NUMBER DEFAULT NULL,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "PLATFORM_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "ISOLATE_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "ISOLATE_TYPE" VARCHAR2(36 BYTE) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for GEN_DATASOURCE_CONF
-- ----------------------------
DROP TABLE "QGC"."GEN_DATASOURCE_CONF";
CREATE TABLE "QGC"."GEN_DATASOURCE_CONF" (
  "ID" VARCHAR2(60 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "DRIVER" VARCHAR2(64 BYTE) NOT NULL,
  "URL" VARCHAR2(1024 BYTE) NOT NULL,
  "USERNAME" VARCHAR2(50 BYTE) NOT NULL,
  "PASSWORD" VARCHAR2(50 BYTE) NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "CREATE_DATE" DATE,
  "UPDATE_DATE" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEL_FLAG" NCHAR(1)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."DRIVER" IS 'JDBC驱动：存储字典值，字典项为comm.jdbc_driver；mysql=com.mysql.cj.jdbc.Driver oracle=oracle.jdbc.OracleDriver mssql=com.microsoft.sqlserver.jdbc.SQLServerDriver dm=dm.jdbc.driver.DmDriver';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."URL" IS '连接URL';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."GEN_DATASOURCE_CONF"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."GEN_DATASOURCE_CONF" IS '数据源配置表';

-- ----------------------------
-- Table structure for MS_ABNMONITOR_R
-- ----------------------------
DROP TABLE "QGC"."MS_ABNMONITOR_R";
CREATE TABLE "QGC"."MS_ABNMONITOR_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE),
  "DT" DATE NOT NULL,
  "NUM_SJQS" NUMBER(3,0),
  "NUM_SJYC" NUMBER(3,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "REMARKS" VARCHAR2(255 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 0 NOT NULL
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."STTP_CODE" IS '参考SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."STCD" IS '站点编码';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."RSTCD" IS '所属电站编码';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."DT" IS '日期';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."NUM_SJQS" IS '缺失条数';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."NUM_SJYC" IS '异常条数';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为COMM.IS_DELETED';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."REMARKS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ABNMONITOR_R"."STATUS" IS '状态：0=异常 1=正常，默认异常';
COMMENT ON TABLE "QGC"."MS_ABNMONITOR_R" IS '业务异常监控数据表';

-- ----------------------------
-- Table structure for MS_ALONGDET_B
-- ----------------------------
DROP TABLE "QGC"."MS_ALONGDET_B";
CREATE TABLE "QGC"."MS_ALONGDET_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "SORT" NUMBER(3,0),
  "STTP" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ALONG_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RSTCD" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."STCD" IS '断面编码';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."STTP" IS '类型';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."ALONG_ID" IS '沿程配置表ID：关联MS_ALONG_B.ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ALONGDET_B"."RSTCD" IS '所属电站编码';
COMMENT ON TABLE "QGC"."MS_ALONGDET_B" IS '水温沿程配置表';

-- ----------------------------
-- Table structure for MS_ALONG_B
-- ----------------------------
DROP TABLE "QGC"."MS_ALONG_B";
CREATE TABLE "QGC"."MS_ALONG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "CODE" VARCHAR2(50 BYTE) NOT NULL,
  "RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(4,0) DEFAULT 0 NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."NAME" IS '沿程配置名称';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."CODE" IS '沿程配置编码';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."RVCD" IS '沿程配置所属流域';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ALONG_B"."ORDER_INDEX" IS '排序字段';
COMMENT ON TABLE "QGC"."MS_ALONG_B" IS '沿程配置表';

-- ----------------------------
-- Table structure for MS_APPVERSION_B
-- ----------------------------
DROP TABLE "QGC"."MS_APPVERSION_B";
CREATE TABLE "QGC"."MS_APPVERSION_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SYSTEM_TYPE" NUMBER(2,0) NOT NULL,
  "APP_TYPE" NUMBER(1,0) NOT NULL,
  "APP_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "VERSION" VARCHAR2(20 BYTE),
  "APP_PACKAGE" VARCHAR2(36 BYTE),
  "APP_URL" VARCHAR2(200 BYTE),
  "PLIST_FILE" VARCHAR2(36 BYTE),
  "PLIST_URL" VARCHAR2(200 BYTE),
  "ICON" VARCHAR2(36 BYTE),
  "ICON_URL" VARCHAR2(200 BYTE),
  "IS_ENABLE" NUMBER(1,0),
  "REMARK" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "APP_SIZE" NUMBER(10,4),
  "PLIST_SIZE" NUMBER(10,4)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."SYSTEM_TYPE" IS '系统类型:1环保部APP、2数据采集app';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."APP_TYPE" IS 'app类型:1 安卓、2 苹果';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."APP_NAME" IS 'app名称';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."VERSION" IS '版本号';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."APP_PACKAGE" IS 'app包';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."APP_URL" IS 'app下载地址';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."PLIST_FILE" IS 'plist文件';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."PLIST_URL" IS 'plist文件下载地址';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."ICON" IS '图标';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."ICON_URL" IS '图标下载地址';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."IS_ENABLE" IS '是否启用:1启用，2未启用';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."APP_SIZE" IS 'app文件大小';
COMMENT ON COLUMN "QGC"."MS_APPVERSION_B"."PLIST_SIZE" IS 'plist文件大小';
COMMENT ON TABLE "QGC"."MS_APPVERSION_B" IS 'APP版本管理表';

-- ----------------------------
-- Table structure for MS_ARCHIVING_B
-- ----------------------------
DROP TABLE "QGC"."MS_ARCHIVING_B";
CREATE TABLE "QGC"."MS_ARCHIVING_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(200 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "STNM" VARCHAR2(36 BYTE),
  "LITERATURE_TYPE" NUMBER(2,0),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "INSTITUTION_ID" VARCHAR2(144 BYTE),
  "ORGANIZATION_ID" VARCHAR2(144 BYTE),
  "TM" TIMESTAMP(6),
  "LC" VARCHAR2(200 BYTE),
  "PN" NUMBER(8,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."NAME" IS '文献名称';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."STCD" IS '所属电站';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."STNM" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."LITERATURE_TYPE" IS '文献类型：1环保批复文件、2环保设计文件、3环保设施、4其他、5内业管理、6环保验收、7环保工作、8环保活动文件、9环境监理文件、10其他环保活动、11环境保护与水土保持监理季报、12水保保持监测季报、13环境监测报告';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."FID" IS '附件.关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."INSTITUTION_ID" IS '所属组织机构Id';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."ORGANIZATION_ID" IS '所属部门Id';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."LC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."PN" IS '人数';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_ARCHIVING_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_ARCHIVING_B" IS '资料归档表';

-- ----------------------------
-- Table structure for MS_BUILDENVF_B
-- ----------------------------
DROP TABLE "QGC"."MS_BUILDENVF_B";
CREATE TABLE "QGC"."MS_BUILDENVF_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6),
  "IR" NUMBER(6,2),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."IR" IS '落实百分比';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_BUILDENVF_B"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."MS_BUILDENVF_B" IS '环保设施建设落实情况(主表信息)';

-- ----------------------------
-- Table structure for MS_COLUMNCFG_B
-- ----------------------------
DROP TABLE "QGC"."MS_COLUMNCFG_B";
CREATE TABLE "QGC"."MS_COLUMNCFG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FUNCTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "COLUMN_CFG" NVARCHAR2(50) DEFAULT NULL NOT NULL,
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DEFAULT_CHECKED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "COLUMN_EN" NVARCHAR2(100),
  "GROUP_TYPE" NVARCHAR2(100),
  "PARENT_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "HAS_CHILDREN" NUMBER(1,0) DEFAULT 0,
  "DESCRIPTION" VARCHAR2(500 BYTE) DEFAULT NULL,
  "CAN_BE_UPDATED" NUMBER(1,0) DEFAULT NULL,
  "WIDTH" NUMBER(4,0) DEFAULT NULL,
  "CAN_BE_SORTED" NUMBER(1,0) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."FUNCTION_ID" IS '所属模块功能ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."COLUMN_CFG" IS '筛选列配置信息';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."DEFAULT_CHECKED" IS '默认选中项';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."COLUMN_EN" IS '字段名称';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."GROUP_TYPE" IS '字段分组';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."PARENT_ID" IS '父级ID';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."HAS_CHILDREN" IS '是否有子级 0=否 1=是，默认值0';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."CAN_BE_UPDATED" IS '是否可以更新 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."WIDTH" IS '自定义列宽度';
COMMENT ON COLUMN "QGC"."MS_COLUMNCFG_B"."CAN_BE_SORTED" IS '是否可以排序 0=否 1=是';
COMMENT ON TABLE "QGC"."MS_COLUMNCFG_B" IS '筛选列配置表';

-- ----------------------------
-- Table structure for MS_ECOEVALUATDETAIL_B
-- ----------------------------
DROP TABLE "QGC"."MS_ECOEVALUATDETAIL_B";
CREATE TABLE "QGC"."MS_ECOEVALUATDETAIL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "ECO_NUMBER" VARCHAR2(255 BYTE),
  "ECO_RATING" VARCHAR2(3000 BYTE),
  "ECO_SCORE" VARCHAR2(100 BYTE),
  "ECO_CONTENT" VARCHAR2(3000 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ECO_ORDER" NUMBER(2,0),
  "WEB_SCORE" NUMBER(3,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ECO_NUMBER" IS '行序号（大序号（一，二等）、小序号（1，1.1，1.2））';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ECO_RATING" IS '综合评价/结果考核';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ECO_SCORE" IS '标准分';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ECO_CONTENT" IS '评分方法';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."ECO_ORDER" IS '关联序号字段';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATDETAIL_B"."WEB_SCORE" IS 'web页面需要用到这个字段';
COMMENT ON TABLE "QGC"."MS_ECOEVALUATDETAIL_B" IS '生态环境保护工作考核评价填充数据表';

-- ----------------------------
-- Table structure for MS_ECOEVALUATSCORED_B
-- ----------------------------
DROP TABLE "QGC"."MS_ECOEVALUATSCORED_B";
CREATE TABLE "QGC"."MS_ECOEVALUATSCORED_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "GZKH_ID" VARCHAR2(36 BYTE),
  "ECO_NUMBER" VARCHAR2(255 BYTE),
  "ECO_RATING" VARCHAR2(3000 BYTE),
  "ECO_SCORE" VARCHAR2(100 BYTE),
  "ECO_CONTENT" VARCHAR2(3000 BYTE),
  "SELF_SCORE" VARCHAR2(100 BYTE),
  "COMPANY_SCORE" VARCHAR2(100 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ECO_ORDER" NUMBER(2,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."GZKH_ID" IS '工作考核表主键ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ECO_NUMBER" IS '行序号（大序号（一，二等）、小序号（1，1.1，1.2））';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ECO_RATING" IS '综合评价/结果考核';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ECO_SCORE" IS '标准分';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ECO_CONTENT" IS '评分方法';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."SELF_SCORE" IS '自评分';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."COMPANY_SCORE" IS '公司考核得分';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ECOEVALUATSCORED_B"."ECO_ORDER" IS '关联序号字段';
COMMENT ON TABLE "QGC"."MS_ECOEVALUATSCORED_B" IS '生态环境保护工作考核评价评分详情表';

-- ----------------------------
-- Table structure for MS_EIAAPPROVAL_B
-- ----------------------------
DROP TABLE "QGC"."MS_EIAAPPROVAL_B";
CREATE TABLE "QGC"."MS_EIAAPPROVAL_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "BASIN" VARCHAR2(200 BYTE),
  "RIVER" VARCHAR2(200 BYTE),
  "HYDROPOWER_STATION" VARCHAR2(200 BYTE),
  "APPROVAL_FILE_NO" VARCHAR2(200 BYTE) NOT NULL,
  "APPROVAL_FILE_TITLE" VARCHAR2(400 BYTE),
  "FILE_NAME" VARCHAR2(300 BYTE),
  "FLPATH" VARCHAR2(100 BYTE),
  "ECOLOGICAL_FLOW" VARCHAR2(4000 BYTE),
  "WATER_ENV_PROTECTION" VARCHAR2(4000 BYTE),
  "COLD_WATER_MITIGATION" VARCHAR2(4000 BYTE),
  "HABITAT_PROTECTION" VARCHAR2(4000 BYTE),
  "FISH_PASSAGE_MEASURES" VARCHAR2(4000 BYTE),
  "FISH_STOCKING" VARCHAR2(4000 BYTE),
  "TERRESTRIAL_ECO_SOIL_CONS" VARCHAR2(4000 BYTE),
  "RARE_PLANT_PROTECTION" VARCHAR2(4000 BYTE),
  "ANIMAL_RESCUE" VARCHAR2(4000 BYTE),
  "RESETTLEMENT_MEASURES" VARCHAR2(4000 BYTE),
  "CONSTRUCTION_POLLUTION_CTRL" VARCHAR2(4000 BYTE),
  "GROUNDWATER_GEO_PROTECT" VARCHAR2(4000 BYTE),
  "SCENIC_AREA_PROTECTION" VARCHAR2(4000 BYTE),
  "ENV_MONITORING_REQUIRE" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "BASEID" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(255 BYTE),
  "STCD" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."ID" IS 'ID（systemUID，主键）';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."BASIN" IS '流域';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."RIVER" IS '河流';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."HYDROPOWER_STATION" IS '电站';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."APPROVAL_FILE_NO" IS '批复文号';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."APPROVAL_FILE_TITLE" IS '批复文件标题';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."FILE_NAME" IS '文件名';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."FLPATH" IS '附件下载地址';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."ECOLOGICAL_FLOW" IS '生态流量';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."WATER_ENV_PROTECTION" IS '水环境保护措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."COLD_WATER_MITIGATION" IS '低温水减缓措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."HABITAT_PROTECTION" IS '栖息地保护';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."FISH_PASSAGE_MEASURES" IS '过鱼措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."FISH_STOCKING" IS '鱼类增殖放流';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."TERRESTRIAL_ECO_SOIL_CONS" IS '陆生生态保护/水土保持措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."RARE_PLANT_PROTECTION" IS '珍稀植物保护措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."ANIMAL_RESCUE" IS '动物救助';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."RESETTLEMENT_MEASURES" IS '移民安置';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."CONSTRUCTION_POLLUTION_CTRL" IS '施工期防治措施或其他环境保护措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."GROUNDWATER_GEO_PROTECT" IS '地下水及地质环境保护措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."SCENIC_AREA_PROTECTION" IS '风景名胜区保护措施';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."ENV_MONITORING_REQUIRE" IS '环境监测要求';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_EIAAPPROVAL_B"."RECORD_TIME" IS '创建时间（DATE格式）';
COMMENT ON TABLE "QGC"."MS_EIAAPPROVAL_B" IS '生态环保批复文件表';

-- ----------------------------
-- Table structure for MS_ENGDEPT_B
-- ----------------------------
DROP TABLE "QGC"."MS_ENGDEPT_B";
CREATE TABLE "QGC"."MS_ENGDEPT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT sys_guid() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DEPT_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."DEPT_ID" IS '部门id';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_ENGDEPT_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."MS_ENGDEPT_B" IS '电站和部门关联表';

-- ----------------------------
-- Table structure for MS_ENG_T
-- ----------------------------
DROP TABLE "QGC"."MS_ENG_T";
CREATE TABLE "QGC"."MS_ENG_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "BASEID" VARCHAR2(50 BYTE),
  "RVCD" VARCHAR2(24 BYTE),
  "ADDVCD" VARCHAR2(24 BYTE),
  "QI" NUMBER(9,3),
  "QO" NUMBER(9,3),
  "QEC_LIMIT" NUMBER(9,3),
  "QEC" NUMBER(9,3),
  "RZ" NUMBER(7,3),
  "DDZ" NUMBER(7,3),
  "QEC_SPACE" VARCHAR2(4 BYTE),
  "QEC_PERFORMANCE" VARCHAR2(4 BYTE),
  "QEC_RATE" NUMBER(5,2),
  "QEC_INTERVAL" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "HBRVCD" VARCHAR2(36 BYTE),
  "QEC_SFDB_HY" NUMBER(9,0),
  "QEC_SFDB_HN" NUMBER(9,0),
  "QEC_SFDB_COUNT" NUMBER(9,0),
  "QEC_SFDB_HO" NUMBER(9,0),
  "QI_SUM" NUMBER(12,3),
  "QO_SUM" NUMBER(12,3),
  "GE" NUMBER(12,4),
  "COAL" NUMBER(12,4),
  "CO2" NUMBER(12,4),
  "SO2" NUMBER(12,4),
  "QEC_SFDB" NUMBER(1,0),
  "DR_MONTH" VARCHAR2(7 BYTE),
  "DR_YEAR" VARCHAR2(4 BYTE),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ENG_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."STCD" IS '电站';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."TYPE" IS '维度类型：DAY=日 WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典编码，字典项为stats_table_type';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."BASEID" IS '基地';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."RVCD" IS '流域';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."ADDVCD" IS '行政区';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QI" IS '入库流量：m3/s';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QO" IS '出库流量：m3/s';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_LIMIT" IS '生态流量限值(环保部)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC" IS '生态流量：m3/s';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."RZ" IS '坝上水位：m';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."DDZ" IS '死水位：m';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SPACE" IS '生态流量不达标原因(按空间位置统计)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_PERFORMANCE" IS '生态流量不达标原因(按调节性能统计)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_RATE" IS '生态流量达标率';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_INTERVAL" IS '生态流量达标率所在统计区间';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."HBRVCD" IS '基地流域';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SFDB_HY" IS 'R表生态流量达标数';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SFDB_HN" IS 'R表生态流量不达标数';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SFDB_COUNT" IS 'R表生态流量统计数';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SFDB_HO" IS 'R表生态流量异常数';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QI_SUM" IS '入库流量合计';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QO_SUM" IS '出库流量合计';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."GE" IS '发电量：求和统计，单位：万KW*h';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."COAL" IS '少燃烧标准煤：求和统计，单位：万吨';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."CO2" IS '减排二氧化碳：求和统计，单位：万吨';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."SO2" IS '减排二氧化硫：求和统计，单位：万吨';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_SFDB" IS '生态流量是否达标';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."MWR_LIMIT" IS '生态流量限值(水利部)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."AVQ_LIMIT" IS '生态流量限值(多年平均)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."MWR_SFDB" IS '生态流量是否达标(水利部)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."AVQ_SFDB" IS '生态流量是否达标(多年平均)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."QEC_C" IS '生态流量限值系数(环保部)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."MWR_C" IS '生态流量限值系数(水利部)';
COMMENT ON COLUMN "QGC"."MS_ENG_T"."AVQ_C" IS '生态流量系数(多年平均)';
COMMENT ON TABLE "QGC"."MS_ENG_T" IS '电站业务结果表';

-- ----------------------------
-- Table structure for MS_ENVF_B
-- ----------------------------
DROP TABLE "QGC"."MS_ENVF_B";
CREATE TABLE "QGC"."MS_ENVF_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6),
  "IR" NUMBER(6,2),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."STCD" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."IR" IS '落实百分比';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_ENVF_B"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."MS_ENVF_B" IS '环保费用措施情况(主表信息)';

-- ----------------------------
-- Table structure for MS_ENVTZ_S
-- ----------------------------
DROP TABLE "QGC"."MS_ENVTZ_S";
CREATE TABLE "QGC"."MS_ENVTZ_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT sys_guid() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YR" NUMBER(4,0),
  "TM" TIMESTAMP(6),
  "INVAMT" NUMBER(12,4),
  "TOTAL_COMP_INVAMT" NUMBER(12,4),
  "FSWS_INV" NUMBER(12,4),
  "EAP_INV" NUMBER(12,4),
  "ESP_INV" NUMBER(12,4),
  "SW_INV" NUMBER(12,4),
  "CHP_INV" NUMBER(12,4),
  "SLAG_INV" NUMBER(12,4),
  "SKIP_INV" NUMBER(12,4),
  "ZW_INV" NUMBER(12,4),
  "VM_INV" NUMBER(12,4),
  "ECOP_INV" NUMBER(12,4),
  "PUB_EDU_INV" NUMBER(12,4),
  "ENV_MONITOR_INV" NUMBER(12,4),
  "WS_INV" NUMBER(12,4),
  "FSWS_REMARKS" VARCHAR2(300 BYTE),
  "EAP_REMARKS" VARCHAR2(300 BYTE),
  "ESP_REMARKS" VARCHAR2(300 BYTE),
  "SW_REMARKS" VARCHAR2(300 BYTE),
  "CHP_REMARKS" VARCHAR2(300 BYTE),
  "SLAG_REMARKS" VARCHAR2(300 BYTE),
  "SKIP_REMARKS" VARCHAR2(300 BYTE),
  "ZW_REMARKS" VARCHAR2(300 BYTE),
  "VM_REMARKS" VARCHAR2(300 BYTE),
  "ECOP_REMARKS" VARCHAR2(300 BYTE),
  "PUB_EDU_REMARKS" VARCHAR2(300 BYTE),
  "ENV_MONITOR_REMARKS" VARCHAR2(300 BYTE),
  "WS_REMARKS" VARCHAR2(300 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "OTHER_INV" NUMBER(10,4)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."TM" IS '季度';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."INVAMT" IS '投资金额，单位：万元';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."TOTAL_COMP_INVAMT" IS '当年累计完成投资，单位：万元';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."FSWS_INV" IS '生成废水和生活污水处理金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."EAP_INV" IS '环境空气保护金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ESP_INV" IS '声环境保护金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SW_INV" IS '固体废弃物处置金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."CHP_INV" IS '人群健康保护金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SLAG_INV" IS '利用料及渣场专项挡护金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SKIP_INV" IS '料场开采及场平工程金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ZW_INV" IS '主体工程中具有水保功能的施工项目金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."VM_INV" IS '植物措施金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ECOP_INV" IS '生态保护措施金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."PUB_EDU_INV" IS '宣传教育金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ENV_MONITOR_INV" IS '环境监测金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."WS_INV" IS '水土保持监测金额';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."FSWS_REMARKS" IS '生成废水和生活污水处理备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."EAP_REMARKS" IS '环境空气保护备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ESP_REMARKS" IS '声环境保护备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SW_REMARKS" IS '固体废弃物处置备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."CHP_REMARKS" IS '人群健康保护备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SLAG_REMARKS" IS '利用料及渣场专项挡护备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SKIP_REMARKS" IS '料场开采及场平工程备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ZW_REMARKS" IS '主体工程中具有水保功能的施工项目备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."VM_REMARKS" IS '植物措施备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ECOP_REMARKS" IS '生态保护措施备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."PUB_EDU_REMARKS" IS '宣传教育备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ENV_MONITOR_REMARKS" IS '环境监测备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."WS_REMARKS" IS '水土保持监测备注';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_ENVTZ_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_ENVTZ_S" IS '环保水保投资统计';

-- ----------------------------
-- Table structure for MS_ETSQIC_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQIC_B";
CREATE TABLE "QGC"."MS_ETSQIC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STATION_ID" VARCHAR2(36 BYTE) NOT NULL,
  "CATEGORY_ID" VARCHAR2(36 BYTE) NOT NULL,
  "SITE_CHECK_SITUATION" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "SITE_CHECK_PHOTO" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "SITE_SCORE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "SORT" NUMBER(4,0) DEFAULT 0 NOT NULL,
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."STATION_ID" IS '所属测站，关联MS_ETSQI_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."CATEGORY_ID" IS '问题末级分类ID，关联MS_ETSQUEC_B.ID，页面显示："运行期评分标准,水环境,各砂石冲洗废水处理"';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."SITE_CHECK_SITUATION" IS '是否必需现场检查情况：1=用 0=否';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."SITE_CHECK_PHOTO" IS '是否必现场检查照片：1=用 0=否';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."SITE_SCORE" IS '是否必打分：1=用 0=否';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."SORT" IS '顺序';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIC_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQIC_B" IS '环境技术监督5问卷分类表';

-- ----------------------------
-- Table structure for MS_ETSQIOR_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQIOR_B";
CREATE TABLE "QGC"."MS_ETSQIOR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "INSPECTION_BY" VARCHAR2(36 BYTE),
  "INSPECTION_TIME" DATE,
  "COMPRE_RANK" VARCHAR2(36 BYTE),
  "STATION_ID" VARCHAR2(36 BYTE),
  "COMPRE_SCORE" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."INSPECTION_BY" IS '巡检员，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."INSPECTION_TIME" IS '巡检时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."COMPRE_RANK" IS '综合评级：0=无效 1=强有效性 2=中有效性 3=弱有效性';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."STATION_ID" IS '所属测站，关联MS_ETSQI_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."COMPRE_SCORE" IS '综合评分';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIOR_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQIOR_B" IS '环境技术监督9综合评级表';

-- ----------------------------
-- Table structure for MS_ETSQIQUEO_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQIQUEO_B";
CREATE TABLE "QGC"."MS_ETSQIQUEO_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SEIR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "SEQQB_ID" VARCHAR2(36 BYTE),
  "SEQOB_ID" VARCHAR2(300 BYTE) NOT NULL,
  "QUESTION_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."SEIR_ID" IS '所属测站问题卷结果，关联MS_ETSQIRESULT_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."SEQQB_ID" IS '所属测站问卷对应问题，关联MS_ETSQIQUE_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."SEQOB_ID" IS '所属测站问卷对应问题选项，关联MS_ETSQUEO_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."QUESTION_ID" IS '所属问题，关联MS_ETSQUE_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUEO_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQIQUEO_B" IS '环境技术监督8问题卷问题选项结果表';

-- ----------------------------
-- Table structure for MS_ETSQIQUE_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQIQUE_B";
CREATE TABLE "QGC"."MS_ETSQIQUE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SEQB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "QUESTION_ID" VARCHAR2(36 BYTE) NOT NULL,
  "CATEGORY_ID" VARCHAR2(36 BYTE) NOT NULL,
  "SORT" NUMBER(4,0) DEFAULT 0 NOT NULL,
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."SEQB_ID" IS '所属测站问卷，关联MS_ETSQIC_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."QUESTION_ID" IS '所属问题，关联MS_ETSQUE_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."CATEGORY_ID" IS '所属问题末级分类ID，关联MS_ETSQUEC_B.ID，冗余字段方便查询';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."SORT" IS '顺序';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIQUE_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQIQUE_B" IS '环境技术监督6问卷分类对应问题库表';

-- ----------------------------
-- Table structure for MS_ETSQIRESULT_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQIRESULT_B";
CREATE TABLE "QGC"."MS_ETSQIRESULT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STATION_ID" VARCHAR2(36 BYTE) NOT NULL,
  "SEQB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "INSPECTION_BY" VARCHAR2(36 BYTE) NOT NULL,
  "INSPECTION_TIME" DATE NOT NULL,
  "SITE_CHECK_SITUATION" VARCHAR2(2048 BYTE),
  "SITE_CHECK_PHOTO" VARCHAR2(2018 BYTE),
  "SITE_SCORE" NUMBER(5,2),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."STATION_ID" IS '所属测站，关联 MS_ETSQI_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."SEQB_ID" IS '所属测站问卷，关联 MS_ETSQIC_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."INSPECTION_BY" IS '巡检员，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."INSPECTION_TIME" IS '巡检时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."SITE_CHECK_SITUATION" IS '现场检查情况';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."SITE_CHECK_PHOTO" IS '现场检查照片，存储照片相对数据，多个以逗号分隔';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."SITE_SCORE" IS '现场打分';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQIRESULT_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQIRESULT_B" IS '环境技术监督7问题卷结果表';

-- ----------------------------
-- Table structure for MS_ETSQI_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQI_B";
CREATE TABLE "QGC"."MS_ETSQI_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(10 BYTE) DEFAULT 'eng' NOT NULL,
  "STTP" VARCHAR2(10 BYTE) DEFAULT 'eng' NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "BLPRD" VARCHAR2(10 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "DESCRIPTION" VARCHAR2(1024 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."TYPE" IS '测站类型：eng=常规水电站 stinfo=测站';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."STTP" IS '站类，电站没有站类即为：eng';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."STCD" IS '测站编码，页面显示："电站名称,省份,流域"';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."BLPRD" IS '所属建设阶段：dev_period=建设期 run_period=运行期';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."DT" IS '问卷版本，精确到天';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQI_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQI_B" IS '环境技术监督4问卷表';

-- ----------------------------
-- Table structure for MS_ETSQUEC_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQUEC_B";
CREATE TABLE "QGC"."MS_ETSQUEC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "NAME" VARCHAR2(255 BYTE) NOT NULL,
  "PID" VARCHAR2(36 BYTE) DEFAULT '0' NOT NULL,
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."ID" IS '类型主键';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."TYPE" IS '分类类型：dev_period=建设期评分标准 run_period=运行期评分标准';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."NAME" IS '类型名称';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."PID" IS '类型父ID，建议业务规则ROOT节点“0”';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEC_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQUEC_B" IS '环境技术监督1问题分类信息表';

-- ----------------------------
-- Table structure for MS_ETSQUEO_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQUEO_B";
CREATE TABLE "QGC"."MS_ETSQUEO_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "QUESTION_ID" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(1024 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(1024 BYTE),
  "SCORE" NUMBER(5,2),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."QUESTION_ID" IS '所属问题，关联MS_ETSQUE_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."NAME" IS '选项名称';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."SCORE" IS '分数，预留字段';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUEO_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQUEO_B" IS '环境技术监督3问题库对应选项表';

-- ----------------------------
-- Table structure for MS_ETSQUE_B
-- ----------------------------
DROP TABLE "QGC"."MS_ETSQUE_B";
CREATE TABLE "QGC"."MS_ETSQUE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CATEGORY_ID" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(255 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(1024 BYTE),
  "TYPE" VARCHAR2(5 BYTE) NOT NULL,
  "SCORE" NUMBER(5,2) NOT NULL,
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."CATEGORY_ID" IS '问题末级分类ID，关联MS_ETSQUEC_B.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."NAME" IS '问题名称';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."TYPE" IS '问题类型：radio=单选 multi=多选';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."SCORE" IS '分数';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."ENABLE" IS '是否启用：1=启用 0=禁用';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ETSQUE_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ETSQUE_B" IS '环境技术监督2问题库表';

-- ----------------------------
-- Table structure for MS_GLOBALSC_B
-- ----------------------------
DROP TABLE "QGC"."MS_GLOBALSC_B";
CREATE TABLE "QGC"."MS_GLOBALSC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SYSTEM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RVCD" VARCHAR2(36 BYTE),
  "STYLE" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(50 BYTE),
  "TITLE" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TOOLBOX" VARCHAR2(500 BYTE),
  "TERRAIN" VARCHAR2(200 BYTE),
  "TRANSPARENCY" NUMBER(3,0),
  "MAXLAT" NUMBER(10,6),
  "MAXLON" NUMBER(10,6),
  "MINLAT" NUMBER(10,6),
  "MINLON" NUMBER(10,6),
  "HEIGHT" NUMBER(10,0),
  "IS_AVOID" NUMBER(1,0),
  "TAG_TYPE" NUMBER(1,0),
  "RANGE_OFFSET" NUMBER(10,6),
  "LON_BUFFER" NUMBER(10,6),
  "LAT_BUFFER" NUMBER(10,6),
  "INIT_AZIMUTH" NUMBER(4,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."RVCD" IS 'GIS地图默认流域';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."STYLE" IS 'UI默认风格';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."FID" IS '系统logo,关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."TITLE" IS '标题';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."TOOLBOX" IS '功能区';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."TERRAIN" IS '地形';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."TRANSPARENCY" IS '透明度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MAXLAT" IS '最大纬度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MAXLON" IS '最大经度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MINLAT" IS '最小纬度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."MINLON" IS '最小经度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."HEIGHT" IS '限定高度';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."IS_AVOID" IS '是否避让 1:是，2否';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."TAG_TYPE" IS '标签类型 1、环保部标签，2流域公司标签';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."RANGE_OFFSET" IS '限制显示范围偏移';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."LON_BUFFER" IS '限制经度缓冲量';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."LAT_BUFFER" IS '限制纬度缓冲量';
COMMENT ON COLUMN "QGC"."MS_GLOBALSC_B"."INIT_AZIMUTH" IS '初始化场景方位角';
COMMENT ON TABLE "QGC"."MS_GLOBALSC_B" IS '平台产品化-全局系统配置表';

-- ----------------------------
-- Table structure for MS_HBGZKH_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBGZKH_B";
CREATE TABLE "QGC"."MS_HBGZKH_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "COMPANY" VARCHAR2(100 BYTE),
  "AUDIT_USER" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "EVALUATION_SCORE" NUMBER(3,2),
  "EVALUATION_COMPANY_SCORE" NUMBER(3,2),
  "SELF_EVALUATION_SCORE" NUMBER(3,2),
  "RESULTS_COMPANY_SCORE" NUMBER(3,2),
  "SELFUNIT_TOTAL_SCORE" NUMBER(5,1),
  "COMPANY_TOTAL_SCORE" NUMBER(5,1),
  "FID" VARCHAR2(500 BYTE),
  "REMARK" VARCHAR2(500 BYTE),
  "TM" DATE,
  "YR" NUMBER(4,0),
  "COMPANY_NAME" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."STCD" IS '考核对象';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."COMPANY" IS '考核单位';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."AUDIT_USER" IS '考核人，多个以，分隔开';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."RECORD_USER" IS '填报人';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."PLATFORM_ID" IS '平台di';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."EVALUATION_SCORE" IS '综合评价二级单位自评分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."EVALUATION_COMPANY_SCORE" IS '综合评价公司考核得分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."SELF_EVALUATION_SCORE" IS '结果考核二级单位自评分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."RESULTS_COMPANY_SCORE" IS '结果考核公司考核得分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."SELFUNIT_TOTAL_SCORE" IS '二级单位自评总分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."COMPANY_TOTAL_SCORE" IS '公司考核总分';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."FID" IS '附件id';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBGZKH_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_HBGZKH_B" IS '生态环境保护工作考核表';

-- ----------------------------
-- Table structure for MS_HBJS_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBJS_B";
CREATE TABLE "QGC"."MS_HBJS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "JNJG" NUMBER(10,4),
  "WRZL" NUMBER(10,4),
  "ZYZHLY" NUMBER(10,4),
  "JNHBCLF" NUMBER(10,4),
  "HBSSSTSJS" NUMBER(10,4),
  "JNHBSBYWF" NUMBER(10,4),
  "XCJYYPX" NUMBER(10,4),
  "STXF" NUMBER(10,4),
  "TPFJYLY" NUMBER(10,4),
  "QT" NUMBER(10,4),
  "COMMENTS" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" TIMESTAMP(6)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."JNJG" IS '节能技改';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."WRZL" IS '污染治理';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."ZYZHLY" IS '资源综合利用';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."JNHBCLF" IS '节能环保材料费';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."HBSSSTSJS" IS '环保设施三同时建设';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."JNHBSBYWF" IS '节能环保设备运维费';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."XCJYYPX" IS '宣传教育与培训';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."STXF" IS '生态修复';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."TPFJYLY" IS '碳排放交易履约';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."QT" IS '其他';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBJS_B"."TM" IS '季度时间';
COMMENT ON TABLE "QGC"."MS_HBJS_B" IS '环保费用结算管理';

-- ----------------------------
-- Table structure for MS_HBPCZZ_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBPCZZ_B";
CREATE TABLE "QGC"."MS_HBPCZZ_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "COMPANY" VARCHAR2(100 BYTE),
  "INSPECTOR" VARCHAR2(36 BYTE),
  "STM" TIMESTAMP(6),
  "ETM" TIMESTAMP(6),
  "COMMENTS" VARCHAR2(2000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."COMPANY" IS '检查单位';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."INSPECTOR" IS '检查人';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."STM" IS '检查开始时间';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."ETM" IS '检查开始时间';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."FID" IS '考核表';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."RECORD_USER" IS '填报人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."RECORD_TIME" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBPCZZ_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_HBPCZZ_B" IS '生态环境排查整治表';

-- ----------------------------
-- Table structure for MS_HBRISK_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBRISK_B";
CREATE TABLE "QGC"."MS_HBRISK_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "DWMC" VARCHAR2(36 BYTE),
  "QY" VARCHAR2(100 BYTE) NOT NULL,
  "QYSBMC" VARCHAR2(36 BYTE),
  "KNFSDWX" VARCHAR2(500 BYTE),
  "FXDJ" VARCHAR2(1 BYTE) NOT NULL,
  "GKCJ" VARCHAR2(1 BYTE) NOT NULL,
  "ZRBM" VARCHAR2(100 BYTE) NOT NULL,
  "ZRR" VARCHAR2(36 BYTE) NOT NULL,
  "GCJSCS" VARCHAR2(500 BYTE),
  "SSZB" VARCHAR2(500 BYTE),
  "XCGLCS" VARCHAR2(500 BYTE),
  "PXJYCS" VARCHAR2(500 BYTE),
  "YJCLCS" VARCHAR2(500 BYTE),
  "QTCS" VARCHAR2(500 BYTE),
  "COMMENTS" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."DWMC" IS '单位名称';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."QY" IS '区域';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."QYSBMC" IS '区域/设备名称';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."KNFSDWX" IS '可能发生的风险';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."FXDJ" IS '风险等级';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."GKCJ" IS '管控层级';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."ZRBM" IS '责任部门';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."ZRR" IS '责任人';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."GCJSCS" IS '工程技术措施';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."SSZB" IS '设施装备';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."XCGLCS" IS '现场管理措施';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."PXJYCS" IS '培训教育措施';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."YJCLCS" IS '应急处理措施';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."QTCS" IS '其他措施';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."FID" IS '附件材料';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."RECORD_USER" IS '填报人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."STCD" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_HBRISK_B"."TM" IS '填报日期';
COMMENT ON TABLE "QGC"."MS_HBRISK_B" IS '风险分级管控';

-- ----------------------------
-- Table structure for MS_HBYH_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBYH_B";
CREATE TABLE "QGC"."MS_HBYH_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "YHNR" VARCHAR2(100 BYTE) NOT NULL,
  "TM" TIMESTAMP(6) NOT NULL,
  "STLC" VARCHAR2(255 BYTE) NOT NULL,
  "YHUSER" VARCHAR2(100 BYTE) NOT NULL,
  "JKCS" VARCHAR2(500 BYTE),
  "ZGBM" VARCHAR2(100 BYTE) NOT NULL,
  "ZGUSER" VARCHAR2(100 BYTE) NOT NULL,
  "QXTM" TIMESTAMP(6),
  "ZGTM" TIMESTAMP(6),
  "ZGCS" VARCHAR2(500 BYTE),
  "YHYY" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "COMMENTS" VARCHAR2(500 BYTE),
  "YHDJ" VARCHAR2(1 BYTE) NOT NULL,
  "BFID" VARCHAR2(500 BYTE),
  "AFID" VARCHAR2(500 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "ZGBM_NAME" VARCHAR2(100 BYTE),
  "ZGUSER_NAME" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."YHNR" IS '隐患内容';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."TM" IS '隐患发现时间';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."STLC" IS '隐患地点/部门';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."YHUSER" IS '隐患发行人';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."JKCS" IS '采取监控措施';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGBM" IS '整改责任部门';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGUSER" IS '整改责任人';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."QXTM" IS '整改完成期限';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGTM" IS '整改完成时间';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGCS" IS '整改措施';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."YHYY" IS '隐患产生原因';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."YHDJ" IS '隐患等级';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."BFID" IS '整改前图片';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."AFID" IS '整改后图片';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."RECORD_USER" IS '填报人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."RECORD_TIME" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."STCD" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGBM_NAME" IS '整改责任部门名称';
COMMENT ON COLUMN "QGC"."MS_HBYH_B"."ZGUSER_NAME" IS '整改责任人名称';
COMMENT ON TABLE "QGC"."MS_HBYH_B" IS '隐患排查治理';

-- ----------------------------
-- Table structure for MS_HBYS_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBYS_B";
CREATE TABLE "QGC"."MS_HBYS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "JNJG" NUMBER(10,2),
  "WRZL" NUMBER(10,2),
  "ZYZHLY" NUMBER(10,2),
  "JNHBCLF" NUMBER(10,2),
  "HBSSSTSJS" NUMBER(10,2),
  "JNHBSBYWF" NUMBER(10,2),
  "XCJYYPX" NUMBER(10,2),
  "STXF" NUMBER(10,2),
  "TPFJYLY" NUMBER(10,2),
  "QT" NUMBER(10,2),
  "COMMENTS" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "YR" NUMBER(4,0),
  "HBYS_TYPE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."JNJG" IS '节能技改';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."WRZL" IS '污染治理';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."ZYZHLY" IS '资源综合利用';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."JNHBCLF" IS '节能环保材料费';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."HBSSSTSJS" IS '环保设施三同时建设';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."JNHBSBYWF" IS '节能环保设备运维费';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."XCJYYPX" IS '宣传教育与培训';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."STXF" IS '生态修复';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."TPFJYLY" IS '碳排放交易履约';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."QT" IS '其他';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."FID" IS '附件材料';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."RECORD_USER" IS '填报人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."RECORD_TIME" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_HBYS_B"."HBYS_TYPE" IS '预算标识;0.预算管理，1.结算管理（用于区分是环保费用结算管理录入的数据还是环保费用预算管理录入的数据）';
COMMENT ON TABLE "QGC"."MS_HBYS_B" IS '环保费用预算管理';

-- ----------------------------
-- Table structure for MS_HBZB_B
-- ----------------------------
DROP TABLE "QGC"."MS_HBZB_B";
CREATE TABLE "QGC"."MS_HBZB_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FSZLSS" NUMBER(15,4),
  "WXFWCZL" NUMBER(15,4),
  "CZWNZCL" NUMBER(15,4),
  "WXFWCSL" NUMBER(15,4),
  "KQPFWQLL" NUMBER(15,4),
  "YBGTFWCSL" NUMBER(15,4),
  "YBGTFWZHLYL" NUMBER(15,4),
  "FSZLSSCLNL" NUMBER(15,4),
  "FSCLL" NUMBER(15,4),
  "FSCSL" NUMBER(15,4),
  "FSPFL" NUMBER(15,4),
  "SHWSCSL" NUMBER(15,4),
  "SHWSZLSS" NUMBER(20,0),
  "SHWSZLCLNL" NUMBER(15,4),
  "SHWSCLL" NUMBER(15,4),
  "SHLJCLL" NUMBER(15,4),
  "SHWSPFL" NUMBER(15,4),
  "STHJWRY" NUMBER(15,4),
  "STHJFXD" NUMBER(20,0),
  "HBTR" NUMBER(15,4),
  "HJSJNE" NUMBER(15,4),
  "COMMENTS" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE,
  "STHJFXDNAME" VARCHAR2(255 BYTE),
  "HWOH" NUMBER(15,4),
  "AOWSPAD" NUMBER(15,4),
  "RAOPW" NUMBER(15,4),
  "RAODS" NUMBER(15,4)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."STCD" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FSZLSS" IS '废水治理设施数(套)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."WXFWCZL" IS '危险废物处置量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."CZWNZCL" IS '其中：处置往年贮存量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."WXFWCSL" IS '危险废物产生量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."KQPFWQLL" IS '库区漂浮物清理量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."YBGTFWCSL" IS '一般固体废物产生量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."YBGTFWZHLYL" IS '一般固体废物综合利用量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FSZLSSCLNL" IS '废水治理设施处理能力(万吨/年)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FSCLL" IS '废水处理量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FSCSL" IS '废水产生量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FSPFL" IS '废水排放量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHWSCSL" IS '生活污水产生量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHWSZLSS" IS '生活污水治理设施数(套)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHWSZLCLNL" IS '生活污水治理设施处理能力(万吨/年)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHWSCLL" IS '生活污水处理量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHLJCLL" IS '生活垃圾处理量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."SHWSPFL" IS '生活污水排放量(万吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."STHJWRY" IS '生态环境污染源(个)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."STHJFXD" IS '生态环境风险点(个)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."HBTR" IS '环保投入(万元)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."HJSJNE" IS '环境税缴纳额(万元)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."FID" IS '附件材料';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."RECORD_USER" IS '填报人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."STHJFXDNAME" IS '生态环境风险点(名称)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."HWOH" IS '危险废物现存量(吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."AOWSPAD" IS '弃渣产生及处置量（吨）';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."RAOPW" IS '生产废水回用量(吨)';
COMMENT ON COLUMN "QGC"."MS_HBZB_B"."RAODS" IS '生活污水回用量(吨)';
COMMENT ON TABLE "QGC"."MS_HBZB_B" IS '环保指标管理';

-- ----------------------------
-- Table structure for MS_ICON_B
-- ----------------------------
DROP TABLE "QGC"."MS_ICON_B";
CREATE TABLE "QGC"."MS_ICON_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "NAME_EN" VARCHAR2(100 BYTE),
  "CATEGORY_NAME" VARCHAR2(255 BYTE),
  "ICON_BASE64" CLOB NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ICON_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."CODE" IS '图标编码：如果所属分类为站点分类：建议编码规则：站点分类code.站类';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."NAME" IS '图标名称';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."NAME_EN" IS '图标名称（英文）';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."CATEGORY_NAME" IS '分类名称';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."ICON_BASE64" IS '图标base64';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ICON_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_ICON_B" IS '图标';

-- ----------------------------
-- Table structure for MS_INLIST_B
-- ----------------------------
DROP TABLE "QGC"."MS_INLIST_B";
CREATE TABLE "QGC"."MS_INLIST_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NUM" NUMBER(5,0),
  "TASK_ID" VARCHAR2(50 BYTE) NOT NULL,
  "PROJECT" VARCHAR2(255 BYTE),
  "CLASSIFY" VARCHAR2(50 BYTE) NOT NULL,
  "ITEM" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."NUM" IS '序号';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."TASK_ID" IS '巡检任务ID（MS_INTASK_B.ID）';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."PROJECT" IS '项目/设施';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."CLASSIFY" IS '分类';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."ITEM" IS '巡检项';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_INLIST_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_INLIST_B" IS '巡检清单';

-- ----------------------------
-- Table structure for MS_INRECORD_B
-- ----------------------------
DROP TABLE "QGC"."MS_INRECORD_B";
CREATE TABLE "QGC"."MS_INRECORD_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TASK_ID" VARCHAR2(50 BYTE) NOT NULL,
  "ASK_FOR" VARCHAR2(500 BYTE),
  "CONDITION" VARCHAR2(500 BYTE) NOT NULL,
  "OPINION" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(255 BYTE),
  "PROJECT" VARCHAR2(50 BYTE),
  "CLASSIFY" VARCHAR2(50 BYTE) NOT NULL,
  "ITEM" VARCHAR2(50 BYTE),
  "CRTUSER" VARCHAR2(36 BYTE),
  "IS_INFLUENCE" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."STCD" IS '巡检电站';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."TASK_ID" IS '巡检任务ID（MS_INTASK_B.ID）';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."ASK_FOR" IS '环评要求';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."CONDITION" IS '现场实施情况';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."OPINION" IS '整改意见';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."FID" IS '附件编码';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."PROJECT" IS '项目（环保措施）';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."CLASSIFY" IS '巡检项类型';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."ITEM" IS '巡检项';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."CRTUSER" IS '创建用户ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."IS_INFLUENCE" IS '环境影响分析';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_INRECORD_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_INRECORD_B" IS '巡检记录表';

-- ----------------------------
-- Table structure for MS_INTASK_B
-- ----------------------------
DROP TABLE "QGC"."MS_INTASK_B";
CREATE TABLE "QGC"."MS_INTASK_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(255 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "START_TIME" DATE NOT NULL,
  "END_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."NAME" IS '任务名称';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."STCD" IS '巡检电站';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."START_TIME" IS '计划巡检开始时间';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."END_TIME" IS '计划巡检结束时间';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_INTASK_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_INTASK_B" IS '环保巡检任务表';

-- ----------------------------
-- Table structure for MS_LASTDATA_T
-- ----------------------------
DROP TABLE "QGC"."MS_LASTDATA_T";
CREATE TABLE "QGC"."MS_LASTDATA_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "R_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_CODE" VARCHAR2(30 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."R_ID" IS '监测数据表id：关联R表.ID';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."TB_CODE" IS '监测数据表code：关联ST_TB_B.TB_CODE';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_LASTDATA_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_LASTDATA_T" IS '监测最新时间数据表';

-- ----------------------------
-- Table structure for MS_LYSXJGX_B
-- ----------------------------
DROP TABLE "QGC"."MS_LYSXJGX_B";
CREATE TABLE "QGC"."MS_LYSXJGX_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "LYSD_RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "QGC_RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."LYSD_RVCD" IS '流域水电一期流域编码';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."QGC_RVCD" IS '全过程流域编码';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_LYSXJGX_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_LYSXJGX_B" IS '流域水电和全过程流域关联表';

-- ----------------------------
-- Table structure for MS_MAPENG_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPENG_B";
CREATE TABLE "QGC"."MS_MAPENG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RES_TYPE" VARCHAR2(64 BYTE) NOT NULL,
  "RES_ID" VARCHAR2(36 BYTE) NOT NULL,
  "CHILD_NODE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "MULTI_SELECT" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "CAN_BE_CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."STCD" IS '所属模块：MS_STBPRP_T.STCD';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."RES_TYPE" IS '资源类型：layer=图层 legend=图例 toolbox=工具箱  terrain=地形';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."RES_ID" IS '所属资源ID：根据资源类型所对应的表的主键，RES_TYPE=legend时关联MS_MAPLEGEND_B.ID RES_TYPE=layer时关联MS_MAPLAYER_B.ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."CHILD_NODE" IS '是否子节点：0=否 1=是；图层或图例都为末级设置1，否为0';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."MULTI_SELECT" IS '是否多选：0=否 1=是，默认为是';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."CAN_BE_CHECKED" IS '是否可勾选：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."CHECKED" IS '是否默认勾选：0=否 1=是，默认为是，图层或图例子级有默认选中，父级必须要设置为1';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPENG_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_MAPENG_B" IS '地图与电站映射表';

-- ----------------------------
-- Table structure for MS_MAPLAYER_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPLAYER_B";
CREATE TABLE "QGC"."MS_MAPLAYER_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(30 BYTE),
  "KEY" VARCHAR2(50 BYTE),
  "CODE" VARCHAR2(50 BYTE),
  "TITLE" VARCHAR2(50 BYTE) NOT NULL,
  "TITLE_EN" VARCHAR2(50 BYTE),
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "URL" VARCHAR2(255 BYTE),
  "URL_THD" VARCHAR2(255 BYTE),
  "OPTIONS" VARCHAR2(255 BYTE),
  "TOKEN" VARCHAR2(64 BYTE),
  "USERNAME" VARCHAR2(64 BYTE),
  "PASSWORD" VARCHAR2(64 BYTE),
  "CENTER_LGTD" NUMBER(10,6),
  "CENTER_LTTD" NUMBER(10,6),
  "DEFAULT_ZOOM" VARCHAR2(50 BYTE),
  "COUNTRY" VARCHAR2(50 BYTE),
  "ICON" VARCHAR2(36 BYTE),
  "CHECKABLE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "Z_INDEX" VARCHAR2(50 BYTE),
  "STTP_TYPE" VARCHAR2(50 BYTE),
  "LAYERS" VARCHAR2(255 BYTE),
  "OPACITY" NUMBER(8,2),
  "PARAMJSON" VARCHAR2(2000 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DATA_TYPE" NUMBER(1,0),
  "LABEL_LEVEL" NUMBER(2,0) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."TYPE" IS '类型：arcgisMap=GIS服务 pointMap=锚点服务图层 label=label markers=markers tiledMap=tiledMap arcgis_feature_layers=ArcGIS要素图层 arcgis_service=ArcGIS地图服务 tianditu_wms_service=天地图WMS地图服务 geojson=GeoJSON';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."KEY" IS '标识字段';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."CODE" IS '编码：预留字段';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."TITLE" IS '名称';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."TITLE_EN" IS '名称英文';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."PARENT_ID" IS '所属父节点';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."URL" IS '对应锚点接口';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."URL_THD" IS '对应三维锚点接口';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."OPTIONS" IS '参数设置';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."TOKEN" IS '访问令牌';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."CENTER_LGTD" IS '地图中心点经度';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."CENTER_LTTD" IS '地图中心点纬度';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DEFAULT_ZOOM" IS '默认缩放级别';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."COUNTRY" IS '所属国家：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."ICON" IS '图标：存储iconfont上传图标的id';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."CHECKABLE" IS '是否可选择：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."Z_INDEX" IS '图层上下层层级关系';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."STTP_TYPE" IS '各类站点图层对应类型';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."LAYERS" IS '图层展示数据格式';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."OPACITY" IS '图层透明度';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."PARAMJSON" IS '额外参数：GIS服务需要的json数据，锚点不需要配置';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_MAPLAYER_B"."DATA_TYPE" IS '数据类型:1=结构,2=数据';
COMMENT ON TABLE "QGC"."MS_MAPLAYER_B" IS '地图图层表';

-- ----------------------------
-- Table structure for MS_MAPLEGEND_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPLEGEND_B";
CREATE TABLE "QGC"."MS_MAPLEGEND_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" NVARCHAR2(50) NOT NULL,
  "NAME_EN" VARCHAR2(50 BYTE) NOT NULL,
  "CODE" VARCHAR2(50 BYTE) NOT NULL,
  "ICON" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "PARENT_NAME" VARCHAR2(100 BYTE),
  "LAYER_CODE" VARCHAR2(50 BYTE),
  "MIN_ZOOM" NUMBER(3,0),
  "MAX_ZOOM" NUMBER(3,0),
  "MIN_HEIGHT_THD" NUMBER(15,3),
  "MAX_HEIGHT_THD" NUMBER(15,3),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "IF_SHOW" NUMBER(1,0),
  "EXPRESSION" VARCHAR2(100 BYTE),
  "EXT" VARCHAR2(500 BYTE),
  "DATA_TYPE" NUMBER(1,0),
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE),
  "TREE_LEVEL" NUMBER(2,0),
  "HAS_CHILDREN" NUMBER(1,0),
  "COLOR" VARCHAR2(50 BYTE),
  "SHAPE" VARCHAR2(50 BYTE),
  "MIN_VAL" NUMBER(9,4),
  "MAX_VAL" NUMBER(9,4),
  "IS_FILTER" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."NAME" IS '图例名称';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."NAME_EN" IS '对应锚点状态：anchoPointState';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."CODE" IS '对应图例类型：pointLayer=用于锚点，baseLayer=地图GIS';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."ICON" IS '图标：存储iconfont上传图标的id';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."GROUP_NAME" IS '子级分组：如果没有两个分组PARENT_NAME，GROUP_NAME内容相同';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."PARENT_NAME" IS '对应父级分组';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."LAYER_CODE" IS '图层编码：MS_MAPLAYER_B.CODE';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MIN_ZOOM" IS '二维最小缩放等级';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MAX_ZOOM" IS '二维最大缩放等级';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MIN_HEIGHT_THD" IS '三维最小高程';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MAX_HEIGHT_THD" IS '三维最大高程';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."IF_SHOW" IS '是否显示：0=不显示 1=显示';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."EXPRESSION" IS '区间表达式';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."EXT" IS '扩展字段,json格式';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."DATA_TYPE" IS '数据类型:1=结构,2=数据';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."PARENT_ID" IS '父级ID';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."FULL_PATH" IS '全路径';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."HAS_CHILDREN" IS '是否有子级';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."COLOR" IS '图例颜色';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."SHAPE" IS '图例形状';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MIN_VAL" IS '区间最小值';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."MAX_VAL" IS '区间最大值';
COMMENT ON COLUMN "QGC"."MS_MAPLEGEND_B"."IS_FILTER" IS '是否过滤';
COMMENT ON TABLE "QGC"."MS_MAPLEGEND_B" IS '地图图例表';

-- ----------------------------
-- Table structure for MS_MAPMODULE_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPMODULE_B";
CREATE TABLE "QGC"."MS_MAPMODULE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MODULE_ID" VARCHAR2(64 BYTE) NOT NULL,
  "RES_TYPE" VARCHAR2(64 BYTE) NOT NULL,
  "RES_ID" VARCHAR2(36 BYTE) NOT NULL,
  "CHILD_NODE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "MULTI_SELECT" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "CAN_BE_CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TEMPLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."MODULE_ID" IS '所属模块：关联SYS_MODULE.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."RES_TYPE" IS '资源类型：layer=图层 legend=图例 toolbox=工具箱';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."RES_ID" IS '所属资源ID：根据资源类型所对应的表的主键，RES_TYPE=legend时关联MS_MAPLEGEND_B.ID RES_TYPE=layer时关联MS_MAPLAYER_B.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."CHILD_NODE" IS '是否子节点：0=否 1=是；图层或图例都为末级设置1，否为0';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."MULTI_SELECT" IS '是否多选：0=否 1=是，默认为是';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."CAN_BE_CHECKED" IS '是否可勾选：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."CHECKED" IS '是否默认勾选：0=否 1=是，默认为是，图层或图例子级有默认选中，父级必须要设置为1';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_MAPMODULE_B"."TEMPLATE_ID" IS '模板ID';
COMMENT ON TABLE "QGC"."MS_MAPMODULE_B" IS '地图与菜单映射表';

-- ----------------------------
-- Table structure for MS_MAPTOOLBOX_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPTOOLBOX_B";
CREATE TABLE "QGC"."MS_MAPTOOLBOX_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "NAME_EN" VARCHAR2(50 BYTE) NOT NULL,
  "CODE" VARCHAR2(50 BYTE),
  "MAP_MODEL" VARCHAR2(7 BYTE) DEFAULT 'general' NOT NULL,
  "PATENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "ICON" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TOOL_TYPE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."NAME_EN" IS '名称（英文）';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."CODE" IS '编码：预留字段';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."MAP_MODEL" IS '地图模式：general=通用 2D=2D模式 3D=3D模式';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."PATENT_ID" IS '所属父节点';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."ICON" IS '图标：存储iconfont上传图标的id';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_MAPTOOLBOX_B"."TOOL_TYPE" IS '类型：0-功能区 1-地形 2-图例';
COMMENT ON TABLE "QGC"."MS_MAPTOOLBOX_B" IS '地图工具箱表';

-- ----------------------------
-- Table structure for MS_MAPURL_B
-- ----------------------------
DROP TABLE "QGC"."MS_MAPURL_B";
CREATE TABLE "QGC"."MS_MAPURL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "NAME_EN" VARCHAR2(50 BYTE),
  "URL" VARCHAR2(255 BYTE) NOT NULL,
  "CODE" VARCHAR2(50 BYTE),
  "OPTIONS" VARCHAR2(255 BYTE),
  "TOKEN" VARCHAR2(64 BYTE),
  "USERNAME" VARCHAR2(64 BYTE),
  "PASSWORD" VARCHAR2(64 BYTE),
  "CENTER_LGTD" NUMBER(10,6),
  "CENTER_LTTD" NUMBER(10,6),
  "DEFAULT_ZOOM" VARCHAR2(50 BYTE),
  "COUNTRY" VARCHAR2(50 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."TYPE" IS '分类：2d_dem=2维DEM 3d_dem=3维DEM gis_calc=gis计算服务 common=通用';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."NAME_EN" IS '名称（英文）';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."URL" IS 'url地址';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."CODE" IS '编码：预留字段';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."OPTIONS" IS '参数设置';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."TOKEN" IS '访问令牌';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."CENTER_LGTD" IS '地图中心点经度';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."CENTER_LTTD" IS '地图中心点纬度';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."DEFAULT_ZOOM" IS '默认缩放级别';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."COUNTRY" IS '所属国家：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_MAPURL_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_MAPURL_B" IS '地图相关URL表';

-- ----------------------------
-- Table structure for MS_OPERATION_LOG
-- ----------------------------
DROP TABLE "QGC"."MS_OPERATION_LOG";
CREATE TABLE "QGC"."MS_OPERATION_LOG" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "USER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ACCOUNT" VARCHAR2(36 BYTE),
  "USER_NAME" VARCHAR2(50 BYTE),
  "OPERATION_TYPE" VARCHAR2(50 BYTE) NOT NULL,
  "MODULE" VARCHAR2(1000 BYTE),
  "DESCRIPTION" VARCHAR2(2000 BYTE),
  "REQUEST_URL" VARCHAR2(500 BYTE),
  "REQUEST_METHOD" VARCHAR2(50 BYTE),
  "REQUEST_PARAMS" CLOB,
  "RESPONSE_RESULT" CLOB,
  "OPERATION_STATUS" VARCHAR2(50 BYTE) NOT NULL,
  "ERROR_MSG" CLOB,
  "CLIENT_IP" VARCHAR2(100 BYTE),
  "USER_AGENT" VARCHAR2(500 BYTE),
  "COST_TIME" NUMBER(10,0),
  "LOG_TYPE" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT 'system',
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "TENANT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."USER_ID" IS '操作用户ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."ACCOUNT" IS '操作用户账号';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."USER_NAME" IS '操作用户名称';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."OPERATION_TYPE" IS '操作类型：login=登录 query=查询 insert=新增 update=修改 delete=删除 other=其他等';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."MODULE" IS '操作所属模块，如系统管理、数据查询等';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."DESCRIPTION" IS '操作描述';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."REQUEST_URL" IS '请求的URL地址';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."REQUEST_METHOD" IS 'HTTP请求方法：GET、POST、PUT、DELETE等';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."REQUEST_PARAMS" IS '请求参数，通常以JSON格式存储';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."RESPONSE_RESULT" IS '响应结果，用于记录返回数据，便于排查问题';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."OPERATION_STATUS" IS '操作状态：success=成功 failure=失败 error=错误';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."ERROR_MSG" IS '错误信息，当操作失败时记录详细错误';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."CLIENT_IP" IS '客户端IP地址，支持IPv4和IPv6';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."USER_AGENT" IS '客户端User-Agent信息(客户端+操作系统+浏览器)';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."COST_TIME" IS '操作耗时，单位为毫秒';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."LOG_TYPE" IS '日志类型：login=登录日志 business=业务日志 system=系统日志 security=安全日志 operate=默认日志等';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."MODIFY_USER" IS '修改人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."ISOLATE_ID" IS '数据隔离ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."SYSTEM_ID" IS '数据所属系统ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."PLATFORM_ID" IS '数据所属平台ID';
COMMENT ON COLUMN "QGC"."MS_OPERATION_LOG"."TENANT_ID" IS '数据所属租户ID';
COMMENT ON TABLE "QGC"."MS_OPERATION_LOG" IS '用户业务操作日志表';

-- ----------------------------
-- Table structure for MS_OUTENVINFO_B
-- ----------------------------
DROP TABLE "QGC"."MS_OUTENVINFO_B";
CREATE TABLE "QGC"."MS_OUTENVINFO_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "OUT_TYPE" VARCHAR2(50 BYTE),
  "OUT_OBJ" VARCHAR2(64 BYTE),
  "STATM" DATE,
  "ENDTM" DATE,
  "COMPANY" VARCHAR2(450 BYTE),
  "TASK_NAME" VARCHAR2(2100 BYTE),
  "DESCRIBE" VARCHAR2(2100 BYTE),
  "IS_RATE" NUMBER(10,0),
  "WAY" NUMBER(1,0),
  "INNUM" NUMBER(10,0),
  "INUNIT" NUMBER(10,0),
  "RATE_TYPE" NUMBER(10,0),
  "NUMOT" NUMBER(10,0),
  "SMSTPL_ID" VARCHAR2(50 BYTE),
  "DEADTM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "OUT_STATE" VARCHAR2(20 BYTE) DEFAULT 'UN_FINSH',
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."OUT_TYPE" IS '委外类型：0=环保巡检';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."OUT_OBJ" IS '委外对象';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."STATM" IS '委外开始日期';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."ENDTM" IS '委外结束日期';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."COMPANY" IS '承接方公司名称';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."TASK_NAME" IS '委外任务名称';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."DESCRIBE" IS '委外工作描述';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."IS_RATE" IS '工作汇报频率要求';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."WAY" IS '工作汇报填报方式：0=按频率 1=按次数';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."INNUM" IS '在>=1的整数的填报数值';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."INUNIT" IS '在>=1的整数的填报数值单位类型：1=天 2=旬 3=月 4=年';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."RATE_TYPE" IS '频率类型：0=小时 1=天 2=旬 3=月 4=年 5=季';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."NUMOT" IS '频次数值';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."SMSTPL_ID" IS '短信模板编号';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."DEADTM" IS '填报人帐号失效时间';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."FID" IS '附件编号';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."OUT_STATE" IS '：UN_FINSH=未开始 FINSHED=已完成 IN_PROGRESS=进行中';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTENVINFO_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTENVINFO_B" IS '委外环保信息表（原MS_OUTENVIRON_R-委外环保工作）';

-- ----------------------------
-- Table structure for MS_OUTLOOK_B
-- ----------------------------
DROP TABLE "QGC"."MS_OUTLOOK_B";
CREATE TABLE "QGC"."MS_OUTLOOK_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "OUT_TYPE" VARCHAR2(50 BYTE),
  "OUT_OBJ" VARCHAR2(1000 BYTE),
  "STATM" DATE,
  "ENDTM" DATE,
  "TASK_NAME" VARCHAR2(50 BYTE),
  "DESCRIBE" VARCHAR2(2000 BYTE),
  "DEADTM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "OUT_STATE" VARCHAR2(50 BYTE) DEFAULT 'UN_FINSH',
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "IS_RATE" NUMBER(10,0),
  "WAY" NUMBER(1,0),
  "INNUM" NUMBER(10,0),
  "INUNIT" NUMBER(10,0),
  "RATE_TYPE" NUMBER(10,0),
  "NUMOT" NUMBER(10,0),
  "SMSTPL_ID" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."OUT_TYPE" IS '委外类型：0=环保巡检';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."OUT_OBJ" IS '委外对象';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."STATM" IS '委外开始日期';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."ENDTM" IS '委外结束日期';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."TASK_NAME" IS '委外任务名称';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."DESCRIBE" IS '委外工作描述';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."DEADTM" IS '填报人帐号失效时间';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."FID" IS '附件编号';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."OUT_STATE" IS 'UN_FINSH=未开始 FINSHED=已完成 IN_PROGRESS=进行中';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."IS_RATE" IS '工作汇报频率要求';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."WAY" IS '工作汇报填报方式：0=按频率 1=按次数';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."INNUM" IS '在>=1的整数的填报数值';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."INUNIT" IS '在>=1的整数的填报数值单位类型：1=天 2=旬 3=月 4=年';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."RATE_TYPE" IS '频率类型：0=小时 1=天 2=旬 3=月 4=年 5=季';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."NUMOT" IS '频次数值';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."SMSTPL_ID" IS '短信模板编号';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTLOOK_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTLOOK_B" IS '委外环保巡查信息表（原MS_OUTLOOK_R-委外环保巡检）';

-- ----------------------------
-- Table structure for MS_OUTNOTFILL_R
-- ----------------------------
DROP TABLE "QGC"."MS_OUTNOTFILL_R";
CREATE TABLE "QGC"."MS_OUTNOTFILL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SOURCE" NUMBER(2,0),
  "TASK_NAME" VARCHAR2(2100 BYTE),
  "SOURCE_ID" VARCHAR2(64 BYTE),
  "TM" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."ID" IS '编码';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."SOURCE" IS '类型：0=委外环保工作 1=委外巡检 2=任务列表';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."TASK_NAME" IS '任务名称';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."SOURCE_ID" IS '来源编码 委外环保工作/委外环保巡检/任务列表编码';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."TM" IS '日期';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTNOTFILL_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTNOTFILL_R" IS '委外待办任务记录表';

-- ----------------------------
-- Table structure for MS_OUTREPORT_B
-- ----------------------------
DROP TABLE "QGC"."MS_OUTREPORT_B";
CREATE TABLE "QGC"."MS_OUTREPORT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TASK_ID" VARCHAR2(64 BYTE) NOT NULL,
  "TYPE" VARCHAR2(32 BYTE) NOT NULL,
  "STATUS" VARCHAR2(32 BYTE) NOT NULL,
  "STARTD" DATE,
  "ENDD" DATE,
  "CONTENT" VARCHAR2(2000 BYTE) NOT NULL,
  "FID" VARCHAR2(64 BYTE),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."TASK_ID" IS '根据type不同分别指向MS_TASK_R.id，MS_OUTENVINFO_B.id';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."TYPE" IS '类型（工作任务，委外环保工作、委外环保巡检）';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."STATUS" IS '任务状态 初稿:FIRST_DRAFT/已提交:SUBMITTED/已阅:REVIEWED';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."STARTD" IS '开始日期';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."ENDD" IS '结束日期';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."CONTENT" IS '汇报内容';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."FID" IS '附件Id';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTREPORT_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTREPORT_B" IS '委外工作汇报信息表';

-- ----------------------------
-- Table structure for MS_OUTTASK_B
-- ----------------------------
DROP TABLE "QGC"."MS_OUTTASK_B";
CREATE TABLE "QGC"."MS_OUTTASK_B" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "STATUS" VARCHAR2(32 BYTE) NOT NULL,
  "FINSH_TIME" DATE,
  "PERSON_IN_CHARGE" VARCHAR2(64 BYTE) NOT NULL,
  "MOBILE_PHONE" VARCHAR2(11 BYTE),
  "COMPANY" VARCHAR2(64 BYTE) NOT NULL,
  "DEPT" VARCHAR2(64 BYTE),
  "PLANST" DATE,
  "PLANET" DATE,
  "PARENT_ID" VARCHAR2(64 BYTE) DEFAULT '-' NOT NULL,
  "DESCRIBE" VARCHAR2(2000 BYTE) NOT NULL,
  "FID" VARCHAR2(2000 BYTE),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "FULL_PATH" VARCHAR2(2000 BYTE),
  "IS_RATE" NUMBER(10,0),
  "WAY" NUMBER(1,0),
  "INNUM" NUMBER(10,0),
  "NUMOT" NUMBER(10,0),
  "RATE_TYPE" NUMBER(10,0),
  "INUNIT" NUMBER(10,0),
  "FRACTION" NUMBER(5,1),
  "SMSTPL_ID" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."NAME" IS '任务名称';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."STATUS" IS '任务状态';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."FINSH_TIME" IS '任务完成时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."PERSON_IN_CHARGE" IS '负责人';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."MOBILE_PHONE" IS '负责人手机号';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."COMPANY" IS '负责人所属公司';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."DEPT" IS '负责人所属部门';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."PLANST" IS '计划开始时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."PLANET" IS '计划结束时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."PARENT_ID" IS '上级任务ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."DESCRIBE" IS '任务描述';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."FID" IS '附件Id';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."FULL_PATH" IS '层级全路径';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."IS_RATE" IS '工作汇报频率要求';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."WAY" IS '工作汇报填报方式：0=按频率 1=按次数';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."INNUM" IS '在>=1的整数的填报数值';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."NUMOT" IS '频次数值';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."RATE_TYPE" IS '频率类型：0=小时 1=天 2=旬 3=月 4=年 5=季';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."INUNIT" IS '在>=1的整数的填报数值单位类型：1=天 2=旬 3=月 4=年';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."FRACTION" IS '打分分数';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTTASK_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTTASK_B" IS '流域公司日常工作任务';

-- ----------------------------
-- Table structure for MS_OUTUSER_B
-- ----------------------------
DROP TABLE "QGC"."MS_OUTUSER_B";
CREATE TABLE "QGC"."MS_OUTUSER_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "OUT_ID" VARCHAR2(50 BYTE),
  "LINK_NAME" VARCHAR2(50 BYTE),
  "TEL" VARCHAR2(20 BYTE),
  "TB_FLAG" NUMBER(1,0),
  "USER_TYPE" NUMBER(1,0),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."OUT_ID" IS '关联MS_OUTLOOK_B.ID或者MS_OUTENVINFO_B.ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."LINK_NAME" IS '联系人姓名';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."TEL" IS '联系人手机号';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."TB_FLAG" IS '是否填报人：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."USER_TYPE" IS '类型：0=委外环保工作 1=委外巡检';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_OUTUSER_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_OUTUSER_B" IS '委外联系人信息表';

-- ----------------------------
-- Table structure for MS_PPBCLTAG_B
-- ----------------------------
DROP TABLE "QGC"."MS_PPBCLTAG_B";
CREATE TABLE "QGC"."MS_PPBCLTAG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TAG_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "TAG_TYPE" VARCHAR2(50 BYTE),
  "REMARK" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."TAG_NAME" IS '标签名称';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."TAG_TYPE" IS '标签类型：time=时间标签 select=下拉标签';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PPBCLTAG_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."MS_PPBCLTAG_B" IS '组件标签表';

-- ----------------------------
-- Table structure for MS_PPBCL_B
-- ----------------------------
DROP TABLE "QGC"."MS_PPBCL_B";
CREATE TABLE "QGC"."MS_PPBCL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(100 BYTE) NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "USETYPE" VARCHAR2(100 BYTE) NOT NULL,
  "REMARK" VARCHAR2(1000 BYTE) NOT NULL,
  "EXAMPLEIMG" CLOB NOT NULL,
  "DATA" CLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TAG_IDS" VARCHAR2(1000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."USETYPE" IS '适用方式：normal=普通 eng_common=电站通用';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."EXAMPLEIMG" IS '示例图：base64';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."DATA" IS '前端配置数据';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_PPBCL_B"."TAG_IDS" IS '标签ID集合，与MS_PPBCLTAG_B的ID关联';
COMMENT ON TABLE "QGC"."MS_PPBCL_B" IS '平台产品化-业务组件基础表';

-- ----------------------------
-- Table structure for MS_PPLAYOUT_B
-- ----------------------------
DROP TABLE "QGC"."MS_PPLAYOUT_B";
CREATE TABLE "QGC"."MS_PPLAYOUT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "CODE" VARCHAR2(100 BYTE) NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "REMARK" VARCHAR2(1000 BYTE) NOT NULL,
  "EXAMPLEIMG" CLOB NOT NULL,
  "DATA" CLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."TYPE" IS '布局类型：page=页面布局 map=地图布局';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."EXAMPLEIMG" IS '示例图：base64';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."DATA" IS '前端配置数据';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PPLAYOUT_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_PPLAYOUT_B" IS '平台产品化-页面布局基础表';

-- ----------------------------
-- Table structure for MS_PPMODULELB_B
-- ----------------------------
DROP TABLE "QGC"."MS_PPMODULELB_B";
CREATE TABLE "QGC"."MS_PPMODULELB_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MODULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "LAYOUT_ID" VARCHAR2(36 BYTE) NOT NULL,
  "BCL_DATA" CLOB NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ROLE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."MODULE_ID" IS '所属模块：关联SYS_MODULE.ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."LAYOUT_ID" IS '布局：关联MS_PPLAYOUT_B.ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."BCL_DATA" IS '布局各组件配置';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_PPMODULELB_B"."ROLE_ID" IS '角色ID';
COMMENT ON TABLE "QGC"."MS_PPMODULELB_B" IS '平台产品化-菜单与布局组件配置表';

-- ----------------------------
-- Table structure for MS_PROJECT_B
-- ----------------------------
DROP TABLE "QGC"."MS_PROJECT_B";
CREATE TABLE "QGC"."MS_PROJECT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TITLE" VARCHAR2(100 BYTE) NOT NULL,
  "CONTENT" VARCHAR2(2000 BYTE),
  "PIC" VARCHAR2(100 BYTE),
  "REMARK" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYNOPSIS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."TITLE" IS '标题';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."CONTENT" IS '内容';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."PIC" IS '图片';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_PROJECT_B"."SYNOPSIS" IS '简介';
COMMENT ON TABLE "QGC"."MS_PROJECT_B" IS '项目信息表';

-- ----------------------------
-- Table structure for MS_PSBMODULELB_B
-- ----------------------------
DROP TABLE "QGC"."MS_PSBMODULELB_B";
CREATE TABLE "QGC"."MS_PSBMODULELB_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "LAYOUT_ID" VARCHAR2(36 BYTE) NOT NULL,
  "BCL_DATA" CLOB NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ROLE_ID" VARCHAR2(36 BYTE),
  "IS_LAYOUT" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."STCD" IS '所属电站：关联STCD';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."LAYOUT_ID" IS '布局：关联MS_PPLAYOUT_B.ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."BCL_DATA" IS '布局各组件配置';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."ROLE_ID" IS '角色ID';
COMMENT ON COLUMN "QGC"."MS_PSBMODULELB_B"."IS_LAYOUT" IS '是否布局';
COMMENT ON TABLE "QGC"."MS_PSBMODULELB_B" IS '平台产品化-电站与布局组件配置表';

-- ----------------------------
-- Table structure for MS_PUSH_HISTORY_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_HISTORY_B";
CREATE TABLE "QGC"."MS_PUSH_HISTORY_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "PUSH_INFO_ID" VARCHAR2(50 BYTE) NOT NULL,
  "PUSH_TITLE" VARCHAR2(255 BYTE),
  "PUSH_CONTENT" VARCHAR2(2000 BYTE),
  "PUSH_TIME" DATE NOT NULL,
  "PUSH_STATE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PUSH_WAY" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PUSH_SOURCE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "PUSH_STCD" VARCHAR2(50 BYTE),
  "PUSH_STNM" VARCHAR2(20 BYTE),
  "PUSH_BASE_ID" VARCHAR2(50 BYTE),
  "PUSH_BASE_NAME" VARCHAR2(50 BYTE),
  "YS" VARCHAR2(20 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "RECORD_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_INFO_ID" IS '消息推送配置ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_TITLE" IS '推送标题';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_CONTENT" IS '推送内容';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_TIME" IS '推送时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_STATE" IS '推送状态[0: 推送失败; 1: 部分失败; 2: 待推送; 3: 推送中; 4: 已推送; 5: 推送成功]';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_WAY" IS '推送方式[1: 系统推送; 2: 短信推送; 3: APP推送; 4: 邮件推送; 5: 极光推送; 6: 第三方推送]';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_SOURCE" IS '推送来源[0: 系统自动; 1: 手动推送]';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_STCD" IS '测站ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_STNM" IS '测站名称';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_BASE_ID" IS '基地ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."PUSH_BASE_NAME" IS '基地名称';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."YS" IS '要素';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."LGTD" IS '经度';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."LTTD" IS '纬度';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_HISTORY_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_PUSH_HISTORY_B" IS '推送历史记录表';

-- ----------------------------
-- Table structure for MS_PUSH_INFO_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_INFO_B";
CREATE TABLE "QGC"."MS_PUSH_INFO_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "TYPE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "BASE_ID" VARCHAR2(1000 BYTE),
  "PERMISSION_CONFIG" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "IS_SYSTEM_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_NOTE_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_APP_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_MAIL_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_JIGUANG_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_THIRD_PUSH" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "EFFECTIVE_TYPE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "EFFECTIVE_START_TIME" DATE DEFAULT NULL,
  "EFFECTIVE_END_TIME" DATE DEFAULT NULL,
  "NON_ETTM_PUSH_STRATEGY" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_CYCLE_TYPE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "TASK_CYCLE_TIME" VARCHAR2(36 BYTE),
  "TASK_CRON" VARCHAR2(36 BYTE),
  "JOB_ID" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "SUCCEED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_TIME" DATE DEFAULT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "MODIFY_TIME" DATE DEFAULT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE DEFAULT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE) DEFAULT NULL,
  "ISOLATE_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "APP_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "SYSTEM_ID" VARCHAR2(36 BYTE) DEFAULT NULL,
  "PLATFORM_ID" VARCHAR2(36 BYTE) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."NAME" IS '消息推送配置名称';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."TYPE" IS '消息推送配置类型';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."BASE_ID" IS '基地ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."PERMISSION_CONFIG" IS '是否可以配置推送权限[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_SYSTEM_PUSH" IS '开启系统推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_NOTE_PUSH" IS '开启短信推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_APP_PUSH" IS '开启APP推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_MAIL_PUSH" IS '开启邮件推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_JIGUANG_PUSH" IS '开启极光推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_THIRD_PUSH" IS '开启第三方推送[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."EFFECTIVE_TYPE" IS '有效时间类型[1: 全天有效; 2: 部分时间有效]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."EFFECTIVE_START_TIME" IS '有效时间开始时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."EFFECTIVE_END_TIME" IS '有效时间结束时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."NON_ETTM_PUSH_STRATEGY" IS '非有效时间推送策略[0: 正常推送; 1: 延迟推送; 2: 忽略推送]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."TASK_CYCLE_TYPE" IS '定时任务周期类型[1: 每天; 2: 每周; 3: 每月]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."TASK_CYCLE_TIME" IS '定时任务运行时间节点';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."TASK_CRON" IS '定时任务Cron表达式';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."JOB_ID" IS 'XXL-JOB任务ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."SUCCEED" IS 'XXL-JOB任务创建是否成功[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."ISOLATE_ID" IS '租户id';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."APP_ID" IS 'AppId';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."SYSTEM_ID" IS '系统id';
COMMENT ON COLUMN "QGC"."MS_PUSH_INFO_B"."PLATFORM_ID" IS '平台id';
COMMENT ON TABLE "QGC"."MS_PUSH_INFO_B" IS '消息来源及消息推送配置表';

-- ----------------------------
-- Table structure for MS_PUSH_PERMISSION_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_PERMISSION_B";
CREATE TABLE "QGC"."MS_PUSH_PERMISSION_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "PUSH_INFO_ID" VARCHAR2(50 BYTE) NOT NULL,
  "PUSH_WAY" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PERMISSION_TYPE" NUMBER(1,0) NOT NULL,
  "FACT_ID" VARCHAR2(50 BYTE),
  "RECORD_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."PUSH_INFO_ID" IS '消息推送配置ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."PUSH_WAY" IS '推送方式[1: 系统推送; 2: 短信推送; 3: APP推送; 4: 邮件推送; 5: 极光推送; 6: 第三方推送]';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."PERMISSION_TYPE" IS '权限类型[0: 所有人; 1: 用户权限; 2: 角色权限; 3: 部门权限]';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."FACT_ID" IS '实际ID(可以是用户ID、角色ID、部门ID，权限类型为所有人时为空)';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_PERMISSION_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_PUSH_PERMISSION_B" IS '推送权限分配表';

-- ----------------------------
-- Table structure for MS_PUSH_RULE_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_RULE_B";
CREATE TABLE "QGC"."MS_PUSH_RULE_B" (
  "ID" VARCHAR2(32 BYTE) NOT NULL,
  "STYPE" VARCHAR2(36 BYTE),
  "STTP_ID" VARCHAR2(36 BYTE),
  "YS" VARCHAR2(36 BYTE),
  "CONTINUOUS_TIME" NUMBER(1,0),
  "FIRST_PUSH_TIME" NUMBER(1,0),
  "PUSH_INTERVAL_TIME" NUMBER(1,0),
  "EXCEED_SCALE" NUMBER(1,0),
  "DELAY_YJ_TIME" NUMBER(1,0),
  "ABNORMAL_INTERVAL_TIME" NUMBER(1,0),
  "RECORD_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."STYPE" IS '消息类型';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."STTP_ID" IS '测站类型ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."YS" IS '要素';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."CONTINUOUS_TIME" IS '连续超标时间(分)';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."FIRST_PUSH_TIME" IS '首次推送间隔时间(分)';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."PUSH_INTERVAL_TIME" IS '连续推送间隔时间(分)';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."EXCEED_SCALE" IS '超过阈值比例';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."DELAY_YJ_TIME" IS '延迟预警时间(分)';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."ABNORMAL_INTERVAL_TIME" IS '异常相隔时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_RULE_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_PUSH_RULE_B" IS '推送规则表';

-- ----------------------------
-- Table structure for MS_PUSH_TARGET_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_TARGET_B";
CREATE TABLE "QGC"."MS_PUSH_TARGET_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "HISTORY_ID" VARCHAR2(50 BYTE) NOT NULL,
  "USER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "PUSH_TIME" DATE,
  "PUSH_STATE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "IS_READ" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."HISTORY_ID" IS '推送历史记录ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."USER_ID" IS '用户ID';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."PUSH_TIME" IS '推送时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."PUSH_STATE" IS '推送状态[0: 推送失败; 1: 部分失败; 2: 待推送; 3: 推送中; 4: 已推送; 5: 推送成功]';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."IS_READ" IS '是否已读[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TARGET_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_PUSH_TARGET_B" IS '推送目标情况表';

-- ----------------------------
-- Table structure for MS_PUSH_TYPE_B
-- ----------------------------
DROP TABLE "QGC"."MS_PUSH_TYPE_B";
CREATE TABLE "QGC"."MS_PUSH_TYPE_B" (
  "ID" VARCHAR2(50 BYTE) NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "ENABLED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_TIME" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "IS_DELETED" VARCHAR2(2 BYTE) DEFAULT '0' NOT NULL,
  "DELETE_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."NAME" IS '推送类型名称';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."ENABLED" IS '是否启用[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."MODIFY_USER" IS '修改用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."IS_DELETED" IS '删除标志[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_PUSH_TYPE_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_PUSH_TYPE_B" IS '全局推送类型配置表';

-- ----------------------------
-- Table structure for MS_REPLACE_B
-- ----------------------------
DROP TABLE "QGC"."MS_REPLACE_B";
CREATE TABLE "QGC"."MS_REPLACE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RPLACE" VARCHAR2(300 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."STCD" IS '电站标识码';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."RPLACE" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_REPLACE_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."MS_REPLACE_B" IS '电站放流地点信息表';

-- ----------------------------
-- Table structure for MS_REPORT_CHART_B
-- ----------------------------
DROP TABLE "QGC"."MS_REPORT_CHART_B";
CREATE TABLE "QGC"."MS_REPORT_CHART_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(100 BYTE) NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "QUERY_SQL" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "DATA" CLOB,
  "CHART_TYPE" VARCHAR2(100 BYTE),
  "EXT" VARCHAR2(1000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."CODE" IS '图表code';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."NAME" IS '图表名称';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."QUERY_SQL" IS '图表统计sql';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."DATA" IS '图表组件数据';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."CHART_TYPE" IS '图表组件类型';
COMMENT ON COLUMN "QGC"."MS_REPORT_CHART_B"."EXT" IS '扩展字段';
COMMENT ON TABLE "QGC"."MS_REPORT_CHART_B" IS '报表图表组件表';

-- ----------------------------
-- Table structure for MS_REPORT_METRICS_B
-- ----------------------------
DROP TABLE "QGC"."MS_REPORT_METRICS_B";
CREATE TABLE "QGC"."MS_REPORT_METRICS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(100 BYTE) NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "METRICS_EN" VARCHAR2(100 BYTE) NOT NULL,
  "METRICS_CN" VARCHAR2(100 BYTE) NOT NULL,
  "QUERY_SQL" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."CODE" IS '指标所属分组Code';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."NAME" IS '指标所属分组名称';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."METRICS_EN" IS '指标英文名';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."METRICS_CN" IS '指标中文名';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."QUERY_SQL" IS '指标统计sql';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_METRICS_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."MS_REPORT_METRICS_B" IS '报表指标表';

-- ----------------------------
-- Table structure for MS_REPORT_TASK_B
-- ----------------------------
DROP TABLE "QGC"."MS_REPORT_TASK_B";
CREATE TABLE "QGC"."MS_REPORT_TASK_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TASK_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DATA_TIME" VARCHAR2(100 BYTE) NOT NULL,
  "EXPORT_STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DRTP" VARCHAR2(4 BYTE),
  "DATA" CLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."TASK_NAME" IS '报表任务名称';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DATA_TIME" IS '数据时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."EXPORT_STATUS" IS '导出状态 1=正在导出 2=导出成功 3=导出失败';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DRTP" IS '报表类型 MON=月报 WEEK=周报 DAY=日报';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DATA" IS '文档数据';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TASK_B"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."MS_REPORT_TASK_B" IS '报表任务管理表';

-- ----------------------------
-- Table structure for MS_REPORT_TEMPLATE_B
-- ----------------------------
DROP TABLE "QGC"."MS_REPORT_TEMPLATE_B";
CREATE TABLE "QGC"."MS_REPORT_TEMPLATE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TEMPLATE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "METRICS_ID" VARCHAR2(1000 BYTE),
  "CHART_ID" VARCHAR2(1000 BYTE),
  "DATA" CLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IMG_DATA" CLOB
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."TEMPLATE_NAME" IS '模板名称';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."METRICS_ID" IS '模板配置使用的指标ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."CHART_ID" IS '模板配置使用的图表ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."DATA" IS '模板内容';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."MS_REPORT_TEMPLATE_B"."IMG_DATA" IS '模板截图';
COMMENT ON TABLE "QGC"."MS_REPORT_TEMPLATE_B" IS '报表模板配置表';

-- ----------------------------
-- Table structure for MS_RIVERCS_B
-- ----------------------------
DROP TABLE "QGC"."MS_RIVERCS_B";
CREATE TABLE "QGC"."MS_RIVERCS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(50 BYTE) NOT NULL,
  "NAME" VARCHAR2(50 BYTE) NOT NULL,
  "STANDARD" NUMBER(36,0) NOT NULL,
  "B_STANDARD" VARCHAR2(36 BYTE) NOT NULL,
  "SM_STANDARD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."CODE" IS '指标编码';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."NAME" IS '指标名称';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."STANDARD" IS '分级标准：1=优秀 2=良好 3=一般 4=较差 5=差';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."B_STANDARD" IS '大型河流标准计算公式';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."SM_STANDARD" IS '中、小型河流标准计算公式';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_RIVERCS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_RIVERCS_B" IS '河流连通性分级标准表';

-- ----------------------------
-- Table structure for MS_ROTATION_B
-- ----------------------------
DROP TABLE "QGC"."MS_ROTATION_B";
CREATE TABLE "QGC"."MS_ROTATION_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "HYCD" VARCHAR2(64 BYTE),
  "MENU_CODE" VARCHAR2(150 BYTE) NOT NULL,
  "MENU_URL" VARCHAR2(150 BYTE),
  "FID" VARCHAR2(64 BYTE) NOT NULL,
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."HYCD" IS '公司编码SD_HYDROCOCD_DIC.HYCD';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."MENU_CODE" IS '菜单编码SYS_MODULE.CODE';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."MENU_URL" IS '菜单访问链接';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."FID" IS '轮播图id';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."IS_DELETED" IS '是否删除';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_ROTATION_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."MS_ROTATION_B" IS '轮播图表';

-- ----------------------------
-- Table structure for MS_RULEDEPTU_B
-- ----------------------------
DROP TABLE "QGC"."MS_RULEDEPTU_B";
CREATE TABLE "QGC"."MS_RULEDEPTU_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "ORG_ID" VARCHAR2(36 BYTE),
  "ORG_NAME" VARCHAR2(36 BYTE),
  "FILLUSER_ID" VARCHAR2(36 BYTE),
  "FILLUSER_NAME" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."ORG_ID" IS '任务部门ID;一个部门可对应多个填报人';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."ORG_NAME" IS '任务部门名称';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."FILLUSER_ID" IS '填报人ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."FILLUSER_NAME" IS '填报人名称';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_RULEDEPTU_B"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."MS_RULEDEPTU_B" IS '任务部门对应填报人关系表';

-- ----------------------------
-- Table structure for MS_RULEFILL_B
-- ----------------------------
DROP TABLE "QGC"."MS_RULEFILL_B";
CREATE TABLE "QGC"."MS_RULEFILL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "DATA_NAME" VARCHAR2(300 BYTE) NOT NULL,
  "ENTRY_TIME" DATE NOT NULL,
  "ENTRY_END_TIME" DATE,
  "STATION_APPROVE_END" DATE,
  "RVCD_APPROVE_END" DATE,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "STCD_TYPE" NUMBER(1,0),
  "RULE_ID" VARCHAR2(36 BYTE),
  "RULE_FORM_ID" VARCHAR2(36 BYTE),
  "ENTRY_TYPE" NUMBER(1,0),
  "IS_OVERSEE" NUMBER(1,0) DEFAULT 0,
  "DELAY_DAY" NUMBER(5,0),
  "FILL_COUNT" NUMBER(5,0) DEFAULT 0,
  "NEED_COUNT" NUMBER(5,0) DEFAULT 1,
  "DEAL_STATUS" NUMBER DEFAULT 0,
  "PUSH_BODY" VARCHAR2(4000 BYTE),
  "DEAL_BODY" VARCHAR2(4000 BYTE),
  "IS_DW" NUMBER(1,0),
  "AI_STCD" VARCHAR2(36 BYTE),
  "AI_ID" VARCHAR2(36 BYTE),
  "FILL_USER" VARCHAR2(36 BYTE),
  "IS_NFILL" NUMBER(1,0),
  "DATA_REPORT_TYPE" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."STCD" IS '电站';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."FORM_ID" IS '表单ID,关联表DYNAMIC_TABLE_FORM_INFO.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DATA_NAME" IS '数据项（表单名）';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."ENTRY_TIME" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."ENTRY_END_TIME" IS '填报截止时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."STATION_APPROVE_END" IS '电站公司审批截止时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."RVCD_APPROVE_END" IS '流域公司审批截止时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."RECORD_TIME" IS '任务创建时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."RECORD_USER" IS '任务创建用户';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."STCD_TYPE" IS '站类型, 0：电站; 1: 增殖站;';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."RULE_FORM_ID" IS '填报数据项ID，关联表MS_RULEFORM_B.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."ENTRY_TYPE" IS '填报状态：0，待填报；1，已暂存；2，已填报';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."IS_OVERSEE" IS '是否督办: 0, 否; 1, 是';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DELAY_DAY" IS '延期天数';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."FILL_COUNT" IS '已经填报的总数';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."NEED_COUNT" IS '需要填报的总数';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DEAL_STATUS" IS '处理状态, 0:初始;1:待办;2:已办;3:待办同步失败;4:已办同步失败;';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."PUSH_BODY" IS '发送待办请求实体';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DEAL_BODY" IS '处理待办请求实体';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."IS_DW" IS '是否为叠粱门提/落门运行数据填报数据：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."AI_STCD" IS '预存字段：SD_AICOM_R.STCD';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."AI_ID" IS 'AI常规表ID;';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."FILL_USER" IS '填报人';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."IS_NFILL" IS '区分填报数据（预留字段）;1新规则配置生成的填报任务。空为老规则配置生成的数据';
COMMENT ON COLUMN "QGC"."MS_RULEFILL_B"."DATA_REPORT_TYPE" IS '填报周期（1.日、2.周、3.旬、4.月、5.季、6.半年、7.年、8.开始结束周期）';
COMMENT ON TABLE "QGC"."MS_RULEFILL_B" IS '首页代办数据填报表';

-- ----------------------------
-- Table structure for MS_RULEFORM_B
-- ----------------------------
DROP TABLE "QGC"."MS_RULEFORM_B";
CREATE TABLE "QGC"."MS_RULEFORM_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FORM_NAME" VARCHAR2(200 BYTE) NOT NULL,
  "DATE_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DATE_TYPE" NUMBER(1,0),
  "STTP_CODE" VARCHAR2(20 BYTE),
  "STTP_FIELD" VARCHAR2(20 BYTE),
  "BLPRD_CODE" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."RULE_ID" IS '规则ID，关联表MS_RULETASK_B.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."FORM_ID" IS '表单ID，关联表DYNAMIC_TABLE_FORM_INFO.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."FORM_NAME" IS '表单名称';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."DATE_FIELD" IS '时间字段（如:TM,STRDT/ENDDT）';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."RECORD_TIME" IS '任务创建时间';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."RECORD_USER" IS '任务创建用户';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."DATE_TYPE" IS '时间类型: 0, 时间点; 1, 时间段; 2, 整形年';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."STTP_CODE" IS '设施类型';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."STTP_FIELD" IS '设施字段';
COMMENT ON COLUMN "QGC"."MS_RULEFORM_B"."BLPRD_CODE" IS '建设阶段编码，多个逗号隔开';
COMMENT ON TABLE "QGC"."MS_RULEFORM_B" IS '填报数据规则与表单关系表';

-- ----------------------------
-- Table structure for MS_RULESMS_B
-- ----------------------------
DROP TABLE "QGC"."MS_RULESMS_B";
CREATE TABLE "QGC"."MS_RULESMS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "DATA_NAME" VARCHAR2(200 BYTE),
  "POSITION_ID" VARCHAR2(36 BYTE),
  "POSITION_NAME" VARCHAR2(36 BYTE),
  "SMS_REMIND_TIME" NUMBER(2,0),
  "SMS_REMINDER" VARCHAR2(36 BYTE),
  "SMS_TELPLATE" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "POINT_TIME" VARCHAR2(20 BYTE),
  "POSITION_TYPE" NUMBER(1,0),
  "RULETASK_ID" VARCHAR2(1000 BYTE),
  "DATA_TYPE" NUMBER(1,0),
  "IS_NEW" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."STCD" IS '预设字段。电站';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."DATA_NAME" IS '短信规则名称';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."POSITION_ID" IS '权限ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."POSITION_NAME" IS '权限名称（可以是岗位，角色，用户组）';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."SMS_REMIND_TIME" IS '短信提醒日期（具体天数，说明：提醒频率是截止之后提醒的时间间隔）';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."SMS_REMINDER" IS '提醒频率';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."SMS_TELPLATE" IS '短信模版';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."RECORD_TIME" IS '短信规则创建时间';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."RECORD_USER" IS '短信规则创建用户';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."POINT_TIME" IS '发送时间点';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."POSITION_TYPE" IS '权限类型（0岗位，1角色，2用户组）';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."DATA_TYPE" IS '电站/增殖站类型';
COMMENT ON COLUMN "QGC"."MS_RULESMS_B"."IS_NEW" IS '是否为新规则配置的短信规则信息;1是';
COMMENT ON TABLE "QGC"."MS_RULESMS_B" IS '规则短信模版表';

-- ----------------------------
-- Table structure for MS_RULETASK_B
-- ----------------------------
DROP TABLE "QGC"."MS_RULETASK_B";
CREATE TABLE "QGC"."MS_RULETASK_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "RULE_NAME" VARCHAR2(300 BYTE) NOT NULL,
  "DATA_REPORT_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "DATA_OCCURRENCE" NUMBER(2,0) DEFAULT 1 NOT NULL,
  "DATA_START_TIME" DATE,
  "DATA_END_TIME" DATE,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(1000 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEADLINE_TYPE" NUMBER(1,0) NOT NULL,
  "DATA_TYPE" NUMBER(1,0),
  "RULE_STAT_TIME" DATE,
  "RULE_END_TIME" DATE,
  "DEADLINE_DATE" DATE,
  "FORM_ID" VARCHAR2(1000 BYTE),
  "FILL_USER" VARCHAR2(1000 BYTE),
  "FILL_DEPT" VARCHAR2(1000 BYTE),
  "IS_LOOP" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."STCD" IS '电站/增殖站';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."RULE_NAME" IS '规则名称';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DATA_REPORT_TYPE" IS '填报周期（1.日、2.周、3.旬、4.月、5.季、6.半年、7.年、8.开始结束周期）';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DATA_OCCURRENCE" IS '频次（默认1）';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DATA_START_TIME" IS '任务开始时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DATA_END_TIME" IS '任务结束时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."RECORD_TIME" IS '任务创建时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."RECORD_USER" IS '任务创建用户';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DEPARTMENT_ID" IS '任务部门ID;多个任务部门ID以,进行分隔';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DEADLINE_TYPE" IS '数据频率：1.日、2.周、3.旬、4.月、5.季、6.半年、7.年、8.开始结束周期';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DATA_TYPE" IS '电站/增殖站类型';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."RULE_STAT_TIME" IS '规则生效时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."RULE_END_TIME" IS '规则失效时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."DEADLINE_DATE" IS '提交截止时间';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."FORM_ID" IS '表单ID;多个表单ID以,进行分隔开';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."FILL_USER" IS '填报人;多个填报人以,进行分隔';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."FILL_DEPT" IS '填报部门,数据来源MS_RULETASK_B';
COMMENT ON COLUMN "QGC"."MS_RULETASK_B"."IS_LOOP" IS '是否开启循环生成任务;1=是;0=否';
COMMENT ON TABLE "QGC"."MS_RULETASK_B" IS '填报数据的任务生成规则配置表';

-- ----------------------------
-- Table structure for MS_SBGZSTAT_B
-- ----------------------------
DROP TABLE "QGC"."MS_SBGZSTAT_B";
CREATE TABLE "QGC"."MS_SBGZSTAT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DESCRIPTION" NVARCHAR2(500),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "VL" NUMBER(6,2),
  "DS" VARCHAR2(200 BYTE),
  "CD" VARCHAR2(36 BYTE),
  "NM" VARCHAR2(200 BYTE),
  "DID" VARCHAR2(36 BYTE),
  "COLLECTION_STATUS" NUMBER(1,0),
  "STTP_CODE" VARCHAR2(32 BYTE),
  "RSTCD" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."STCD" IS '设备编码';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."TM" IS '最后到报时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."STATUS" IS '设备状态：1=正常 0=异常';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."MODIFY_USER" IS '更新人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."IS_DELETED" IS '删除标识 0:未删除 1:已删除';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."VL" IS '电压';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DS" IS '说明';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."CD" IS '设备所测站编号';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."NM" IS '设备所测站名称';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."DID" IS '设备所测站标识';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."COLLECTION_STATUS" IS '设备采集状态，0:共享接入;1:自动采集';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."STTP_CODE" IS '站点类型：该字段弃用不允许冗余，通过宽表关联查询，// @author: supeng @date: 2024-09-04 18:03:58';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B"."RSTCD" IS '所属电站：该字段弃用不允许冗余，通过宽表关联查询，// @author: supeng @date: 2024-09-04 18:03:58';
COMMENT ON TABLE "QGC"."MS_SBGZSTAT_B" IS '站点设备状态表';

-- ----------------------------
-- Table structure for MS_SBGZSTAT_B_240905
-- ----------------------------
DROP TABLE "QGC"."MS_SBGZSTAT_B_240905";
CREATE TABLE "QGC"."MS_SBGZSTAT_B_240905" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(32 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" TIMESTAMP(6),
  "VL" NUMBER(6,2),
  "DS" VARCHAR2(200 BYTE),
  "CD" VARCHAR2(36 BYTE),
  "NM" VARCHAR2(200 BYTE),
  "DID" VARCHAR2(36 BYTE),
  "RSTCD" VARCHAR2(200 BYTE),
  "COLLECTION_STATUS" NUMBER(1,0),
  "DESCRIPTION" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."STCD" IS '设备编码';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."STTP_CODE" IS '站点类型：该字段弃用不允许冗余，通过宽表关联查询，// @author: supeng @date: 2024-09-04 18:03:58';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."STATUS" IS '设备状态：1=正常 0=异常';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."MODIFY_USER" IS '更新人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."IS_DELETED" IS '删除标识 0:未删除 1:已删除';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."TM" IS '最后到报时间';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."VL" IS '电压';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DS" IS '说明';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."CD" IS '设备所测站编号';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."NM" IS '设备所测站名称';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DID" IS '设备所测站标识';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."RSTCD" IS '所属电站：该字段弃用不允许冗余，通过宽表关联查询，// @author: supeng @date: 2024-09-04 18:03:58';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."COLLECTION_STATUS" IS '设备采集状态，0:共享接入;1:自动采集';
COMMENT ON COLUMN "QGC"."MS_SBGZSTAT_B_240905"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."MS_SBGZSTAT_B_240905" IS '站点设备状态表';

-- ----------------------------
-- Table structure for MS_SBGZ_R
-- ----------------------------
DROP TABLE "QGC"."MS_SBGZ_R";
CREATE TABLE "QGC"."MS_SBGZ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STM" DATE NOT NULL,
  "ETM" DATE,
  "DEC" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ELEMENTS" VARCHAR2(255 BYTE),
  "TYPE" NUMBER(1,0),
  "STTP_CODE" VARCHAR2(255 BYTE),
  "TROUBLE_DAYS" NUMBER(4,0),
  "MONITORING_TEXT" VARCHAR2(1000 BYTE),
  "MAINTENANCE_PLAN" VARCHAR2(1000 BYTE),
  "RESPONSIBLE_USER" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(3000 BYTE),
  "BRP_FID" VARCHAR2(3000 BYTE),
  "ARP_FID" VARCHAR2(3000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."STCD" IS '设备编码';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."STM" IS '开始时间';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."ETM" IS '结束时间';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."DEC" IS '说明';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."MODIFY_USER" IS '更新人';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."IS_DELETED" IS '删除标识 0:未删除 1:已删除';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."ELEMENTS" IS '要素，多个以逗号分隔';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."TYPE" IS '故障类型，exm：{0=设备损坏&1=探头损坏}';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."STTP_CODE" IS '站点类型';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."TROUBLE_DAYS" IS '故障天数;（根据开始结束时间计算得出），可手动修改';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."MONITORING_TEXT" IS '监测情况';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."MAINTENANCE_PLAN" IS '检修计划';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."RESPONSIBLE_USER" IS '责任人';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."BRP_FID" IS '整改前图片';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."ARP_FID" IS '整改后图片';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_SBGZ_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_SBGZ_R" IS '站点设备故障记录表';

-- ----------------------------
-- Table structure for MS_SMS_R
-- ----------------------------
DROP TABLE "QGC"."MS_SMS_R";
CREATE TABLE "QGC"."MS_SMS_R" (
  "ID" VARCHAR2(32 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "NAME" VARCHAR2(50 BYTE),
  "TEL" VARCHAR2(50 BYTE),
  "CONTENT" VARCHAR2(500 BYTE),
  "NUM" NUMBER(8,0) DEFAULT 1,
  "STATE" VARCHAR2(255 BYTE) NOT NULL,
  "TYPE" NUMBER(2,0),
  "DATE_TYPE" VARCHAR2(50 BYTE),
  "ITEM_TYPE" VARCHAR2(50 BYTE),
  "ITEM" VARCHAR2(50 BYTE),
  "RATE_TYPE" NUMBER(2,0),
  "RATE_NUM" NUMBER(2,0),
  "MID" VARCHAR2(32 BYTE),
  "SYS_TYPE" NUMBER(2,0),
  "PLA_FLAG" NUMBER(2,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SMS_R"."ID" IS '编码';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."TM" IS '发送日期';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."NAME" IS '接收人姓名';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."TEL" IS '接收人手机号';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."CONTENT" IS '短信内容';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."NUM" IS '次数';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."STATE" IS '状态：0=发送中 1=发送成功 2=发送失败';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."TYPE" IS '发送类型：0=公司 1=系统';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."DATE_TYPE" IS '类别';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."ITEM_TYPE" IS '数据项类型';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."ITEM" IS '数据项';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."RATE_TYPE" IS '频次类型：0=小时 1=天 2=月 3=实时';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."RATE_NUM" IS '短信通知频次';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."MID" IS '短信模板编号';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."SYS_TYPE" IS '配置类型：0=数据项短信配置 1=默认短信配置 2=委外待办任务短信配置';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."PLA_FLAG" IS '是否待办短信通知：1=是 0=否';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_SMS_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SMS_R" IS '短信发送记录表（公司）';

-- ----------------------------
-- Table structure for MS_SPECANIMALS_B
-- ----------------------------
DROP TABLE "QGC"."MS_SPECANIMALS_B";
CREATE TABLE "QGC"."MS_SPECANIMALS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "ANIMAL_ID" VARCHAR2(500 BYTE),
  "TM" TIMESTAMP(6),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "COMMENTS" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."ANIMAL_ID" IS '动物ID(取自动物信息表)';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."TM" IS '日期）';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."LGTD" IS '经度';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."LTTD" IS '纬度';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_SPECANIMALS_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_SPECANIMALS_B" IS '重点陆生动物';

-- ----------------------------
-- Table structure for MS_STBPRP_T
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T";
CREATE TABLE "QGC"."MS_STBPRP_T" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(64 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" VARCHAR2(255 BYTE),
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" VARCHAR2(255 BYTE),
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE),
  "AVQ_C" NUMBER(10,5),
  "VDHISDAY" NUMBER(4,0),
  "DELAY_TIME" NUMBER(4,0),
  "DELAY_NUM" NUMBER(4,0),
  "ST_FULL_PATH" VARCHAR2(500 BYTE),
  "ST_FULL_NAME" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."TOP_HYNM" IS '所属集团名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."AVQ_C" IS '多年平均流量计算系数：用于电站生态流量基于多少平均流量场景使用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."VDHISDAY" IS '视频录像数据保留天数：以最新数据往前推算保留的天数，为空以程序配置全局配置为准';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DELAY_TIME" IS '视频截取失败多少秒重试，为空或小于1即代表不重试';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."DELAY_NUM" IS '视频截取失败最大重试次数，为空或小于1即代表不重试';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ST_FULL_PATH" IS '站点全路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T"."ST_FULL_NAME" IS '站点全名称';
COMMENT ON TABLE "QGC"."MS_STBPRP_T" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240426_ENG_XYX
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX";
CREATE TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "FLKQ" NUMBER,
  "FZRV" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DCSHG" NUMBER,
  "DDZGQ" NUMBER,
  "DLMHG" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FLKSZ" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" VARCHAR2(1000 BYTE),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FLKSZ" IS '孔口尺寸';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240426_ENG_XYX"."STNM_ALIAS" IS '站名别名';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240520SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240520SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240520SP" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "FLKQ" NUMBER,
  "FZRV" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DCSHG" NUMBER,
  "DDZGQ" NUMBER,
  "DLMHG" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FLKSZ" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE),
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0),
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for MS_STBPRP_T_240524SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240524SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240524SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "FZRV" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240524SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240524SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240530SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240530SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240530SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240530SP"."Q" IS '流量';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240530SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240603SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240603SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240603SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240603SP"."Q" IS '流量';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240603SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_2406050853SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_2406050853SP";
CREATE TABLE "QGC"."MS_STBPRP_T_2406050853SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(64 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406050853SP"."Q" IS '流量';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_2406050853SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_2406061105SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_2406061105SP";
CREATE TABLE "QGC"."MS_STBPRP_T_2406061105SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_2406061105SP"."Q" IS '流量';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_2406061105SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240611SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240611SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240611SP"."Q" IS '流量';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240611SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240715
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240715";
CREATE TABLE "QGC"."MS_STBPRP_T_240715" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240715"."TOP_HYNM" IS '所属集团名称';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240715" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240719
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240719";
CREATE TABLE "QGC"."MS_STBPRP_T_240719" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240719"."TOP_HYNM" IS '所属集团名称';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240719" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240726
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240726";
CREATE TABLE "QGC"."MS_STBPRP_T_240726" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE),
  "AVQ_C" NUMBER(10,5)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."TOP_HYNM" IS '所属集团名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240726"."AVQ_C" IS '多年平均流量计算系数：用于电站生态流量基于多少平均流量场景使用';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240726" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240806SP
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240806SP";
CREATE TABLE "QGC"."MS_STBPRP_T_240806SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE),
  "AVQ_C" NUMBER(10,5)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."TOP_HYNM" IS '所属集团名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240806SP"."AVQ_C" IS '多年平均流量计算系数：用于电站生态流量基于多少平均流量场景使用';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240806SP" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_240821
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_240821";
CREATE TABLE "QGC"."MS_STBPRP_T_240821" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" NUMBER,
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" NUMBER,
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE) DEFAULT NULL,
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0) DEFAULT NULL,
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE),
  "AVQ_C" NUMBER(10,5)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STNM" IS '站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP" IS '所属站类ID：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP_CODE" IS '所属站类编码：关联SD_STTP_B.STTP_CODE';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP_NAME" IS '所属站类名称：关联SD_STTP_B.STTP_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP_FULL_PATH" IS '所属站类全路径：关联SD_STTP_B.STTP_FULL_PATH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP_TREE_LEVEL" IS '所属站类级别：关联SD_STTP_B.TREE_LEVEL';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLPRD_ID" IS '所属最新建设阶段ID：关联SD_STBLPRD_B.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLPRD_CODE" IS '所属最新建设阶段编码：关联SD_STBLPRD_B.BLPRD_CODE；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLPRD_NAME" IS '所属最新建设阶段名称：关联SD_STBLPRD_B.BLPRD_NAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLPRD_CCODE" IS '所属最新建设阶段分类编码：关联SD_STBLPRD_B.BLPRD_CCODE；场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLPRD_CNAME" IS '所属最新建设阶段分类名称：关联SD_STBLPRD_B.BLPRD_CNAME';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STLC" IS '位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTMEL" IS '基面高程：单位：m';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FRGRD" IS '报汛等级：1=一级 2=二级 3=三级 4=四级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."USFL" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RSTCD" IS '所属电站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENNM" IS '所属电站名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN1_CODE" IS '所属电站位置坝址或取水口的上游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN1 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN1_NAME" IS '所属电站位置坝址或取水口的上游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN1 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN2_CODE" IS '所属电站位置坝址或取水口编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN2 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN2_NAME" IS '所属电站位置坝址或取水口名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN2 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN3_CODE" IS '所属电站位置坝址或取水口的下游编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_LCTN3 存储规则为：电站编码_LCTN1/LCTN2/LCTN3';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_LCTN3_NAME" IS '所属电站位置坝址或取水口的下游名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_LCTN3 存储规则为：电站名称_上游/取水口/下游';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_IWT_CODE" IS '所属电站水温断面类型入库水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_IWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_IWT_NAME" IS '所属电站水温断面类型入库水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_IWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_MWT_CODE" IS '所属电站水温断面类型库中水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_MWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_MWT_NAME" IS '所属电站水温断面类型库中水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_MWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_RWT_CODE" IS '所属电站水温断面类型坝前水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_RWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_RWT_NAME" IS '所属电站水温断面类型坝前水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_RWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_DWT_CODE" IS '所属电站水温断面类型下泄水温编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ENG_DWT 存储规则为：电站编码_IWT/MWT/RWT/DWT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_DWT_NAME" IS '所属电站水温断面类型下泄水温名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ENG_DWT 存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BASE_ID" IS '所属水电基地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BASE_NAME" IS '所属水电基地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HBRVCD" IS '所属水电站基地流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HBRVCD_NAME" IS '所属水电站基地流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=PSB_RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCD" IS '所属流域编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCD_NAME" IS '所属流域名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCD_FULL_PATH" IS '所属流域全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCDPX" IS '所属流域月报版编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCDPX_NAME" IS '所属流域月报版名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCDPX_FULL_PATH" IS '所属流域月报版全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=RVCDPX';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADDVCD" IS '所属行政区编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADDVCD_NAME" IS '所属行政区名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADDVCD_FULL_PATH" IS '所属行政区全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=ADDVCD';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HYCD" IS '所属公司编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HYNM" IS '所属公司名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HYCD_FULL_PATH" IS '所属公司全路径：多个以逗号分隔，关联SD_WSB_B.FULL_PATH，WBS_TYPE=COMPANY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."COUNTRY" IS '所属国家编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."COUNTRY_NAME" IS '所属国家名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=COUNTRY';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."REACHCD" IS '所属河段编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."REACHCD_NAME" IS '所属河段名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=REACH';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."REACHCD_WWQTG" IS '所属河段水质目标等级：多个以逗号分隔，关联SD_WSB_B.REACH_WWQTG，WBS_TYPE=REACH；1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ST_CODE" IS '所属测站编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ST_NAME" IS '所属测站地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=ST';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FHSTCD" IS '所属栖息地编码：多个以逗号分隔，关联SD_WSB_B.WBS_CODE，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FHSTNM" IS '所属栖息地名称：多个以逗号分隔，关联SD_WSB_B.WBS_NAME，WBS_TYPE=HABITAT';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STDSDT" IS '规划设计日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PSTSTDT" IS '计划开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PESSTDT" IS '计划完工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STSTDT" IS '开工日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JCDT" IS '建成日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STWDDT" IS '撤站日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STSR" IS '测站来源：1=水文部门测站 2=气象部门测站 3=水电企业测站 4=实验或专用站 5=临时站 6=其他站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MWAY" IS '监测方式：1=人工 2=自动';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTIN" IS '是否接入：0=未接入 1=已接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTIN_SRC" IS '数据接入来源：0=自建 cma=中国气象局 gzj=国控水站 qlysyq=千里眼 qgsyq=全国水雨情 swj=水文局';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTIN_TYPE" IS '数据接入类型：0=自建 1=国家建 2=人工建';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTIN_TM" IS '接入时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TB_WAY" IS '填报方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TB_FREQUENCY" IS '填报频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."IS_BRIEFING" IS '是否纳入数据汇聚简报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLDSTT" IS '建设状态：4=规划 5=预可研 3=可研 6=已核准 7=招标设计 8=施工详图 2=在建 1=已建成未验收 10=已建成已验收 11=已开展后评价 9=其他 31=项目建议书 32=可研 33=已审批 34=初步设计 35=技施设计 36=在建 37=已建成未验收 38=已建成已验收 39=已开展后评价 40=其他 61=规划 62=项目建议书 63=预可研 64=可研 65=已核准 66=初步设计 67=招标设计 68=技施设计 69=施工详图 70=在建 71=已建成未验收 72=已建成已验收 73=已开展后评价 74=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLDSTT_CCODE" IS '建设状态分类：0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."INV" IS '投资：单位：亿元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."INVINMN" IS '投资是否计入主体工程：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WATP" IS '水域类型：1=河流 2=湖泊 3=水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WWQTG" IS '水质目标：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WT_DEVICE_TYPE" IS '水温监测断面设备类型：1=浮动式 2=固定式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTPSUB" IS '气象站雨量标识：0=没有雨量监测 1=有雨量监测';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STTP_MM_TYPE" IS '气象站子类型：0=中国地面站 1=全球地面站 2=全球高空站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."THEMATIC_MAP" IS '是否用于专题图：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SCHEDULEPA" IS '调度规程分析：0=无调度规程 1=有调度规程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LSDWRSN" IS '保护原因：1=坝址重新选址 2=坝轴线调整 3=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENGTP" IS '电站-工程类别：1=水电站 2=水利工程 3=航电枢纽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTPWR" IS '电站-装机容量：单位：MW';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PRSC" IS '工程规模 1=大型1 2=大型2 3=中型 4=小型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SCRSC" IS '电站-工程规模水库库容：1=大型1 2=大型2 3=中型 4=小型1 5=小型2';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PRGR" IS '电站-工程等别：1=Ⅰ 2=Ⅱ 3=Ⅲ 4=Ⅳ 5=Ⅴ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FN" IS '电站-主要功能：1=发电 2=防洪 3=灌溉 4=供水 5=航运 6=旅游 7=环境 8=养殖 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BSSSIN" IS '电站-地震基本烈度：5=<Ⅵ 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FRSSIN" IS '电站-设防地震烈度：0=未设防 6=Ⅵ 7=Ⅶ 8=Ⅷ 9=≥Ⅸ';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADJUST_ENG" IS '电站-是否调节水库：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DMAT" IS '电站-坝体材质：0=混凝土坝 1=土坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ISHVBRRG" IS '电站-有无拦河坝：0=无 1=有';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MONTH_REPORT" IS '电站-是否发布月报：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BLSYS" IS '电站-归属部门：1=水利 2=能源 3=交通 4=农业 5=建设 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RGCP" IS '电站-水库调节性能：1=多年调节 2=年调节 3=不完全年调节 4=径流式（无调节） 5=季调节 6=月调节 7=周调节 8=日调节 9=其他';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DMTP" IS '电站-坝体类型：0=混合型 1=重力坝 2=拱坝 3=土石坝 4=支墩坝';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DVTP" IS '电站-开发方式：1=坝后式 2=引水式 3=混合式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HLSTP" IS '电站-水头损失类型：0=固定水头损失 1=按水头损失系数计算 2=水头损失曲线';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CNTP" IS '电站-建设类型：1=新建 2=改建 3=扩建 4=加固';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHNGRD" IS '电站-航道级别：1=一级航道 2=二级航道 3=三级航道';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EQMN_STR" IS '最新生态流量限值详情（环保部）：读取预警规则表数据，预警规则类型=EQMN；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EQMNMWR_STR" IS '最新生态流量限值详情（水利部）：读取预警规则表数据，预警规则类型=EQMNMWR；存储形式：MMDD月~MMDD月:泄放流量要求，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FSLTDZ_STR" IS '最新汛限水位汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位~汛限高水位，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FLDCP_STR" IS '最新防洪库容汛限约束详情：读取预警规则表数据，预警规则类型=RSVRFSR；存储形式：MMDD月~MMDD月:汛限低水位对应的防洪库容~汛限高水位对应的防洪库容，多个以;分隔';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTIN_ENV" IS '环境监测数据接入情况：2=已全部接入 1=部分接入 0=未接入';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MEASTRG_CNT" IS '环保措施目标数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MEASIMPL_CNT" IS '环保措施落实数：电站专用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RUN_STATE" IS '最新运行状态：1=运行中 2=未运行；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STD_STATE" IS '最新达标状态：1=已达标 2=未达标 3=无数据；通过运行状态处理程序将最新信息同步过来';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."K" IS '机组综合出力系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PX" IS '电站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TP" IS '营造型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ" IS '多年平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVS" IS '多年平均含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVW" IS '多年平均径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BOX" IS '地形裁剪范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CLO" IS '施工占地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CNT" IS '产卵场数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDZ" IS '死水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTZ" IS '单位千瓦投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GAP" IS '利用落差(水头)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GEQ" IS '发电引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HTZ" IS '环保投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SGQ" IS '单机设计流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SRC" IS 'SRC坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."URL" IS '在线地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WSC" IS '水量利用系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZTZ" IS '总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."APTL" IS '总工期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AREA" IS '面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ATTM" IS '实施时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVSD" IS '多年平均输沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BHHD" IS '保护河段';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BHHL" IS '保护河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CFTP" IS '水电站厂房的类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKW3" IS '校核洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CNUN" IS '施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CPSC" IS '库容系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDCP" IS '死库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDST" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDZM" IS '死水位联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDZS" IS '死水位单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSHL" IS '设计水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSUN" IS '设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSW1" IS '设计一日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSW3" IS '设计三日洪量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDAR" IS '淹没面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDCZ" IS '水库淹没城镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDFW" IS '淹没房屋';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDGD" IS '淹没耕地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDGL" IS '淹没等级公路';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDLD" IS '淹没林地';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDLL" IS '发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDQT" IS '淹没其它设施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDRK" IS '淹没影响人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDXS" IS '淹没影响涉及县数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDYD" IS '淹没园地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FDZS" IS '淹没影响涉及集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GAPM" IS '设计水头联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GAPS" IS '设计水头单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GEQM" IS '发电引用流量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GEQS" IS '发电引用流量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GNTP" IS '容量构成';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HHRZ" IS '历史最高库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HLRZ" IS '历史最低库水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXQ" IS '历史最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXW" IS '历史最大蓄水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HPDW" IS '环评单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JLDT" IS '截流日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LSDW" IS '陆生动物保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MARK" IS '下游站点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXSN" IS '施工高峰工人数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PREN" IS '项目法人';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PROV" IS '工程概况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ROLL" IS '绕经度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RSTP" IS '资源类别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVGR" IS '河道比降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SPUN" IS '监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJQ" IS '集鱼槽流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."THGM" IS '通航建筑物规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."THNL" IS '设计年通航能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."THTP" IS '通航建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTCP" IS '总库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."USHR" IS '装机年利用小时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UZFC" IS '防洪高水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."VAST" IS '所在村镇';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."XNTP" IS '消能方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDXS" IS '鱼道型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YRGE" IS '多年平均发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZBBH" IS '植被保护（特有植被类型保护）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZXZW" IS '珍稀植物和古树保护';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ACTCP" IS '兴利库容(调节库容)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AIODT" IS '所有机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ANGLE" IS '角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ01" IS '1月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ02" IS '2月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ03" IS '3月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ04" IS '4月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ05" IS '5月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ06" IS '6月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ07" IS '7月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ08" IS '8月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ09" IS '9月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ10" IS '10月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ11" IS '11月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ12" IS '12月多年平均流量（设计）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVYRP" IS '多年平均降水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVYRQ" IS '多年平均年径流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CANED" IS '是否经济可开发';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CELLS" IS '汇流网格数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHFLW" IS '校核洪水总量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHMXQ" IS '校核洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKFLZ" IS '校核洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DDZGQ" IS '死水位时保证流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DMLEN" IS '坝顶长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSAVQ" IS '电站未建枯水期平均流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSELQ" IS '设计泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSFLZ" IS '设计洪水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSMXQ" IS '设计洪峰流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTSRC" IS '数据监测来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DYNTZ" IS '动态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DZLMT" IS '日水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EDTTM" IS '编制时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EDTUN" IS '编制单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EXCEL" IS 'SHEET对应关系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FBMHG" IS '翻板门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FLDCP" IS '防洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRPJ" IS '坡降';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GNCNT" IS '装机台数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HZLMT" IS '小时水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JSKGC" IS '进水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JSKTP" IS '进水口型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MNGAP" IS '最小水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXGAP" IS '最大水头';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXGEQ" IS '最大发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXHLS" IS '最大水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MZLMT" IS '分钟水位变幅限制';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NMZCP" IS '正常蓄水位以下库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRAVH" IS '坝址天然河流平均水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRAVZ" IS '坝址天然河流平均水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRZAR" IS '正常蓄水位时水库面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OBMNQ" IS '实测最小流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OBMXQ" IS '实测最大流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OBMXS" IS '实测最大含沙量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PAIXU" IS '测站排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PIODT" IS '首台机组投运时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PITCH" IS '绕纬度方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PSTCD" IS '父测站站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RANGE" IS '范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RCFFR" IS '调洪库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RUNTM" IS '运行时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVLEN" IS '河道长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVSFQ" IS '下游河道安全泄量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SCALE" IS '模型缩放比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SGYGE" IS '单独运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SLOPE" IS '坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SSWDT" IS '下闸蓄水时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STAGE" IS '建设阶段 （一期、二期）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SWSDT" IS '蓄水开始时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJHG" IS '集鱼槽进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJSZ" IS '断面尺寸（长*宽*高）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTSHG" IS '套筒式进水口的单个套筒高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UNITS" IS '单元';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UNYGE" IS '联合运行年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WIRRG" IS '灌溉水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."XSWTP" IS '泄水建筑物型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDCSV" IS '池室设计流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDJKZ" IS '进口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDZCD" IS '总长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YRGEB" IS '已正建规模年发电量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ACIMEL" IS '实际坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADJCPM" IS '调节库容联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ADJCPS" IS '调节库容单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ARIRRG" IS '灌溉面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BCKLEN" IS '水库回水长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHFELQ" IS '校核泄洪流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHFLDR" IS '校核洪水历时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHRCIN" IS '校核洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CNTRAR" IS '控制流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CNTRSC" IS '控制面积占全流域比例';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DLMCNT" IS '叠梁门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DMCREL" IS '坝顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DMRKTP" IS '坝基岩性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DNAVWT" IS '建成后坝下平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSIMEL" IS '设计坝前移民高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSNSTT" IS '勘测设计情况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSRCIN" IS '设计洪水重现期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FBMCNT" IS '翻板门式进水口的门叶数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FSLTDZ" IS '防洪限制水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTRT" IS '保证出力保证率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GSMQCD" IS '隔水幕墙的长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GSMQCL" IS '隔水幕墙材料';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GSMQKD" IS '隔水幕墙的宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HEIGHT" IS '自定义高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HHRZTM" IS '历史最高库水位(蓄水量)出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HJJLDW" IS '环境监理单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HLRZTM" IS '历史最低库水位出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMNINQ" IS '历史最小日均入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXINQ" IS '历史最大入流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXOTQ" IS '历史最大出流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HNTJZL" IS '混凝土浇筑量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HPSPRQ" IS '环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JBTXCS" IS '基本特性参数（文字描述）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JHFDGK" IS '基荷发电工况';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."KSQXYZ" IS '枯水期调节流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LSDWLC" IS '地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXDMHG" IS '最大坝高';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRAVWT" IS '天然河流平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRUPAR" IS '坝址以上流域面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OBMXW3" IS '实测最大洪量(三天)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OUTCNT" IS '出口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RDMDIS" IS '距坝址距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RSVRTP" IS '水库类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SGUSHR" IS '装机年利用小时(单独)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STINDX" IS '监测指标';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STJZNQ" IS '生态机组发电流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJCNT" IS '集鱼槽数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJWDP" IS '集鱼槽水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTPWRB" IS '已正建规模装机容量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTPWRM" IS '装机容量联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTPWRS" IS '装机容量单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTSCNT" IS '套筒式进水口的套筒数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UNUSHR" IS '装机年利用小时(联合)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WQTYPE" IS '水质建设类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WR_AVG" IS '平均耗水率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WSCHGC" IS '发电尾水出口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WSPPLY" IS '总供水量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WVTPEL" IS '防浪墙顶高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDCSCD" IS '每级池室长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDCSKD" IS '每级池室宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDCSPD" IS '池室坡度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDJKHG" IS '进口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDOWNZ" IS '年消落水位/多年调节水库';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDYYXS" IS '进口诱鱼型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YMBQRK" IS '搬迁安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YMBQXZ" IS '搬迁县城和集镇数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YMSCRK" IS '生产安置人口';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YSDLEN" IS '引水道长';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZJXYDZ" IS '直接下游电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLAR" IS '总占地面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLDX" IS '放流对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLGY" IS '生产工艺';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLRW" IS '承担放流任务';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLTM" IS '放流时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHNLNTH" IS '渠化航道里程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKFQFQR" IS '校核入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSTCRVR" IS '距河源距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FBMDBGC" IS '翻板门顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRDMXZ" IS '通道断面形状';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRJKHG" IS '进口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRTDSZ" IS '通道长度*宽度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GEMAXRQ" IS '发电最大引用流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWR" IS '保证出力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HEADING" IS '绕高程方向旋转矩阵值';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HLSCOEF" IS '水头损失系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JYYJYFS" IS '集(诱)鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JYYYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."KSQADJQ" IS '枯水期调节流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MINTEMP" IS '极端最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXDMHGL" IS '最大坝高(左)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXDMHGR" IS '最大坝高(右)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXSHPTN" IS '最大过船吨位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OPRTNUN" IS '建设运营单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OUTELEV" IS '出口高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PROTOBJ" IS '保护对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PROTTYP" IS '保护措施';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QUALITY" IS '视频站码流类型:0=主码流(高清) 1=子码流(流畅) 2=第三码流参数不填,默认为主码流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QXDBHCD" IS '保护长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QXDBHFW" IS '保护范围';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QXDBHMJ" IS '保护面积';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RVCDTOW" IS '修改电站流域编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SRCUNIT" IS '来源单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STJZYSQ" IS '生态机组额定流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJYYFS" IS '运鱼设施方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TTSZDSS" IS '套筒式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UPDCKLC" IS '上游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UPDCKTP" IS '上游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WT_TYPE" IS '水温监测断面类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDCSCNT" IS '池室数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YDJKCNT" IS '进口数量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YRCPCTY" IS '年设计通过能力';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YRGENSA" IS '年发电量(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLCNT" IS '放流规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLLVL" IS '工程等级';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BOUNDARY" IS '边界数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BUILDING" IS '水库建筑物';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKFLZFRQ" IS '校核洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKFLZMXQ" IS '校核洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CKFLZXYZ" IS '校核洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CUT_TIME" IS '视频站定时截取时长，默认15秒：单位：秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DCSQSKGS" IS '取水口个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DLMMXWDP" IS '叠梁门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DNMNAVWT" IS '建成后坝下最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DNMXAVWT" IS '建成后坝下最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSFLZFRQ" IS '设计洪水位对应频率';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSFLZMXQ" IS '设计洪水位时最大下泄流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSFLZXYZ" IS '设计洪水位时最大下泄流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DSNFQFRQ" IS '设计入库洪水流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EIARPTID" IS '提出监测要求的报告编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENG_SORT" IS '电站上下游排序';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EQRRATIO" IS '生态流量泄放复核误差百分比';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ESTRYDIS" IS '河口距离';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FBMMXWDP" IS '翻板门式进水口的最大淹没水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRYXWDP" IS '运行水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWRM" IS '保证出力联合';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWRS" IS '保证出力单独';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HLSCONST" IS '固定水头损失';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMNINQTM" IS '历史最小日均入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXINQTM" IS '历史最大入流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."HMXOTQTM" IS '历史最大出流出现时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."IMPDSTRZ" IS '是否受下游顶托';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JGHBYSRQ" IS '竣工环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JGJDSBYS" IS '竣工阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JLJDSBYS" IS '截流阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JWUPDATE" IS '监控设备机位变更日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."JYYJYYTM" IS '集运鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LAG_TIME" IS '滞时';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MXGEQXYZ" IS '发电最大引用流量相应下游水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."MYAVMNAT" IS '多年平均最低气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRMNAVWT" IS '天然河流最低温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."NRMXAVWT" IS '天然河流最高温月份多年平均水温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OUTDSGNZ" IS '出口运行设计水位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PROTMTHD" IS '保护方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PROTOCOL" IS '视频站流播放协议:hls=HLS协议 rtmp=RTMP协议 flv=FLV流媒体格式 rtsp=RTSP协议 ezopen=萤石私有协议 hiks=海康私有协议 ws=Websocket协议 默认为RTSP协议(HLS协议只支持海康SDK协议,EHOME协议,GB28181协议,ONVIF协议接入的设备只支持H264视频编码和AAC音频编码)参数不填';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PSFISHTM" IS '过鱼时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SBFASCRQ" IS '水保方案审查日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SKYMBCTZ" IS '水库淹没处理补偿投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STYPHPSP" IS '三通一平工程环评审批日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SYJJYYFS" IS '集诱鱼方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."USERNAME" IS '用户名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."XSJDHBYS" IS '蓄水阶段环保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."XSJDSBYS" IS '蓄水阶段水保验收日期';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."YMBQRKNC" IS '农村移民';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZTGCSGDW" IS '主体工程施工单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZTGCSJDW" IS '主体工程设计单位';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLBJFS" IS '标记方式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLFLLC" IS '放流地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLJSLC" IS '建设地点';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ZZFLYZMS" IS '养殖模式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DOWNDCKLC" IS '下游码头位置';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DOWNDCKTP" IS '下游码头型式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EQREVIEWM" IS '生态流量泄放复核';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FISHLURMV" IS '诱鱼口流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FPSSMNMON" IS '主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）,主要过鱼月份（多个月份用,隔开）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FREQUENCY" IS '视频站定时截取频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FRNTWLLHG" IS '顶部高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWRMN" IS '保证出力最小';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWRMX" IS '保证出力最大';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OP_HEIGHT" IS '倾斜摄影自定义高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PERIMETER" IS '长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PSFISHCNT" IS '过鱼规模';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PSFISHTYP" IS '过鱼对象';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QXDBHHXCD" IS '保护核心长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."QXDBHWWCD" IS '保护外围长度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RESTPLCNT" IS '休息池个数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STSTICINV" IS '静态总投资';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SZHLJSJHL" IS '所在河流及上级河流';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."THRSMDAYS" IS '三同时评价允许误差天数（0-7300）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AI_ENABLED" IS 'AI识别是否启用';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHANNEL_NO" IS '视频站通道号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."EIADTFRQCY" IS '环评要求的监测频次';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FH_LAST_WT" IS '栖息地下游出口最近的水温站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FH_LAST_ZQ" IS '栖息地下游出口最近的流量站编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FRAME_RATE" IS '视频站定时截取压缩每秒多少帧：为空即不压缩';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FRNTWLLTYP" IS '结构形式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GRNTPWRNSA" IS '保证出力(南水北调一期调水后)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OSGBTITLES" IS '倾斜摄影数据转换3dtitle';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OUTFLRELEV" IS '出水口底板高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AI_EXT_CODE" IS 'AI识别外部站码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AI_EXT_NAME" IS 'AI识别外部站名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVERAGETEMP" IS '最冷月（1月份）平均气温';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER_ELEV" IS 'center高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER_LGTD" IS 'center经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER_LTTD" IS 'center纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESCRIPTION" IS '说明';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WT_HGT_TYPE" IS '固定垂向水温类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AI_FREQUENCY" IS 'AI识别频率cron表达式';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER1_ELEV" IS 'center1高度Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER1_LGTD" IS 'center1经度X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CENTER1_LTTD" IS 'center1纬度Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."INTRANET_URL" IS '内网地址';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WT_FIRST_HGT" IS '固定垂向水温第1个探头高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHIEFBASINENG" IS '是否主要流域电站';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DEVICE_SERIAL" IS '视频站设备序列号';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CLIPPING_PLANES" IS '裁剪平面';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_ELEV" IS '相机位置高度Z(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LGTD" IS '相机位置经度X(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LTTD" IS '相机位置纬度Y(世界坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_TYPE" IS '相机位置坐标系类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ORIENTATION_ROLL" IS '摄像头滚转角X';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."REVISE_SITE_ELEV" IS '前端校正站点高程';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."Z_VARIATION_DMAX" IS '日最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."Z_VARIATION_HMAX" IS '小时最大水位变幅';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ORIENTATION_PITCH" IS '摄像头俯仰角Y';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ORIENTATION_HEADING" IS '摄像头偏航角Z';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_ELEV_WCS" IS '相机位置高度Z世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LGTD_WCS" IS '相机位置经度X世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LTTD_WCS" IS '相机位置纬度Y世界坐标系';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_ELEV_WGS84" IS '相机位置高度Z(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LGTD_WGS84" IS '相机位置经度X(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DESTINATION_LTTD_WGS84" IS '相机位置纬度Y(WGS-84坐标系)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."REVISE_SITE_ELEV_FACTOR" IS '前端校正站点高程系数';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."COENVW_STATE" IS '开展环保自动检测工作状态：1=正常 0=暂无数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WTS" IS '电站水温结构类型：(1=分层型,2=过渡型,3=混合型)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PLAY_WAY" IS '在线视频播放方式(m3u8,y7)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."UZFCCP" IS '正常高水位对应的库容';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DATA_STATE" IS '数据状态: 0-无数据,1-有数据';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STD_SSTATE" IS '达标状态子类型(1=正常运行,2=暂无数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RGCP_CODE" IS '电站-水库调节性能（归纳）：1=多年调节 2=年调节 5=季调节 6=月调节 7=周调节 9=其他（8=日调节 3=不完全年调节 4=径流式（无调节））';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."LOCATION" IS '倾斜摄影电站坐标json串';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ACCURACY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENGINEERING_TITLE" IS '工程风貌标题';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENGINEERING_CONTENT" IS '工程风貌正文';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ENGINEERING_PICTURE" IS '工程风貌图片';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WARN_STATE" IS '告警状态 0=无数据 1=正常 2=异常,当主体是电站时告警状态为2位，第一位表示水位的告警状态，第二位表示生态流量的告警状态';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ACCESS_WAY" IS '接入方式:ds=第三方固定直播地址(m3u8|hls|rtmp|flv|rtsp|ws) ezv=莹石云 hik=海康平台 dahua=大华平台';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CHANNEL_NAME" IS '视频站通道名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TRANSMODE" IS '视频站传输协议(传输层协议):TCP=TCP协议 UDP=UDP协议,默认是TCP.注:EHOME设备回放只支持TCP传输,GB28181 2011及以前版本只支持UDP传输';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STORAGE_WAY" IS '视频站定时截取存储方式:local=本地存储 oss=阿里oss存储 zny=中南院附件服务.为空本地存储';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."IS_VD_CONTROL" IS '视频站是否支持远程控制:0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CONTROL_MODE" IS '视频站支持远程控制范围:start=开始 stop=停止 reversal=镜像翻转 up=上转 down=下转 left=左转 right=右转  left_up=左上 left_down=左下 right_up=右上 right_down=右下 zoom_in=焦距变大(放大) zoom_out=焦距变小(缩小) focus_near=焦点前移(近焦距) focus_far=焦点后移(远焦距) auto=自动 iris_enlarge=光圈扩大 iris_reduce=光圈缩小 goto_preset=到预置点 reversal_ud=镜像翻转上下 reversal_lr=镜像翻转左右 reversal_center=镜像翻转中心';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PRECIS" IS '摘要';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."GBCHANNEL" IS '视频站国标设备的通道编号:视频通道编号ID';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."OCR_WAY" IS 'ocr方式:tess4j=tess4j,为空即代表不识别';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DEVICE_INFO" IS '设备关键信息:比如设备状态,是否加密,主码流编码,子码流编码;如果需要详细通过对应接入平台接口获取';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TS_DURATION" IS 'ts文件的时长：默认2秒';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."STNM_ALIAS" IS '站名别名';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ICON_ROTATE" IS '电站图标旋转角度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."VLSR_TM" IS '数据来源时间';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RUN_REQUIRE" IS '运行要求';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FLKSZ" IS '孔口尺寸(m)';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FLKQ" IS '最大泄放流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DCSHG" IS '多层式进水口的进水口高程每层取水口高程（用"/"隔断）';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."DLMHG" IS '叠梁门式进水口的单节门叶高度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."ACCURAY" IS '倾斜摄影模型精度';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."FZRV" IS '流速';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."CRSCWD" IS '河宽';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."WTDP" IS '水深';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."SUBSTRATE" IS '底质';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."BANK_STABILITY" IS '河(湖、库)岸稳定性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."PLANT_DIVERSITY" IS '植被多样性';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."RIPARIAN_LANDUSE_TYPE" IS '岸边土地利用类型';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TOP_HYCD" IS '所属集团编码';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."TOP_HYNM" IS '所属集团名称';
COMMENT ON COLUMN "QGC"."MS_STBPRP_T_240821"."AVQ_C" IS '多年平均流量计算系数：用于电站生态流量基于多少平均流量场景使用';
COMMENT ON TABLE "QGC"."MS_STBPRP_T_240821" IS '对象基础横表';

-- ----------------------------
-- Table structure for MS_STBPRP_T_250704DZ
-- ----------------------------
DROP TABLE "QGC"."MS_STBPRP_T_250704DZ";
CREATE TABLE "QGC"."MS_STBPRP_T_250704DZ" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_FULL_PATH" VARCHAR2(200 BYTE) NOT NULL,
  "STTP_TREE_LEVEL" NUMBER(1,0) NOT NULL,
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "BLPRD_CODE" VARCHAR2(10 BYTE),
  "BLPRD_NAME" VARCHAR2(50 BYTE),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(50 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(60 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" VARCHAR2(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0),
  "COMMENTS" NVARCHAR2(200),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(50 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "RSTCD" VARCHAR2(200 BYTE),
  "ENNM" VARCHAR2(200 BYTE),
  "ENG_LCTN1_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN1_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN2_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN2_NAME" VARCHAR2(200 BYTE),
  "ENG_LCTN3_CODE" VARCHAR2(200 BYTE),
  "ENG_LCTN3_NAME" VARCHAR2(200 BYTE),
  "ENG_IWT_CODE" VARCHAR2(200 BYTE),
  "ENG_IWT_NAME" VARCHAR2(200 BYTE),
  "ENG_MWT_CODE" VARCHAR2(200 BYTE),
  "ENG_MWT_NAME" VARCHAR2(200 BYTE),
  "ENG_RWT_CODE" VARCHAR2(200 BYTE),
  "ENG_RWT_NAME" VARCHAR2(200 BYTE),
  "ENG_DWT_CODE" VARCHAR2(200 BYTE),
  "ENG_DWT_NAME" VARCHAR2(200 BYTE),
  "BASE_ID" VARCHAR2(200 BYTE),
  "BASE_NAME" VARCHAR2(200 BYTE),
  "HBRVCD" VARCHAR2(200 BYTE),
  "HBRVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD" VARCHAR2(200 BYTE),
  "RVCD_NAME" VARCHAR2(200 BYTE),
  "RVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "RVCDPX" VARCHAR2(200 BYTE),
  "RVCDPX_NAME" VARCHAR2(200 BYTE),
  "RVCDPX_FULL_PATH" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(200 BYTE),
  "ADDVCD_NAME" VARCHAR2(200 BYTE),
  "ADDVCD_FULL_PATH" VARCHAR2(200 BYTE),
  "HYCD" VARCHAR2(200 BYTE),
  "HYNM" VARCHAR2(200 BYTE),
  "HYCD_FULL_PATH" VARCHAR2(200 BYTE),
  "COUNTRY" VARCHAR2(200 BYTE),
  "COUNTRY_NAME" VARCHAR2(200 BYTE),
  "REACHCD" VARCHAR2(200 BYTE),
  "REACHCD_NAME" VARCHAR2(200 BYTE),
  "REACHCD_WWQTG" NUMBER(1,0),
  "ST_CODE" VARCHAR2(200 BYTE),
  "ST_NAME" VARCHAR2(200 BYTE),
  "FHSTCD" VARCHAR2(36 BYTE),
  "FHSTNM" VARCHAR2(200 BYTE),
  "STDSDT" DATE,
  "PSTSTDT" DATE,
  "PESSTDT" DATE,
  "STSTDT" DATE,
  "JCDT" DATE,
  "STWDDT" DATE,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "STSR" NUMBER(1,0),
  "MWAY" NUMBER(1,0),
  "DTIN" NUMBER(1,0),
  "DTIN_SRC" VARCHAR2(255 BYTE),
  "DTIN_TYPE" NUMBER(1,0),
  "DTIN_TM" DATE,
  "TB_WAY" VARCHAR2(50 BYTE),
  "TB_FREQUENCY" VARCHAR2(50 BYTE),
  "IS_BRIEFING" NUMBER(1,0),
  "BLDSTT" NUMBER(2,0),
  "BLDSTT_CCODE" NUMBER(2,0),
  "INV" NUMBER(12,8),
  "INVINMN" NUMBER(1,0),
  "WATP" NUMBER(1,0),
  "WWQTG" NUMBER(1,0),
  "WT_DEVICE_TYPE" NUMBER(1,0),
  "STTPSUB" NUMBER(1,0),
  "STTP_MM_TYPE" NUMBER(1,0),
  "THEMATIC_MAP" NUMBER(1,0),
  "SCHEDULEPA" NUMBER(1,0),
  "LSDWRSN" NUMBER(1,0),
  "ENGTP" NUMBER(1,0),
  "TTPWR" NUMBER(7,2),
  "PRSC" NUMBER(1,0),
  "SCRSC" NUMBER(1,0),
  "PRGR" VARCHAR2(20 BYTE),
  "FN" VARCHAR2(36 BYTE),
  "BSSSIN" VARCHAR2(50 BYTE),
  "FRSSIN" NUMBER(1,0),
  "ADJUST_ENG" NUMBER(1,0),
  "DMAT" NUMBER(1,0),
  "ISHVBRRG" NUMBER(1,0),
  "MONTH_REPORT" NUMBER(1,0),
  "BLSYS" NUMBER(1,0),
  "RGCP" NUMBER(2,0),
  "DMTP" VARCHAR2(255 BYTE),
  "DVTP" NUMBER(1,0),
  "HLSTP" VARCHAR2(60 BYTE),
  "CNTP" NUMBER(1,0),
  "CHNGRD" NUMBER(1,0),
  "EQMN_STR" VARCHAR2(600 BYTE),
  "EQMNMWR_STR" VARCHAR2(400 BYTE),
  "FSLTDZ_STR" VARCHAR2(400 BYTE),
  "FLDCP_STR" VARCHAR2(400 BYTE),
  "DTIN_ENV" NUMBER(1,0),
  "MEASTRG_CNT" NUMBER(10,0),
  "MEASIMPL_CNT" NUMBER(10,0),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "K" NUMBER,
  "PX" VARCHAR2(200 BYTE),
  "TP" VARCHAR2(255 BYTE),
  "AVQ" NUMBER,
  "AVS" NUMBER,
  "AVW" NUMBER,
  "BOX" VARCHAR2(1024 BYTE),
  "CLO" NUMBER,
  "CNT" NUMBER,
  "DDZ" NUMBER,
  "DTZ" NUMBER,
  "FID" VARCHAR2(1000 BYTE),
  "GAP" NUMBER,
  "GEQ" NUMBER,
  "HTZ" NUMBER,
  "SGQ" NUMBER,
  "SRC" VARCHAR2(20 BYTE),
  "URL" VARCHAR2(255 BYTE),
  "WSC" NUMBER,
  "ZTZ" NUMBER,
  "APTL" NUMBER,
  "AREA" NUMBER,
  "ATTM" DATE,
  "AVSD" NUMBER,
  "BHHD" VARCHAR2(500 BYTE),
  "BHHL" VARCHAR2(512 BYTE),
  "CFTP" NUMBER,
  "CKW3" NUMBER,
  "CNUN" VARCHAR2(150 BYTE),
  "CPSC" NUMBER,
  "DDCP" NUMBER,
  "DDST" VARCHAR2(18 BYTE),
  "DDZM" NUMBER,
  "DDZS" NUMBER,
  "DSHL" NUMBER,
  "DSUN" VARCHAR2(150 BYTE),
  "DSW1" NUMBER,
  "DSW3" NUMBER,
  "FDAR" NUMBER,
  "FDCZ" NUMBER,
  "FDFW" NUMBER,
  "FDGD" NUMBER,
  "FDGL" NUMBER,
  "FDLD" NUMBER,
  "FDLL" NUMBER,
  "FDQT" NUMBER,
  "FDRK" NUMBER,
  "FDXS" NUMBER,
  "FDYD" NUMBER,
  "FDZS" NUMBER,
  "GAPM" NUMBER,
  "GAPS" NUMBER,
  "GEQM" NUMBER,
  "GEQS" NUMBER,
  "GNTP" VARCHAR2(200 BYTE),
  "HHRZ" NUMBER,
  "HLRZ" NUMBER,
  "HMXQ" NUMBER,
  "HMXW" NUMBER,
  "HPDW" VARCHAR2(150 BYTE),
  "JLDT" DATE,
  "LSDW" VARCHAR2(24 BYTE),
  "MARK" VARCHAR2(20 BYTE),
  "MXSN" NUMBER,
  "PREN" VARCHAR2(50 BYTE),
  "PROV" VARCHAR2(999 BYTE),
  "ROLL" NUMBER,
  "RSTP" VARCHAR2(200 BYTE),
  "RVGR" NUMBER,
  "SORT" NUMBER,
  "SPUN" VARCHAR2(150 BYTE),
  "SYJQ" VARCHAR2(255 BYTE),
  "THGM" NUMBER,
  "THNL" NUMBER,
  "THTP" NUMBER,
  "TTCP" NUMBER,
  "USHR" NUMBER,
  "UZFC" NUMBER,
  "VAST" VARCHAR2(255 BYTE),
  "XNTP" VARCHAR2(200 BYTE),
  "YDXS" VARCHAR2(1000 BYTE),
  "YRGE" NUMBER,
  "ZBBH" VARCHAR2(24 BYTE),
  "ZXZW" VARCHAR2(24 BYTE),
  "ACTCP" NUMBER,
  "AIODT" DATE,
  "ANGLE" NUMBER,
  "AVQ01" NUMBER,
  "AVQ02" NUMBER,
  "AVQ03" NUMBER,
  "AVQ04" NUMBER,
  "AVQ05" NUMBER,
  "AVQ06" NUMBER,
  "AVQ07" NUMBER,
  "AVQ08" NUMBER,
  "AVQ09" NUMBER,
  "AVQ10" NUMBER,
  "AVQ11" NUMBER,
  "AVQ12" NUMBER,
  "AVYRP" NUMBER,
  "AVYRQ" NUMBER,
  "CANED" NUMBER,
  "CELLS" NUMBER,
  "CHFLW" NUMBER,
  "CHMXQ" NUMBER,
  "CKFLZ" NUMBER,
  "DDZGQ" NUMBER,
  "DMLEN" NUMBER,
  "DSAVQ" NUMBER,
  "DSELQ" NUMBER,
  "DSFLZ" NUMBER,
  "DSMXQ" NUMBER,
  "DTSRC" VARCHAR2(100 BYTE),
  "DYNTZ" NUMBER,
  "DZLMT" NUMBER,
  "EDTTM" DATE,
  "EDTUN" VARCHAR2(200 BYTE),
  "EXCEL" VARCHAR2(200 BYTE),
  "FBMHG" NUMBER,
  "FLDCP" NUMBER,
  "FZRPJ" NUMBER,
  "GNCNT" NUMBER,
  "HZLMT" NUMBER,
  "JSKGC" NUMBER,
  "JSKTP" NUMBER,
  "MNGAP" NUMBER,
  "MXGAP" NUMBER,
  "MXGEQ" NUMBER,
  "MXHLS" NUMBER,
  "MZLMT" NUMBER,
  "NMZCP" NUMBER,
  "NORMZ" NUMBER,
  "NRAVH" NUMBER,
  "NRAVZ" NUMBER,
  "NRZAR" NUMBER,
  "OBMNQ" NUMBER,
  "OBMXQ" NUMBER,
  "OBMXS" NUMBER,
  "PAIXU" NUMBER,
  "PIODT" DATE,
  "PITCH" NUMBER,
  "PSTCD" VARCHAR2(36 BYTE),
  "RANGE" NUMBER,
  "RCFFR" NUMBER,
  "RUNTM" VARCHAR2(24 BYTE),
  "RVLEN" NUMBER,
  "RVSFQ" NUMBER,
  "SCALE" NUMBER,
  "SGYGE" NUMBER,
  "SLOPE" NUMBER,
  "SSWDT" DATE,
  "STAGE" VARCHAR2(100 BYTE),
  "SWSDT" VARCHAR2(20 BYTE),
  "SYJHG" NUMBER,
  "SYJSZ" VARCHAR2(24 BYTE),
  "TTSHG" NUMBER,
  "UNITS" VARCHAR2(20 BYTE),
  "UNYGE" NUMBER,
  "WIRRG" NUMBER,
  "XSWTP" VARCHAR2(80 BYTE),
  "YDCSV" NUMBER,
  "YDJKZ" NUMBER,
  "YDZCD" NUMBER,
  "YRGEB" NUMBER,
  "ACIMEL" NUMBER,
  "ADJCPM" NUMBER,
  "ADJCPS" NUMBER,
  "ARIRRG" NUMBER,
  "BCKLEN" NUMBER,
  "CHFELQ" NUMBER,
  "CHFLDR" NUMBER,
  "CHRCIN" VARCHAR2(20 BYTE),
  "CNTRAR" NUMBER,
  "CNTRSC" NUMBER,
  "DLMCNT" NUMBER,
  "DMCREL" NUMBER,
  "DMRKTP" VARCHAR2(200 BYTE),
  "DNAVWT" NUMBER,
  "DSIMEL" NUMBER,
  "DSNSTT" VARCHAR2(200 BYTE),
  "DSRCIN" VARCHAR2(20 BYTE),
  "FBMCNT" NUMBER,
  "FSLTDZ" NUMBER,
  "GRNTRT" NUMBER,
  "GSMQCD" NUMBER,
  "GSMQCL" VARCHAR2(64 BYTE),
  "GSMQKD" NUMBER,
  "HEIGHT" NUMBER,
  "HHRZTM" DATE,
  "HJJLDW" VARCHAR2(150 BYTE),
  "HLRZTM" DATE,
  "HMNINQ" NUMBER,
  "HMXINQ" NUMBER,
  "HMXOTQ" NUMBER,
  "HNTJZL" VARCHAR2(200 BYTE),
  "HPSPRQ" DATE,
  "JBTXCS" VARCHAR2(512 BYTE),
  "JHFDGK" NUMBER,
  "KSQXYZ" NUMBER,
  "LSDWLC" VARCHAR2(150 BYTE),
  "MXDMHG" NUMBER,
  "NRAVWT" NUMBER,
  "NRUPAR" NUMBER,
  "OBMXW3" NUMBER,
  "OUTCNT" NUMBER,
  "RDMDIS" NUMBER,
  "RSVRTP" VARCHAR2(10 BYTE),
  "SGUSHR" NUMBER,
  "STINDX" VARCHAR2(1000 BYTE),
  "STJZNQ" NUMBER,
  "SYJCNT" NUMBER,
  "SYJWDP" VARCHAR2(255 BYTE),
  "TTPWRB" NUMBER,
  "TTPWRM" NUMBER,
  "TTPWRS" NUMBER,
  "TTSCNT" NUMBER,
  "UNUSHR" NUMBER,
  "WQTYPE" NUMBER,
  "WR_AVG" NUMBER,
  "WSCHGC" NUMBER,
  "WSPPLY" NUMBER,
  "WVTPEL" NUMBER,
  "YDCSCD" NUMBER,
  "YDCSKD" NUMBER,
  "YDCSPD" VARCHAR2(24 BYTE),
  "YDJKHG" NUMBER,
  "YDOWNZ" NUMBER,
  "YDYYXS" VARCHAR2(50 BYTE),
  "YMBQRK" NUMBER,
  "YMBQXZ" NUMBER,
  "YMSCRK" NUMBER,
  "YSDLEN" NUMBER,
  "ZJXYDZ" VARCHAR2(60 BYTE),
  "ZZFLAR" NUMBER,
  "ZZFLDX" VARCHAR2(300 BYTE),
  "ZZFLGY" VARCHAR2(800 BYTE),
  "ZZFLRW" VARCHAR2(64 BYTE),
  "ZZFLTM" DATE,
  "CHNLNTH" NUMBER,
  "CKFQFQR" NUMBER,
  "DSTCRVR" NUMBER,
  "DTFRQCY" NUMBER,
  "FBMDBGC" NUMBER,
  "FZRDMXZ" VARCHAR2(500 BYTE),
  "FZRJKHG" NUMBER,
  "FZRTDSZ" VARCHAR2(255 BYTE),
  "GEMAXRQ" NUMBER,
  "GRNTPWR" NUMBER,
  "HEADING" NUMBER,
  "HLSCOEF" NUMBER,
  "JYYJYFS" VARCHAR2(1000 BYTE),
  "JYYYYFS" VARCHAR2(300 BYTE),
  "KSQADJQ" NUMBER,
  "MINTEMP" NUMBER,
  "MXDMHGL" NUMBER,
  "MXDMHGR" NUMBER,
  "MXSHPTN" NUMBER,
  "OPRTNUN" VARCHAR2(150 BYTE),
  "OUTELEV" NUMBER,
  "PROTOBJ" VARCHAR2(1000 BYTE),
  "PROTTYP" VARCHAR2(512 BYTE),
  "QUALITY" VARCHAR2(3 BYTE),
  "QXDBHCD" NUMBER,
  "QXDBHFW" VARCHAR2(400 BYTE),
  "QXDBHMJ" NUMBER,
  "RVCDTOW" VARCHAR2(200 BYTE),
  "SRCUNIT" VARCHAR2(255 BYTE),
  "STJZYSQ" NUMBER,
  "SYJYYFS" VARCHAR2(24 BYTE),
  "TTSZDSS" NUMBER,
  "UPDCKLC" VARCHAR2(100 BYTE),
  "UPDCKTP" VARCHAR2(1000 BYTE),
  "WT_TYPE" VARCHAR2(10 BYTE),
  "YDCSCNT" NUMBER,
  "YDJKCNT" NUMBER,
  "YRCPCTY" VARCHAR2(150 BYTE),
  "YRGENSA" NUMBER,
  "ZZFLCNT" NUMBER,
  "ZZFLLVL" NUMBER,
  "BOUNDARY" VARCHAR2(4000 BYTE),
  "BUILDING" VARCHAR2(150 BYTE),
  "CKFLZFRQ" NUMBER,
  "CKFLZMXQ" NUMBER,
  "CKFLZXYZ" NUMBER,
  "CUT_TIME" NUMBER,
  "DCSQSKGS" NUMBER,
  "DLMMXWDP" NUMBER,
  "DNMNAVWT" NUMBER,
  "DNMXAVWT" NUMBER,
  "DSFLZFRQ" NUMBER,
  "DSFLZMXQ" NUMBER,
  "DSFLZXYZ" NUMBER,
  "DSNFQFRQ" NUMBER,
  "EIARPTID" VARCHAR2(36 BYTE),
  "ENG_SORT" NUMBER,
  "EQRRATIO" NUMBER,
  "ESTRYDIS" NUMBER,
  "FBMMXWDP" NUMBER,
  "FZRYXWDP" NUMBER,
  "GRNTPWRM" NUMBER,
  "GRNTPWRS" NUMBER,
  "HLSCONST" NUMBER,
  "HMNINQTM" DATE,
  "HMXINQTM" DATE,
  "HMXOTQTM" DATE,
  "IMPDSTRZ" NUMBER,
  "JGHBYSRQ" DATE,
  "JGJDSBYS" DATE,
  "JLJDSBYS" DATE,
  "JWUPDATE" DATE,
  "JYYJYYTM" VARCHAR2(50 BYTE),
  "LAG_TIME" NUMBER,
  "MXGEQXYZ" NUMBER,
  "MYAVMNAT" NUMBER,
  "NRMNAVWT" NUMBER,
  "NRMXAVWT" NUMBER,
  "OUTDSGNZ" NUMBER,
  "PASSWORD" VARCHAR2(36 BYTE),
  "PROTMTHD" VARCHAR2(300 BYTE),
  "PROTOCOL" VARCHAR2(100 BYTE),
  "PSFISHTM" VARCHAR2(60 BYTE),
  "SBFASCRQ" DATE,
  "SKYMBCTZ" NUMBER,
  "STYPHPSP" DATE,
  "SYJJYYFS" VARCHAR2(1000 BYTE),
  "USERNAME" VARCHAR2(36 BYTE),
  "XSJDHBYS" DATE,
  "XSJDSBYS" DATE,
  "YMBQRKNC" NUMBER,
  "ZTGCSGDW" VARCHAR2(1200 BYTE),
  "ZTGCSJDW" VARCHAR2(150 BYTE),
  "ZZFLBJFS" VARCHAR2(100 BYTE),
  "ZZFLFLLC" VARCHAR2(300 BYTE),
  "ZZFLJSLC" VARCHAR2(255 BYTE),
  "ZZFLYZMS" VARCHAR2(100 BYTE),
  "DOWNDCKLC" VARCHAR2(100 BYTE),
  "DOWNDCKTP" VARCHAR2(1000 BYTE),
  "EQREVIEWM" VARCHAR2(1 BYTE),
  "FISHLURMV" NUMBER,
  "FPSSMNMON" VARCHAR2(32 BYTE),
  "FREQUENCY" VARCHAR2(255 BYTE),
  "FRNTWLLHG" NUMBER,
  "GRNTPWRMN" NUMBER,
  "GRNTPWRMX" NUMBER,
  "OP_HEIGHT" NUMBER,
  "PERIMETER" NUMBER,
  "PSFISHCNT" NUMBER,
  "PSFISHTYP" NVARCHAR2(1000),
  "QXDBHHXCD" NUMBER,
  "QXDBHWWCD" NUMBER,
  "RESTPLCNT" NUMBER,
  "STSTICINV" NUMBER,
  "SZHLJSJHL" VARCHAR2(32 BYTE),
  "THRSMDAYS" NUMBER,
  "AI_ENABLED" NUMBER,
  "CHANNEL_NO" VARCHAR2(100 BYTE),
  "EIADTFRQCY" NUMBER,
  "FH_LAST_WT" VARCHAR2(18 BYTE),
  "FH_LAST_ZQ" VARCHAR2(18 BYTE),
  "FRAME_RATE" NUMBER,
  "FRNTWLLTYP" VARCHAR2(60 BYTE),
  "GRNTPWRNSA" NUMBER,
  "OSGBTITLES" VARCHAR2(50 BYTE),
  "OUTFLRELEV" NUMBER,
  "AI_EXT_CODE" VARCHAR2(70 BYTE),
  "AI_EXT_NAME" VARCHAR2(128 BYTE),
  "AVERAGETEMP" NUMBER,
  "CENTER_ELEV" NUMBER,
  "CENTER_LGTD" NUMBER,
  "CENTER_LTTD" NUMBER,
  "DESCRIPTION" VARCHAR2(255 BYTE),
  "WT_HGT_TYPE" NUMBER,
  "AI_FREQUENCY" VARCHAR2(255 BYTE),
  "CENTER1_ELEV" NUMBER,
  "CENTER1_LGTD" NUMBER,
  "CENTER1_LTTD" NUMBER,
  "INTRANET_URL" VARCHAR2(255 BYTE),
  "WT_FIRST_HGT" NUMBER,
  "CHIEFBASINENG" NUMBER,
  "DEVICE_SERIAL" VARCHAR2(255 BYTE),
  "CLIPPING_PLANES" VARCHAR2(255 BYTE),
  "DESTINATION_ELEV" NUMBER,
  "DESTINATION_LGTD" NUMBER,
  "DESTINATION_LTTD" NUMBER,
  "DESTINATION_TYPE" VARCHAR2(3 BYTE),
  "ORIENTATION_ROLL" NUMBER,
  "REVISE_SITE_ELEV" NUMBER,
  "Z_VARIATION_DMAX" NUMBER,
  "Z_VARIATION_HMAX" NUMBER,
  "ORIENTATION_PITCH" NUMBER,
  "ORIENTATION_HEADING" NUMBER,
  "DESTINATION_ELEV_WCS" NUMBER,
  "DESTINATION_LGTD_WCS" NUMBER,
  "DESTINATION_LTTD_WCS" NUMBER,
  "DESTINATION_ELEV_WGS84" NUMBER,
  "DESTINATION_LGTD_WGS84" NUMBER,
  "DESTINATION_LTTD_WGS84" NUMBER,
  "REVISE_SITE_ELEV_FACTOR" NUMBER,
  "COENVW_STATE" NUMBER(1,0),
  "WTS" VARCHAR2(30 BYTE),
  "PLAY_WAY" VARCHAR2(30 BYTE),
  "UZFCCP" NUMBER(15,4),
  "DATA_STATE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "RGCP_CODE" NUMBER(2,0),
  "LOCATION" VARCHAR2(500 BYTE),
  "ACCURACY" NUMBER,
  "ENGINEERING_TITLE" VARCHAR2(255 BYTE),
  "ENGINEERING_CONTENT" VARCHAR2(4000 BYTE),
  "ENGINEERING_PICTURE" VARCHAR2(200 BYTE),
  "WARN_STATE" VARCHAR2(2 BYTE),
  "ACCESS_WAY" VARCHAR2(10 BYTE),
  "CHANNEL_NAME" VARCHAR2(100 BYTE),
  "TRANSMODE" VARCHAR2(5 BYTE),
  "STORAGE_WAY" VARCHAR2(10 BYTE),
  "IS_VD_CONTROL" NUMBER(1,0),
  "CONTROL_MODE" VARCHAR2(200 BYTE),
  "PRECIS" VARCHAR2(500 BYTE),
  "GBCHANNEL" VARCHAR2(100 BYTE),
  "OCR_WAY" VARCHAR2(10 BYTE),
  "DEVICE_INFO" VARCHAR2(1000 BYTE),
  "TS_DURATION" NUMBER(3,0),
  "STNM_ALIAS" VARCHAR2(200 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "ICON_ROTATE" NUMBER(3,0),
  "VLSR_TM" DATE,
  "RUN_REQUIRE" NVARCHAR2(1024),
  "FLKSZ" VARCHAR2(200 BYTE),
  "FLKQ" VARCHAR2(200 BYTE),
  "DCSHG" VARCHAR2(200 BYTE),
  "DLMHG" VARCHAR2(200 BYTE),
  "ACCURAY" NUMBER,
  "FZRV" VARCHAR2(200 BYTE),
  "CRSCWD" NVARCHAR2(500),
  "WTDP" NVARCHAR2(500),
  "SUBSTRATE" NVARCHAR2(500),
  "BANK_STABILITY" NVARCHAR2(500),
  "PLANT_DIVERSITY" NVARCHAR2(500),
  "RIPARIAN_LANDUSE_TYPE" NVARCHAR2(500),
  "Q" NVARCHAR2(500),
  "TOP_HYCD" VARCHAR2(200 BYTE),
  "TOP_HYNM" VARCHAR2(200 BYTE),
  "AVQ_C" NUMBER(10,5),
  "VDHISDAY" NUMBER(4,0),
  "DELAY_TIME" NUMBER(4,0),
  "DELAY_NUM" NUMBER(4,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for MS_STSTATE_T
-- ----------------------------
DROP TABLE "QGC"."MS_STSTATE_T";
CREATE TABLE "QGC"."MS_STSTATE_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "RUN_STATE" NUMBER(1,0),
  "STD_STATE" NUMBER(1,0),
  "YR" NUMBER(4,0) NOT NULL,
  "MON" NUMBER(2,0),
  "DY" NUMBER(2,0),
  "TM" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "STD_SSTATE" NUMBER(1,0),
  "STTP_CODE" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."STCD" IS '对象编码(关联 MS_STBPRP_T.STCD)';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."RUN_STATE" IS '运行状态(0=未运行,1=运行中)';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."STD_STATE" IS '达标状态(0=未达标,1=达标,2=无数据)';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."MON" IS '月份';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."DY" IS '天';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."TM" IS '统计时间';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."STD_SSTATE" IS '达标状态子类型(0=数据未接入,1=正常运行,2=未正常报送数据,3=未正常运行)';
COMMENT ON COLUMN "QGC"."MS_STSTATE_T"."STTP_CODE" IS '对象类型';
COMMENT ON TABLE "QGC"."MS_STSTATE_T" IS '对象状态统计表';

-- ----------------------------
-- Table structure for MS_SYNCFILE_R
-- ----------------------------
DROP TABLE "QGC"."MS_SYNCFILE_R";
CREATE TABLE "QGC"."MS_SYNCFILE_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TABLE_NAME" VARCHAR2(64 BYTE) NOT NULL,
  "DATA_UK" NVARCHAR2(500) NOT NULL,
  "FILE_COLUMN" VARCHAR2(64 BYTE) NOT NULL,
  "FILE_RELA_SITE" NCLOB NOT NULL,
  "FILE_SERVE_ID" CLOB,
  "IS_UPLOAD" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "MODIFY_NUM" NUMBER(2,0) DEFAULT 0,
  "IS_SYNC" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "EX_INFO" NCLOB,
  "FID" VARCHAR2(500 BYTE),
  "DESCRIPTION" NVARCHAR2(500),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "FILTER_CONTENT" NVARCHAR2(2000),
  "ORDER_INDEX" NUMBER(4,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."TABLE_NAME" IS '表名';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."DATA_UK" IS '数据记录UK';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."FILE_COLUMN" IS '附件列';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."FILE_RELA_SITE" IS '原始相对文件地址(多个以逗号分隔)';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."FILE_SERVE_ID" IS 'zny附件服务ID(多个以逗号分隔)';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."IS_UPLOAD" IS '是否上传成功：0=未上传 1=成功 2=无法找到附件 3=部分成功一定要在EX_INFO列在描述清楚';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."MODIFY_NUM" IS '更新次数';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."IS_SYNC" IS '是否同步：0=未同步 1=已同步';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."EX_INFO" IS '异常情况：{"fid值1":"zny附件不存在","fid存的存相对地址/a.jpg":"ftp文件不存在","39fbfe15-1885-4089-9657-5cd104d190b4":"在sd_file_b未找到记录"}';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."FID" IS '附件ID：多个以逗号分隔';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."FILTER_CONTENT" IS '过滤值';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_SYNCFILE_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_SYNCFILE_R" IS '附件同步到总院zny附件服务记录表';

-- ----------------------------
-- Table structure for MS_SYN_FIELDS_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_FIELDS_B";
CREATE TABLE "QGC"."MS_SYN_FIELDS_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE),
  "FIELD_NAME" VARCHAR2(36 BYTE),
  "FIELD_DESC" VARCHAR2(128 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."TB_ID" IS '统计表信息配置表ID';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."FIELD_NAME" IS '字段名';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."FIELD_DESC" IS '字段描述';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_FIELDS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_FIELDS_B" IS '统计表信息配置字段信息表';

-- ----------------------------
-- Table structure for MS_SYN_TASK_CONFIG_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_TASK_CONFIG_B";
CREATE TABLE "QGC"."MS_SYN_TASK_CONFIG_B" (
  "ID" VARCHAR2(32 BYTE) NOT NULL,
  "TASK_NAME" VARCHAR2(256 BYTE) DEFAULT NULL,
  "IS_AUTO" NUMBER(11,0) DEFAULT 0 NOT NULL,
  "TASK_CRON" VARCHAR2(36 BYTE),
  "ENABLED" NUMBER(11,0) DEFAULT 0 NOT NULL,
  "TB_GOAL" VARCHAR2(50 BYTE),
  "TB_CODE_GOAL" VARCHAR2(50 BYTE),
  "TB_DATA_SOURCE" VARCHAR2(50 BYTE),
  "TB_CODE_DATA_SOURCE" VARCHAR2(50 BYTE),
  "JOB_ID" NUMBER(11,0) DEFAULT 0 NOT NULL,
  "IS_SUCCEED" NUMBER(11,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TASK_NAME" IS '任务名称';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."IS_AUTO" IS '是否自动[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TASK_CRON" IS '定时任务Cron表达式';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."ENABLED" IS '是否启用[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TB_GOAL" IS '目标表';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TB_CODE_GOAL" IS '目标表编码';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TB_DATA_SOURCE" IS '数据来源表';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."TB_CODE_DATA_SOURCE" IS '数据来源表编码';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."JOB_ID" IS 'XXL-JOB任务ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."IS_SUCCEED" IS 'XXL-JOB任务创建是否成功[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_CONFIG_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_TASK_CONFIG_B" IS '数据统计任务配置表';

-- ----------------------------
-- Table structure for MS_SYN_TASK_FIELD_COND_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B";
CREATE TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FIELD_NAME" VARCHAR2(36 BYTE) NOT NULL,
  "CONDITION_VAL" VARCHAR2(256 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."TASK_ID" IS '数据统计任务配置表关联ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."FIELD_NAME" IS '字段名';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."CONDITION_VAL" IS '条件脚本值';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_COND_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" IS '数据统计任务同步字段条件配置表';

-- ----------------------------
-- Table structure for MS_SYN_TASK_FIELD_CONFIG_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B";
CREATE TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FIELD_TYPE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "GOAL_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "DATA_SOURCE_FIELD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."TASK_ID" IS '数据统计任务配置表关联ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."FIELD_TYPE" IS '字段类型，0-普通字段，1-主键字段';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."GOAL_FIELD" IS '目标字段';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."DATA_SOURCE_FIELD" IS '数据来源字段';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_FIELD_CONFIG_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" IS '数据统计任务同步字段规则配置表';

-- ----------------------------
-- Table structure for MS_SYN_TASK_RUN_LOG_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B";
CREATE TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" (
  "ID" VARCHAR2(32 BYTE) NOT NULL,
  "TASK_ID" VARCHAR2(32 BYTE),
  "TASK_BEGIN_TM" DATE,
  "TASK_END_TM" DATE,
  "IS_AUTO" VARCHAR2(11 BYTE) DEFAULT 0 NOT NULL,
  "EX_RESULT" VARCHAR2(256 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."TASK_ID" IS '数据统计任务配置表关联ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."TASK_BEGIN_TM" IS '任务启动时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."TASK_END_TM" IS '任务结束时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."IS_AUTO" IS '是否自动[1: 是; 0: 否]';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."EX_RESULT" IS '执行结果';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TASK_RUN_LOG_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" IS '数据统计任务记录表';

-- ----------------------------
-- Table structure for MS_SYN_TB_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYN_TB_B";
CREATE TABLE "QGC"."MS_SYN_TB_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_NAME" VARCHAR2(20 BYTE) NOT NULL,
  "TB" VARCHAR2(36 BYTE) NOT NULL,
  "TB_CODE" VARCHAR2(20 BYTE),
  "DATA_SOURCE_ID" VARCHAR2(20 BYTE),
  "DESCRIPTION" VARCHAR2(256 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."TB_NAME" IS '显示表名';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."TB" IS '真实表名';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."TB_CODE" IS '表编号';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."DATA_SOURCE_ID" IS '数据源id';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYN_TB_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYN_TB_B" IS '统计表信息配置表';

-- ----------------------------
-- Table structure for MS_SYSTEM_PARAMS_B
-- ----------------------------
DROP TABLE "QGC"."MS_SYSTEM_PARAMS_B";
CREATE TABLE "QGC"."MS_SYSTEM_PARAMS_B" (
  "ID" VARCHAR2(32 BYTE) NOT NULL,
  "PARAM_KEY" VARCHAR2(32 BYTE),
  "PARAM_NAME" VARCHAR2(32 BYTE),
  "PARAM_VALUE" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."PARAM_KEY" IS '参数标记';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."PARAM_NAME" IS '参数名称';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."PARAM_VALUE" IS '参数值';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_SYSTEM_PARAMS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_SYSTEM_PARAMS_B" IS '系统参数表';

-- ----------------------------
-- Table structure for MS_TAGCONFIG_B
-- ----------------------------
DROP TABLE "QGC"."MS_TAGCONFIG_B";
CREATE TABLE "QGC"."MS_TAGCONFIG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "MODULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TEMPLATE_ID" VARCHAR2(36 BYTE),
  "CODE" VARCHAR2(100 BYTE),
  "TAG_ID" VARCHAR2(36 BYTE),
  "TAG_VALUE" VARCHAR2(500 BYTE),
  "IS_SHOW" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."MODULE_ID" IS '菜单ID';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."TEMPLATE_ID" IS '模板ID，与MS_TEMPLATE_B的ID关联';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."CODE" IS '组件CODE,与MS_PPBCL_B的CODE关联';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."TAG_ID" IS '标签ID,与MS_PPBCLTAG_B的ID关联';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."TAG_VALUE" IS '标签值';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."IS_SHOW" IS '是否展示 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_TAGCONFIG_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."MS_TAGCONFIG_B" IS '页面标签配置表';

-- ----------------------------
-- Table structure for MS_TAG_B
-- ----------------------------
DROP TABLE "QGC"."MS_TAG_B";
CREATE TABLE "QGC"."MS_TAG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(50 BYTE),
  "NAME" VARCHAR2(50 BYTE),
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1000 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "FILTER_CONTENT" NVARCHAR2(255),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TAG_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."CODE" IS '标签编码';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."NAME" IS '标签名称';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."PARENT_ID" IS '父级id';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."FULL_PATH" IS '树全路径';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."RECORD_USER" IS '创建人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."MODIFY_USER" IS '更新人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."DELETE_USER" IS '删除人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."MS_TAG_B"."DEPARTMENT_ID" IS '部门id';
COMMENT ON TABLE "QGC"."MS_TAG_B" IS '标签表';

-- ----------------------------
-- Table structure for MS_TASK_R
-- ----------------------------
DROP TABLE "QGC"."MS_TASK_R";
CREATE TABLE "QGC"."MS_TASK_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" VARCHAR2(100 BYTE) NOT NULL,
  "STATUS" VARCHAR2(32 BYTE) NOT NULL,
  "FINSH_TIME" DATE,
  "PERSON_IN_CHARGE" VARCHAR2(64 BYTE) NOT NULL,
  "MOBILE_PHONE" VARCHAR2(11 BYTE),
  "COMPANY" VARCHAR2(64 BYTE) NOT NULL,
  "DEPT" VARCHAR2(64 BYTE) NOT NULL,
  "PLANST" DATE,
  "PLANET" DATE,
  "PARENT_ID" VARCHAR2(64 BYTE) DEFAULT '-' NOT NULL,
  "DESCRIBE" VARCHAR2(2000 BYTE) NOT NULL,
  "FID" VARCHAR2(64 BYTE),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "FULL_PATH" VARCHAR2(2000 BYTE),
  "IS_RATE" NUMBER(10,0),
  "WAY" NUMBER(1,0),
  "INNUM" NUMBER(10,0),
  "NUMOT" NUMBER(10,0),
  "RATE_TYPE" NUMBER(10,0),
  "INUNIT" NUMBER(10,0),
  "FRACTION" NUMBER(5,1),
  "SMSTPL_ID" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TASK_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."NAME" IS '任务名称';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."STATUS" IS '任务状态';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."FINSH_TIME" IS '任务完成时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."PERSON_IN_CHARGE" IS '负责人';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."MOBILE_PHONE" IS '负责人手机号';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."COMPANY" IS '负责人所属公司';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."DEPT" IS '负责人所属部门';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."PLANST" IS '计划开始时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."PLANET" IS '计划结束时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."PARENT_ID" IS '上级任务ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."DESCRIBE" IS '任务描述';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."FID" IS '附件Id';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."FULL_PATH" IS '层级全路径';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."IS_RATE" IS '工作汇报频率要求';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."WAY" IS '工作汇报填报方式：0=按频率 1=按次数';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."INNUM" IS '在>=1的整数的填报数值';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."NUMOT" IS '频次数值';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."RATE_TYPE" IS '频率类型：0=小时 1=天 2=旬 3=月 4=年 5=季';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."INUNIT" IS '在>=1的整数的填报数值单位类型：1=天 2=旬 3=月 4=年';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."FRACTION" IS '打分分数';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_TASK_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_TASK_R" IS '流域公司日常工作任务';

-- ----------------------------
-- Table structure for MS_TCEVALUAT_B
-- ----------------------------
DROP TABLE "QGC"."MS_TCEVALUAT_B";
CREATE TABLE "QGC"."MS_TCEVALUAT_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YR" NUMBER(4,0) NOT NULL,
  "QUAR" NUMBER(1,0) NOT NULL,
  "RANGEV" NUMBER(9,2),
  "EVAL_TYPE" NUMBER(1,0),
  "TM" DATE DEFAULT SYSDATE,
  "TOTAL_SCORE" NUMBER(5,1),
  "DRC" NUMBER(5,1),
  "TSP" NUMBER(5,1),
  "WMS" NUMBER(5,1),
  "ELS" NUMBER(5,1),
  "EME" NUMBER(5,1),
  "VME" NUMBER(5,1),
  "TME" NUMBER(5,1),
  "EOH" NUMBER(5,1),
  "DRC_REMARK" VARCHAR2(300 BYTE),
  "TSP_REMARK" VARCHAR2(300 BYTE),
  "WMS_REMARK" VARCHAR2(300 BYTE),
  "ELS_REMARK" VARCHAR2(300 BYTE),
  "EME_REMARK" VARCHAR2(300 BYTE),
  "VME_REMARK" VARCHAR2(300 BYTE),
  "TME_REMARK" VARCHAR2(300 BYTE),
  "EOH_REMARK" VARCHAR2(300 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "EXIST_QUES" VARCHAR2(500 BYTE),
  "RECT_SUG" VARCHAR2(500 BYTE),
  "ITEM_NAME" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."STCD" IS '电站名称';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."QUAR" IS '季度';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."RANGEV" IS '范围（公顷）';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EVAL_TYPE" IS '三色评价结论：0.绿色;1.黄色;2.红色';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TOTAL_SCORE" IS '得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."DRC" IS '扰动范围控制得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TSP" IS '表土剥离保护得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."WMS" IS '弃土(石、渣）堆放得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."ELS" IS '水土流失状况得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EME" IS '工程措施得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."VME" IS '植物措施得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TME" IS '临时措施得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EOH" IS '水土流失危害得分';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."DRC_REMARK" IS '扰动范围控制赋分说明；施工扰动范围严格控制在防治责任 范围内，不存在超出用地红线情况， 不扣分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TSP_REMARK" IS '表土剥离保护赋分说明；表土堆存高度、坡比和截排水沟需满 足设计要求，坡面绿化良好，不扣分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."WMS_REMARK" IS '弃土(石、渣）堆放赋分说明；不存在新增弃渣场情况，渣场进场道 路边坡有浮渣，扣 1 分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."ELS_REMARK" IS '水土流失状况赋分说明；本季度土壤流失量约为 488.95t（折 合 约 326m3 ， 土 壤 容 重 综 合 取 1.5t/m3），扣 3 分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EME_REMARK" IS '工程措施赋分说明；施工生产生活区的排水措施有待加 强，综合考虑扣 1 分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."VME_REMARK" IS '植物措施赋分说明；扰动区域根据实际情况已实施乔灌恢复和撒播草籽措施，交通设施区植 物措施有待加强，扣 1 分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TME_REMARK" IS '临时措施赋分说明；施工道路存在临时防护措施不完善 的情况，综合考虑扣 2 分。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EOH_REMARK" IS '水土流失危害赋分说明；本季度未发生水土流失灾害事件。';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."EXIST_QUES" IS '存在问题';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."RECT_SUG" IS '整改建议';
COMMENT ON COLUMN "QGC"."MS_TCEVALUAT_B"."ITEM_NAME" IS '项目名称';
COMMENT ON TABLE "QGC"."MS_TCEVALUAT_B" IS '三色评价表';

-- ----------------------------
-- Table structure for MS_TEMPLATE_B
-- ----------------------------
DROP TABLE "QGC"."MS_TEMPLATE_B";
CREATE TABLE "QGC"."MS_TEMPLATE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TEMPLATE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "MODULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FID" VARCHAR2(100 BYTE),
  "PAGE_ID" VARCHAR2(36 BYTE),
  "IS_DEFAULT" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "RESOURCE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."ID" IS '主键ID,与MS_MAPMODULE_B表的TEMPLATE_ID关联';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."TEMPLATE_NAME" IS '模板名称';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."MODULE_ID" IS '模块ID';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."FID" IS '模板预览图片';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."PAGE_ID" IS '页面配置ID,与MS_PPMODULELB_B表ID关联';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."IS_DEFAULT" IS '是否是默认模板，0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."MODIFY_USER" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."MS_TEMPLATE_B"."RESOURCE_ID" IS '资源id';
COMMENT ON TABLE "QGC"."MS_TEMPLATE_B" IS '页面配置模板表';

-- ----------------------------
-- Table structure for MS_TE_T
-- ----------------------------
DROP TABLE "QGC"."MS_TE_T";
CREATE TABLE "QGC"."MS_TE_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "IMAGE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "DD_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "DD_CODE" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "YR" NUMBER(4,0),
  "TETP" VARCHAR2(100 BYTE) NOT NULL,
  "TETP_EN" VARCHAR2(100 BYTE),
  "AREA" NUMBER(12,4) NOT NULL,
  "RGB" VARCHAR2(100 BYTE),
  "LAYER_TYPE" VARCHAR2(255 BYTE),
  "LAYER_NAME" VARCHAR2(255 BYTE),
  "SERVICE_TYPE" VARCHAR2(255 BYTE),
  "ADDRESS" VARCHAR2(3000 BYTE),
  "ADDRESS_THD" VARCHAR2(3000 BYTE),
  "LAYERS" VARCHAR2(255 BYTE),
  "REMARK" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_TE_T"."ID" IS '生态调查ID,关联SD_TE_R.ID';
COMMENT ON COLUMN "QGC"."MS_TE_T"."IMAGE_TYPE" IS '影像类型:1=陆生生态监测情况,2=生物多样性对比,3=生物系统质量,关联SD_TE_R.IMAGE_TYPE';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DD_TYPE" IS '维度类型:basin=流域,district=行政区,hyBase=电站基地,company=公司,stcd=站点,关联SD_TE_R.DD_TYPE';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DD_CODE" IS '维度编码,根据维度类型对应的基础表所对应的维度编码，比如：行政区SD_ADDVCD_DIC.ADDVCD,关联SD_TE_R.DD_CODE';
COMMENT ON COLUMN "QGC"."MS_TE_T"."TM" IS '数据时间:具体日期,关联SD_TE_R.TM';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DCPC" IS '调查批次,关联SD_TE_R.DCPC';
COMMENT ON COLUMN "QGC"."MS_TE_T"."YR" IS '数据时间:年份';
COMMENT ON COLUMN "QGC"."MS_TE_T"."TETP" IS '调查指标，比如：耕地、园地、林地、牧草地、建设用地、水域、未利用地,关联SD_TEDD_R.TETP';
COMMENT ON COLUMN "QGC"."MS_TE_T"."TETP_EN" IS '调查指标英文,关联SD_TEDD_R.TETP_EN';
COMMENT ON COLUMN "QGC"."MS_TE_T"."AREA" IS '面积，单位：km2,关联SD_TEDD_R.TM';
COMMENT ON COLUMN "QGC"."MS_TE_T"."RGB" IS 'RGB值,关联SD_TERGB_B.RGB';
COMMENT ON COLUMN "QGC"."MS_TE_T"."LAYER_TYPE" IS '图层类型,关联SD_TERS_R.LAYER_TYPE';
COMMENT ON COLUMN "QGC"."MS_TE_T"."LAYER_NAME" IS '图层名称,关联SD_TERS_R.LAYER_NAME';
COMMENT ON COLUMN "QGC"."MS_TE_T"."SERVICE_TYPE" IS '服务类型,关联SD_TERS_R.SERVICE_TYPE';
COMMENT ON COLUMN "QGC"."MS_TE_T"."ADDRESS" IS '二维地址,关联SD_TERS_R.ADDRESS';
COMMENT ON COLUMN "QGC"."MS_TE_T"."ADDRESS_THD" IS '三维地址,关联SD_TERS_R.ADDRESS_THD';
COMMENT ON COLUMN "QGC"."MS_TE_T"."LAYERS" IS '三维专用图层标识,关联SD_TERS_R.LAYERS';
COMMENT ON COLUMN "QGC"."MS_TE_T"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_TE_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TE_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_TE_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TE_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_TE_T"."IS_DELETED" IS '是否已删除：0=未删除,1=已删除';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_TE_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_TE_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_TE_T" IS '陆生生态调查业务结果表';

-- ----------------------------
-- Table structure for MS_THREEDROAMM_B
-- ----------------------------
DROP TABLE "QGC"."MS_THREEDROAMM_B";
CREATE TABLE "QGC"."MS_THREEDROAMM_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(36 BYTE) NOT NULL,
  "REMARK" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "RVCD" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAMM_B"."RVCD" IS '所属流域';
COMMENT ON TABLE "QGC"."MS_THREEDROAMM_B" IS '三维漫游数据主表';

-- ----------------------------
-- Table structure for MS_THREEDROAM_B
-- ----------------------------
DROP TABLE "QGC"."MS_THREEDROAM_B";
CREATE TABLE "QGC"."MS_THREEDROAM_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(36 BYTE) NOT NULL,
  "TIME" NUMBER(3,1),
  "LGTD" NUMBER(17,14),
  "LTTD" NUMBER(17,14),
  "DTMEL" NUMBER(7,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ORDER_INDEX" NUMBER(6,0),
  "ROAM_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(200 BYTE),
  "STNM" VARCHAR2(200 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."TIME" IS '时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."DTMEL" IS '海拔';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."ROAM_ID" IS '关联MS_THREEDROAMM_B表ID';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."STCD" IS '所属电站';
COMMENT ON COLUMN "QGC"."MS_THREEDROAM_B"."STNM" IS '电站名称';
COMMENT ON TABLE "QGC"."MS_THREEDROAM_B" IS '三维漫游数据表';

-- ----------------------------
-- Table structure for MS_UOM_B
-- ----------------------------
DROP TABLE "QGC"."MS_UOM_B";
CREATE TABLE "QGC"."MS_UOM_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "UOM_NAME" NVARCHAR2(50) NOT NULL,
  "UOM_SHOW_NAME" NVARCHAR2(50) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_UOM_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."UOM_NAME" IS '计量单位名称';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."UOM_SHOW_NAME" IS '前端页面显示名称';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_UOM_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_UOM_B" IS '8计量单位表';

-- ----------------------------
-- Table structure for MS_UOM_TRANSFOR_B
-- ----------------------------
DROP TABLE "QGC"."MS_UOM_TRANSFOR_B";
CREATE TABLE "QGC"."MS_UOM_TRANSFOR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SOURCE_UOM_ID" VARCHAR2(50 BYTE) NOT NULL,
  "TARGET_UOM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TRANSFORM_RATE" NUMBER(9,6),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."SOURCE_UOM_ID" IS '源计量单位ID：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."TARGET_UOM_ID" IS '目标计量单位ID：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."TRANSFORM_RATE" IS '转换率';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_UOM_TRANSFOR_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_UOM_TRANSFOR_B" IS '9计量单位转换表';

-- ----------------------------
-- Table structure for MS_USERCOLUMN_B
-- ----------------------------
DROP TABLE "QGC"."MS_USERCOLUMN_B";
CREATE TABLE "QGC"."MS_USERCOLUMN_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CFG_ID" VARCHAR2(36 BYTE) NOT NULL,
  "CAN_BE_CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "CHECKED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE) NOT NULL,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "COLUMN_EN" VARCHAR2(20 BYTE),
  "COLUMN_NAME" NVARCHAR2(100)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."CFG_ID" IS '所属MS_COLUMNCFG_B.ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."CAN_BE_CHECKED" IS '是否可勾选：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."CHECKED" IS '是否默认勾选：0=否 1=是，默认为否';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."COLUMN_EN" IS '字段英文名称';
COMMENT ON COLUMN "QGC"."MS_USERCOLUMN_B"."COLUMN_NAME" IS '字段中文名称';
COMMENT ON TABLE "QGC"."MS_USERCOLUMN_B" IS '用户与筛选列映射表';

-- ----------------------------
-- Table structure for MS_USERFEEDBACK_R
-- ----------------------------
DROP TABLE "QGC"."MS_USERFEEDBACK_R";
CREATE TABLE "QGC"."MS_USERFEEDBACK_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SYS_TYPE" VARCHAR2(50 BYTE) NOT NULL,
  "QUE_CATEGORY" VARCHAR2(50 BYTE) NOT NULL,
  "NAME" VARCHAR2(255 BYTE) NOT NULL,
  "ORGANIZATION" VARCHAR2(500 BYTE) NOT NULL,
  "CONTACT" VARCHAR2(50 BYTE) NOT NULL,
  "CONTENT" NCLOB NOT NULL,
  "APP_VERSION" VARCHAR2(50 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."SYS_TYPE" IS '系统类型：mee_app=环保部APP sjcj_app=流域数据采集app sjtb=数据填报系统 sjgl=数据管理系统 web=web展示系统 dlp=大屏';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."QUE_CATEGORY" IS '问题分类：biz=业务逻辑 data=数据层面问题 other=其他';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."NAME" IS '姓名：默认带当前登陆用户姓名';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."ORGANIZATION" IS '单位名称：默认带当前登陆用户所属公司名称';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."CONTACT" IS '联系方式：默认带当前登陆用户手机号';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."CONTENT" IS '问题内容：最大4000个字符(中文占2个字符)';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."APP_VERSION" IS 'app版本：如果是app问题必填';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."MS_USERFEEDBACK_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."MS_USERFEEDBACK_R" IS '用户问题反馈收集表';

-- ----------------------------
-- Table structure for MS_USERTAG_B
-- ----------------------------
DROP TABLE "QGC"."MS_USERTAG_B";
CREATE TABLE "QGC"."MS_USERTAG_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "USER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TAG_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ORDER_INDEX" NUMBER(11,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."USER_ID" IS '标识编码';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."TAG_ID" IS '父级id';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."RECORD_USER" IS '创建人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."MODIFY_USER" IS '更新人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."DELETE_USER" IS '删除人，关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."MS_USERTAG_B"."DEPARTMENT_ID" IS '部门id';
COMMENT ON TABLE "QGC"."MS_USERTAG_B" IS '用户标签表';

-- ----------------------------
-- Table structure for MS_WARNDATA_R
-- ----------------------------
DROP TABLE "QGC"."MS_WARNDATA_R";
CREATE TABLE "QGC"."MS_WARNDATA_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "SSZ" NUMBER,
  "ZXZ" NUMBER,
  "ZDZ" NUMBER,
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."SSZ" IS '预警最新值：记录异常值';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."ZXZ" IS '规则最小值：记录预警规则最小值';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."ZDZ" IS '规则最大值：记录预警规则最大值';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WARNDATA_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_WARNDATA_R" IS '异常结果明细表';

-- ----------------------------
-- Table structure for MS_WARN_RECORD_W
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RECORD_W";
CREATE TABLE "QGC"."MS_WARN_RECORD_W" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "BTM" DATE,
  "ETM" DATE,
  "YJDJ" VARCHAR2(36 BYTE),
  "SSZ" NUMBER,
  "ZXZ" NUMBER,
  "ZDZ" NUMBER,
  "BZZ" VARCHAR2(50 BYTE),
  "SFGB" VARCHAR2(1 BYTE),
  "STYPE" VARCHAR2(36 BYTE),
  "PUSH_VAL" NUMBER,
  "PUSH_TM" DATE,
  "DELAY_JSSJ" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RKSJ" DATE,
  "SENSOR_ID" VARCHAR2(20 BYTE) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."BTM" IS '预警开始时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."ETM" IS '预警结束时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."YJDJ" IS '预警等级';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."SSZ" IS '预警最新值：记录预警时段内最新值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."ZXZ" IS '预警最小值：记录预警时段内最小值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."ZDZ" IS '预警最大值：记录预警时段内最大值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."BZZ" IS '预警原因：可文字说明原因用于展示，或存预警规则配置表中最大值/最小值；比如水位预警的最大限值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."SFGB" IS '是否关闭：N=否 Y=是';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."STYPE" IS '消息类型：OP=超标';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."PUSH_VAL" IS '最后推送值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."PUSH_TM" IS '最后推送时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."DELAY_JSSJ" IS '延迟结束时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."RKSJ" IS '入库时间：创建时间，新项目使用RECORD_TIME，为兼容原项目保留';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W"."SENSOR_ID" IS '传感器ID';
COMMENT ON TABLE "QGC"."MS_WARN_RECORD_W" IS '4预警结果明细表';

-- ----------------------------
-- Table structure for MS_WARN_RECORD_W_240611SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RECORD_W_240611SP";
CREATE TABLE "QGC"."MS_WARN_RECORD_W_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "BTM" DATE,
  "ETM" DATE,
  "YJDJ" VARCHAR2(36 BYTE),
  "SSZ" NUMBER,
  "ZXZ" NUMBER,
  "ZDZ" NUMBER,
  "BZZ" VARCHAR2(50 BYTE),
  "SFGB" VARCHAR2(1 BYTE),
  "STYPE" VARCHAR2(36 BYTE),
  "PUSH_VAL" NUMBER,
  "PUSH_TM" DATE,
  "DELAY_JSSJ" DATE,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RKSJ" DATE,
  "SENSOR_ID" VARCHAR2(20 BYTE) DEFAULT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."BTM" IS '预警开始时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."ETM" IS '预警结束时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."YJDJ" IS '预警等级';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."SSZ" IS '预警最新值：记录预警时段内最新值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."ZXZ" IS '预警最小值：记录预警时段内最小值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."ZDZ" IS '预警最大值：记录预警时段内最大值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."BZZ" IS '预警原因：可文字说明原因用于展示，或存预警规则配置表中最大值/最小值；比如水位预警的最大限值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."SFGB" IS '是否关闭：N=否 Y=是';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."STYPE" IS '消息类型：OP=超标';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."PUSH_VAL" IS '最后推送值';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."PUSH_TM" IS '最后推送时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."DELAY_JSSJ" IS '延迟结束时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."RKSJ" IS '入库时间：创建时间，新项目使用RECORD_TIME，为兼容原项目保留';
COMMENT ON COLUMN "QGC"."MS_WARN_RECORD_W_240611SP"."SENSOR_ID" IS '传感器ID';
COMMENT ON TABLE "QGC"."MS_WARN_RECORD_W_240611SP" IS '4预警结果明细表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_B
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_B";
CREATE TABLE "QGC"."MS_WARN_RULE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "RULE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RULE_CODE" VARCHAR2(20 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 0,
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."ID" IS '主键：单站预警主键建议：预警规则类型_站码';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."RULE_TYPE" IS '预警规则类型：WQLVL=水质预警 EQMN=电站生态流量(环保部) EQMNMWR=电站生态流量(水利部) RSVRFSR=水位预警；存储字典值大写，字典项为comm.rule_type';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."RULE_NAME" IS '预警规则名称';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."RULE_CODE" IS '规则编码 global=全局规则 common=通用告警规则 custom=自定义告警规则';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."STCD" IS '自定义规则时，标识规则所属测站';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."IS_SHOW" IS '是否展示告警等级 0=不展示 1=展示，默认不展示';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_B" IS '1预警规则配置基础表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_B_240611SP";
CREATE TABLE "QGC"."MS_WARN_RULE_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "RULE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RULE_CODE" VARCHAR2(20 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 0,
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."ID" IS '主键：单站预警主键建议：预警规则类型_站码';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."RULE_TYPE" IS '预警规则类型：WQLVL=水质预警 EQMN=电站生态流量(环保部) EQMNMWR=电站生态流量(水利部) RSVRFSR=水位预警；存储字典值大写，字典项为comm.rule_type';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."RULE_NAME" IS '预警规则名称';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."RULE_CODE" IS '规则编码 global=全局规则 common=通用告警规则 custom=自定义告警规则';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."STCD" IS '自定义规则时，标识规则所属测站';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."IS_SHOW" IS '是否展示告警等级 0=不展示 1=展示，默认不展示';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240611SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_B_240611SP" IS '1预警规则配置基础表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_B_240821SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_B_240821SP";
CREATE TABLE "QGC"."MS_WARN_RULE_B_240821SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "RULE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RULE_CODE" VARCHAR2(20 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 0,
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."ID" IS '主键：单站预警主键建议：预警规则类型_站码';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."RULE_TYPE" IS '预警规则类型：WQLVL=水质预警 EQMN=电站生态流量(环保部) EQMNMWR=电站生态流量(水利部) RSVRFSR=水位预警；存储字典值大写，字典项为comm.rule_type';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."RULE_NAME" IS '预警规则名称';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."RULE_CODE" IS '规则编码 global=全局规则 common=通用告警规则 custom=自定义告警规则';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."STCD" IS '自定义规则时，标识规则所属测站';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."IS_SHOW" IS '是否展示告警等级 0=不展示 1=展示，默认不展示';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240821SP"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_B_240821SP" IS '1预警规则配置基础表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_B_240904SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_B_240904SP";
CREATE TABLE "QGC"."MS_WARN_RULE_B_240904SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "RULE_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "RULE_CODE" VARCHAR2(20 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 0,
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."ID" IS '主键：单站预警主键建议：预警规则类型_站码';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."RULE_TYPE" IS '预警规则类型：WQLVL=水质预警 EQMN=电站生态流量(环保部) EQMNMWR=电站生态流量(水利部) RSVRFSR=水位预警；存储字典值大写，字典项为comm.rule_type';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."RULE_NAME" IS '预警规则名称';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."RULE_CODE" IS '规则编码 global=全局规则 common=通用告警规则 custom=自定义告警规则';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."STCD" IS '自定义规则时，标识规则所属测站';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."IS_SHOW" IS '是否展示告警等级 0=不展示 1=展示，默认不展示';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_B_240904SP"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_B_240904SP" IS '1预警规则配置基础表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_DETAIL_B
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_DETAIL_B";
CREATE TABLE "QGC"."MS_WARN_RULE_DETAIL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "BEGIN_TIME" VARCHAR2(4 BYTE),
  "END_TIME" VARCHAR2(4 BYTE),
  "MIN_VAL" NUMBER(10,5),
  "MAX_VAL" NUMBER(10,5),
  "LVL" NUMBER(1,0),
  "LVL_NOTE" VARCHAR2(20 BYTE),
  "STTY" VARCHAR2(20 BYTE),
  "ALWYRQST" NUMBER(1,0),
  "ELAEQ" NUMBER(1,0),
  "QECSC" NUMBER(9,4),
  "DESCRIPTION" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "FLDCP" NUMBER(9,3),
  "FLDCPMN" NUMBER(9,3),
  "NUM" NUMBER(11,0) DEFAULT NULL,
  "FLAG" VARCHAR2(10 BYTE) DEFAULT NULL,
  "WARN_LEVEL" NUMBER(1,0),
  "MARK" VARCHAR2(20 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."TM" IS '生效时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."BEGIN_TIME" IS '开始月日：格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天，默认为null代表不限制';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."END_TIME" IS '结束月日：生态流量泄放要求的结束日期，格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."MIN_VAL" IS '最小值：生态流量预警业务逻辑不能低于最小值，最大值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."MAX_VAL" IS '最大值：水位预警业务逻辑不能高于最大值，最小值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."LVL" IS '水质等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."LVL_NOTE" IS '水质等级描述：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典描述，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."STTY" IS '水质站类标识：L=湖泊 R=河流 N=通用水质站，水质预警专有；存储字典值大写，字典项为comm.rule_stty';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."ALWYRQST" IS '持续要求：0=否 1=是；是否有上游来水小于生态流量时按实际来水下泄的要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."ELAEQ" IS '环评要求：0=否 1=是；是否有环评要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."QECSC" IS '容差系数：为了考虑流量测量误差引起的结果误判，现要求将生态流量限值*0.9及以上的流量都判定为达标，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."FLDCP" IS '汛限高水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."FLDCPMN" IS '汛限低水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."NUM" IS '连续次数（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."FLAG" IS '数据标记（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."WARN_LEVEL" IS '告警等级 1=一级告警 2=二级告警 3=三级告警';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."MARK" IS '水位标注：当要素是水位时low=低水位 hight=高水位，其他为空';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_DETAIL_B" IS '2预警规则配置详情表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_DETAIL_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP";
CREATE TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "BEGIN_TIME" VARCHAR2(4 BYTE),
  "END_TIME" VARCHAR2(4 BYTE),
  "MIN_VAL" NUMBER(10,5),
  "MAX_VAL" NUMBER(10,5),
  "LVL" NUMBER(1,0),
  "LVL_NOTE" VARCHAR2(20 BYTE),
  "STTY" VARCHAR2(20 BYTE),
  "ALWYRQST" NUMBER(1,0),
  "ELAEQ" NUMBER(1,0),
  "QECSC" NUMBER(9,4),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "FLDCP" NUMBER(9,3),
  "FLDCPMN" NUMBER(9,3),
  "NUM" NUMBER(11,0) DEFAULT NULL,
  "FLAG" VARCHAR2(10 BYTE) DEFAULT NULL,
  "WARN_LEVEL" NUMBER(1,0),
  "MARK" VARCHAR2(20 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."TM" IS '生效时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."BEGIN_TIME" IS '开始月日：格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天，默认为null代表不限制';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."END_TIME" IS '结束月日：生态流量泄放要求的结束日期，格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."MIN_VAL" IS '最小值：生态流量预警业务逻辑不能低于最小值，最大值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."MAX_VAL" IS '最大值：水位预警业务逻辑不能高于最大值，最小值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."LVL" IS '水质等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."LVL_NOTE" IS '水质等级描述：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典描述，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."STTY" IS '水质站类标识：L=湖泊 R=河流 N=通用水质站，水质预警专有；存储字典值大写，字典项为comm.rule_stty';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."ALWYRQST" IS '持续要求：0=否 1=是；是否有上游来水小于生态流量时按实际来水下泄的要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."ELAEQ" IS '环评要求：0=否 1=是；是否有环评要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."QECSC" IS '容差系数：为了考虑流量测量误差引起的结果误判，现要求将生态流量限值*0.9及以上的流量都判定为达标，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."FLDCP" IS '汛限高水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."FLDCPMN" IS '汛限低水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."NUM" IS '连续次数（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."FLAG" IS '数据标记（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."WARN_LEVEL" IS '告警等级 1=一级告警 2=二级告警 3=三级告警';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240611SP"."MARK" IS '水位标注：当要素是水位时low=低水位 hight=高水位，其他为空';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" IS '2预警规则配置详情表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_DETAIL_B_240821SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP";
CREATE TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "BEGIN_TIME" VARCHAR2(4 BYTE),
  "END_TIME" VARCHAR2(4 BYTE),
  "MIN_VAL" NUMBER(10,5),
  "MAX_VAL" NUMBER(10,5),
  "LVL" NUMBER(1,0),
  "LVL_NOTE" VARCHAR2(20 BYTE),
  "STTY" VARCHAR2(20 BYTE),
  "ALWYRQST" NUMBER(1,0),
  "ELAEQ" NUMBER(1,0),
  "QECSC" NUMBER(9,4),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "FLDCP" NUMBER(9,3),
  "FLDCPMN" NUMBER(9,3),
  "NUM" NUMBER(11,0) DEFAULT NULL,
  "FLAG" VARCHAR2(10 BYTE) DEFAULT NULL,
  "WARN_LEVEL" NUMBER(1,0),
  "MARK" VARCHAR2(20 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."TM" IS '生效时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."BEGIN_TIME" IS '开始月日：格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天，默认为null代表不限制';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."END_TIME" IS '结束月日：生态流量泄放要求的结束日期，格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."MIN_VAL" IS '最小值：生态流量预警业务逻辑不能低于最小值，最大值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."MAX_VAL" IS '最大值：水位预警业务逻辑不能高于最大值，最小值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."LVL" IS '水质等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."LVL_NOTE" IS '水质等级描述：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典描述，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."STTY" IS '水质站类标识：L=湖泊 R=河流 N=通用水质站，水质预警专有；存储字典值大写，字典项为comm.rule_stty';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."ALWYRQST" IS '持续要求：0=否 1=是；是否有上游来水小于生态流量时按实际来水下泄的要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."ELAEQ" IS '环评要求：0=否 1=是；是否有环评要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."QECSC" IS '容差系数：为了考虑流量测量误差引起的结果误判，现要求将生态流量限值*0.9及以上的流量都判定为达标，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."FLDCP" IS '汛限高水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."FLDCPMN" IS '汛限低水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."NUM" IS '连续次数（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."FLAG" IS '数据标记（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."WARN_LEVEL" IS '告警等级 1=一级告警 2=二级告警 3=三级告警';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."MARK" IS '水位标注：当要素是水位时low=低水位 hight=高水位，其他为空';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240821SP"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" IS '2预警规则配置详情表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_DETAIL_B_240904SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP";
CREATE TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "BEGIN_TIME" VARCHAR2(4 BYTE),
  "END_TIME" VARCHAR2(4 BYTE),
  "MIN_VAL" NUMBER(10,5),
  "MAX_VAL" NUMBER(10,5),
  "LVL" NUMBER(1,0),
  "LVL_NOTE" VARCHAR2(20 BYTE),
  "STTY" VARCHAR2(20 BYTE),
  "ALWYRQST" NUMBER(1,0),
  "ELAEQ" NUMBER(1,0),
  "QECSC" NUMBER(9,4),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "FLDCP" NUMBER(9,3),
  "FLDCPMN" NUMBER(9,3),
  "NUM" NUMBER(11,0) DEFAULT NULL,
  "FLAG" VARCHAR2(10 BYTE) DEFAULT NULL,
  "WARN_LEVEL" NUMBER(1,0),
  "MARK" VARCHAR2(20 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."TM" IS '生效时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."BEGIN_TIME" IS '开始月日：格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天，默认为null代表不限制';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."END_TIME" IS '结束月日：生态流量泄放要求的结束日期，格式为“MMdd”，其中MM表示月份，dd表示该月中的第几天';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."MIN_VAL" IS '最小值：生态流量预警业务逻辑不能低于最小值，最大值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."MAX_VAL" IS '最大值：水位预警业务逻辑不能高于最大值，最小值可以为空。';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."LVL" IS '水质等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."LVL_NOTE" IS '水质等级描述：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典描述，字典项为comm.wqlvl，水质预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."STTY" IS '水质站类标识：L=湖泊 R=河流 N=通用水质站，水质预警专有；存储字典值大写，字典项为comm.rule_stty';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."ALWYRQST" IS '持续要求：0=否 1=是；是否有上游来水小于生态流量时按实际来水下泄的要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."ELAEQ" IS '环评要求：0=否 1=是；是否有环评要求，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."QECSC" IS '容差系数：为了考虑流量测量误差引起的结果误判，现要求将生态流量限值*0.9及以上的流量都判定为达标，生态流量预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."FLDCP" IS '汛限高水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."FLDCPMN" IS '汛限低水位对应的防洪库容：一般为汛限水位与设计洪水位间的库容。单位10？m3，水位预警专有';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."NUM" IS '连续次数（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."FLAG" IS '数据标记（非常规五要素判断规则）';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."WARN_LEVEL" IS '告警等级 1=一级告警 2=二级告警 3=三级告警';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."MARK" IS '水位标注：当要素是水位时low=低水位 hight=高水位，其他为空';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."VLSR" IS '数据来源：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_DETAIL_B_240904SP"."VLSR_TM" IS '数据来源时间：生态流量限值应在规则详细表填写，因生效时间不同来源也不同';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" IS '2预警规则配置详情表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_STBPRP_B
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_STBPRP_B";
CREATE TABLE "QGC"."MS_WARN_RULE_STBPRP_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_STBPRP_B" IS '3预警规则与测站关联表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_STBPRP_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP";
CREATE TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" IS '3预警规则与测站关联表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_STBPRP_B_240806SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP";
CREATE TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240806SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" IS '3预警规则与测站关联表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_STBPRP_B_240821SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP";
CREATE TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240821SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" IS '3预警规则与测站关联表';

-- ----------------------------
-- Table structure for MS_WARN_RULE_STBPRP_B_240904SP
-- ----------------------------
DROP TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP";
CREATE TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RULE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."RULE_ID" IS '所属预警规则：关联MS_WARN_RULE_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WARN_RULE_STBPRP_B_240904SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" IS '3预警规则与测站关联表';

-- ----------------------------
-- Table structure for MS_WEFISH_T
-- ----------------------------
DROP TABLE "QGC"."MS_WEFISH_T";
CREATE TABLE "QGC"."MS_WEFISH_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "BASEID" VARCHAR2(36 BYTE) NOT NULL,
  "RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(100 BYTE) NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "TM" DATE NOT NULL,
  "YR" NUMBER(4,0) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FNM" NVARCHAR2(200) NOT NULL,
  "FAMILY" VARCHAR2(255 BYTE),
  "GENUS" NVARCHAR2(255),
  "SPECIES" VARCHAR2(255 BYTE),
  "TYPE" NUMBER(1,0),
  "PTYPE" NUMBER(1,0),
  "SPEC_ORIGIN" NUMBER(1,0),
  "TY" NUMBER(1,0),
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."ID" IS '水生生态调查表编号,关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."BASEID" IS '基地编码';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."RVCD" IS '流域编码';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."RSTCD" IS '所属电站编码';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."STCD" IS '水生生态断面编码';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."STNM" IS '水生生态断面名称';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."TM" IS '鱼类调查时间';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FTP" IS '渔获编码';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FNM" IS '鱼类名称';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FAMILY" IS '科,关联SD_FISHDIC_B.FAMILY';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."GENUS" IS '属,关联SD_FISHDIC_B.GENUS';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."SPECIES" IS '种,关联SD_FISHDIC_B.SPECIES';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."TYPE" IS '分类;1=淡水;2=海水,关联SD_FISHDIC_B.TYPE';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."PTYPE" IS '保护类型;1=濒危,2=极危,3=近危,4=易危,5=重点保护,6=无危,关联SD_FISHDIC_B.PTYPE';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."SPEC_ORIGIN" IS '分类:1=本土物种,2=外来物种,关联SD_FISHDIC_B.SPEC_ORIGIN';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."TY" IS '分类:1=外来鱼类,2=本土受威胁鱼类,3=本土无危鱼类';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."PS" IS '早期资源量和种类';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."AVG_FWGT" IS '平均重量';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."AVG_FSZ" IS '平均体长';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."IS_DELETED" IS '是否已删除：0=未删除,1=已删除';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_WEFISH_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."MS_WEFISH_T" IS '水生生态调查业务结果表';

-- ----------------------------
-- Table structure for MS_WFSTEPS_B
-- ----------------------------
DROP TABLE "QGC"."MS_WFSTEPS_B";
CREATE TABLE "QGC"."MS_WFSTEPS_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STEP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TASK_NAME" VARCHAR2(36 BYTE),
  "DISPLAY_NAME" VARCHAR2(36 BYTE),
  "OWNER" VARCHAR2(36 BYTE),
  "RECEIVEAT" DATE,
  "HANDLER" VARCHAR2(36 BYTE),
  "HANDLEAT" DATE,
  "COMMNET" VARCHAR2(100 BYTE),
  "OPERATION_NAME" VARCHAR2(36 BYTE),
  "FORMURL" VARCHAR2(100 BYTE),
  "DRIVETOMIS" VARCHAR2(100 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "BIZ_STATUS" VARCHAR2(20 BYTE),
  "ISREADKNOW" VARCHAR2(20 BYTE),
  "TENANTPROJECT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "IS_TEMPSTORAGE" VARCHAR2(100 BYTE),
  "TASK_DELETED" VARCHAR2(100 BYTE) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "JSONDATA" VARCHAR2(4000 BYTE),
  "LOGIN_NAME" VARCHAR2(100 BYTE),
  "USER_NAME" VARCHAR2(100 BYTE),
  "DEAL_STATUS" VARCHAR2(20 BYTE),
  "STEPS_NAME" VARCHAR2(100 BYTE),
  "OWNER_NAME" VARCHAR2(36 BYTE),
  "OWNER_ACCOUNT" VARCHAR2(36 BYTE),
  "APPLICANT_NAME" VARCHAR2(36 BYTE),
  "APPLICANT_ACCOUNT" VARCHAR2(36 BYTE),
  "STATE" NVARCHAR2(20),
  "PUSH_BODY" VARCHAR2(4000 BYTE),
  "DEAL_BODY" VARCHAR2(4000 BYTE),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."ID" IS '主键Id';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."STEP_ID" IS '流程步骤Id';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."TASK_ID" IS '流程编号';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."TASK_NAME" IS '流程步骤名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DISPLAY_NAME" IS '步骤显示名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."OWNER" IS '所有者,流程任务归属人';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."RECEIVEAT" IS '任务接收时间';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."HANDLER" IS '处理人';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."HANDLEAT" IS '处理时间';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."COMMNET" IS '处理意见';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."OPERATION_NAME" IS '操作名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."FORMURL" IS '表单URL';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DRIVETOMIS" IS '驱动到MIS';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DESCRIPTION" IS '步骤描述';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."BIZ_STATUS" IS '业务状态';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."ISREADKNOW" IS '是否阅知';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."ISOLATE_ID" IS '隔离Id';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."IS_TEMPSTORAGE" IS '暂存数据';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."TASK_DELETED" IS '流程是否已删除：false=未删除 true=已删除';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."PLATFORM_ID" IS '平台id';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."JSONDATA" IS '预存字段';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."LOGIN_NAME" IS '登陆账号';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."USER_NAME" IS '登陆名';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DEAL_STATUS" IS '处理状态, 0:初始;1:待办;2:已办;3:待办同步失败;4:已办同步失败;';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."STEPS_NAME" IS '步骤名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."OWNER_NAME" IS '所有者名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."OWNER_ACCOUNT" IS '所有者账号';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."APPLICANT_NAME" IS '流程发起人名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."APPLICANT_ACCOUNT" IS '流程发起人名称';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."STATE" IS '流程状态';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."PUSH_BODY" IS '发送待办请求实体';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."DEAL_BODY" IS '处理待办请求实体';
COMMENT ON COLUMN "QGC"."MS_WFSTEPS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为COMM.IS_DELETED';
COMMENT ON TABLE "QGC"."MS_WFSTEPS_B" IS '工作流服务转发服务描述表';

-- ----------------------------
-- Table structure for MS_WQCALCULATION_R
-- ----------------------------
DROP TABLE "QGC"."MS_WQCALCULATION_R";
CREATE TABLE "QGC"."MS_WQCALCULATION_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WQGRD" VARCHAR2(16 BYTE),
  "PERIOD" VARCHAR2(16 BYTE),
  "SPSTLC" NUMBER(3,0),
  "WTMP" NUMBER(9,3),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(9,1),
  "CODCR" NUMBER(9,1),
  "BOD5" NUMBER(9,1),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(9,4),
  "ZN" NUMBER(9,4),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(10,0),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(9,0),
  "FE" NUMBER(9,3),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(9,0),
  "CYANO" NUMBER(15,2),
  "NI" NUMBER(9,2),
  "SFDB" NUMBER(1,0),
  "FID" VARCHAR2(36 BYTE),
  "VLSR" VARCHAR2(10 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TOD" NUMBER(8,2),
  "TLI_SUM" NUMBER(10,2),
  "TLI_SUM_LEVEL" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TM" IS '采样时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."WQGRD" IS '水质类别：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."PERIOD" IS '丰平枯时期 1=丰 2=平 3=枯';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."SPSTLC" IS '水平位置 1=左岸1 2=右岸 3=河中';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."DOX" IS '溶解氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CODMN" IS '高锰酸盐指数：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CODCR" IS '化学需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."BOD5" IS '五日生化需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."NH3N" IS '氨氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TP" IS '总磷：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TN" IS '总氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CU" IS '铜：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."ZN" IS '锌：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."F" IS '氟化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."SE" IS '硒：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."ARS" IS '砷：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."HG" IS '汞：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CD" IS '镉：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CR6" IS '铬(六价)：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."PB" IS '铅：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CN" IS '氰化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."VLPH" IS '挥发酚：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."OIL" IS '石油类：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."LAS" IS '阴离子表面活性剂：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."S2" IS '硫化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."FCG" IS '粪大肠菌群：单位：个/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CL" IS '氯化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."SO4" IS '硫酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."NO3" IS '硝氮/硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."THRD" IS '总硬度：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."COND" IS '电导率：单位：μS/cm';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."FE" IS '铁：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."MN" IS '锰：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."AL" IS '铝：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CHLA" IS '叶绿素a：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CLARITY" IS '透明度：单位：m';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."NI" IS '镍 单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."SFDB" IS '是否达标：0=达标 1=不达标';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TLI_SUM" IS '综合营养状态指数';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_R"."TLI_SUM_LEVEL" IS '综合营养状态指数分级';
COMMENT ON TABLE "QGC"."MS_WQCALCULATION_R" IS '水质监测数据表';

-- ----------------------------
-- Table structure for MS_WQCALCULATION_T
-- ----------------------------
DROP TABLE "QGC"."MS_WQCALCULATION_T";
CREATE TABLE "QGC"."MS_WQCALCULATION_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "STTYPE" VARCHAR2(4 BYTE) NOT NULL,
  "SFDB" NUMBER(1,0),
  "DR_MONTH" VARCHAR2(7 BYTE),
  "DR_YEAR" VARCHAR2(4 BYTE),
  "WQ_RATE" NUMBER(5,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WQ_REQUIRE" NUMBER(1,0),
  "WQ_SFDB_HY" NUMBER(9,0),
  "WQ_SFDB_HN" NUMBER(9,0),
  "WQ_SFDB_COUNT" NUMBER(9,0),
  "WQ_SFDB_HO" NUMBER(9,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."STCD" IS '断面';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."TM" IS '时间（日期）';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."TYPE" IS '维度类型：DAY=日 WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典编码，字典项为stats_table_type';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."STTYPE" IS '测站类型(自建、人工、国建)';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."SFDB" IS '达标状态：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."DR_MONTH" IS '时间维度：（月度）例如2023-04';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."DR_YEAR" IS '时间维度：（年度）例如2023';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_RATE" IS '水质达标率';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_REQUIRE" IS '水质目标等级';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_SFDB_HY" IS 'R表水质达标数';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_SFDB_HN" IS 'R表水质不达标数';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_SFDB_COUNT" IS 'R表水质统计数';
COMMENT ON COLUMN "QGC"."MS_WQCALCULATION_T"."WQ_SFDB_HO" IS 'R表水质异常数';
COMMENT ON TABLE "QGC"."MS_WQCALCULATION_T" IS '水质业务计算结果表';

-- ----------------------------
-- Table structure for MS_WQGRD_T
-- ----------------------------
DROP TABLE "QGC"."MS_WQGRD_T";
CREATE TABLE "QGC"."MS_WQGRD_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WQ_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WTMP" NUMBER(1,0),
  "PH" NUMBER(1,0),
  "DOX" NUMBER(1,0),
  "CODMN" NUMBER(1,0),
  "CODCR" NUMBER(1,0),
  "BOD5" NUMBER(1,0),
  "NH3N" NUMBER(1,0),
  "TP" NUMBER(1,0),
  "TN" NUMBER(1,0),
  "CU" NUMBER(1,0),
  "ZN" NUMBER(1,0),
  "F" NUMBER(1,0),
  "SE" NUMBER(1,0),
  "ARS" NUMBER(1,0),
  "HG" NUMBER(1,0),
  "CD" NUMBER(1,0),
  "CR6" NUMBER(1,0),
  "PB" NUMBER(1,0),
  "CN" NUMBER(1,0),
  "VLPH" NUMBER(1,0),
  "OIL" NUMBER(1,0),
  "LAS" NUMBER(1,0),
  "S2" NUMBER(1,0),
  "FCG" NUMBER(1,0),
  "CL" NUMBER(1,0),
  "SO4" NUMBER(1,0),
  "NO3" NUMBER(1,0),
  "THRD" NUMBER(1,0),
  "COND" NUMBER(1,0),
  "FE" NUMBER(1,0),
  "MN" NUMBER(1,0),
  "AL" NUMBER(1,0),
  "CHLA" NUMBER(1,0),
  "CLARITY" NUMBER(1,0),
  "TU" NUMBER(1,0),
  "CYANO" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."WQ_ID" IS '所属水质监测数据表：关联SD_WQ_R.ID';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."STCD" IS '水质站码';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."TM" IS '采样时间';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."WTMP" IS '水温等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."PH" IS 'PH等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."DOX" IS '溶解氧等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CODMN" IS '高锰酸盐指数等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CODCR" IS '化学需氧量等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."BOD5" IS '五日生化需氧量BODS等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."NH3N" IS '氨氮等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."TP" IS '总磷等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."TN" IS '总氮等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CU" IS '铜等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."ZN" IS '锌等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."F" IS '氟化物等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."SE" IS '硒等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."ARS" IS '砷等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."HG" IS '汞等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CD" IS '镉等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CR6" IS '铬(六价)等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."PB" IS '铅等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CN" IS '氰化物等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."VLPH" IS '挥发酚等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."OIL" IS '石油类等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."LAS" IS '阴离子表面活性剂等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."S2" IS '硫化物等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."FCG" IS '粪大肠菌群等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CL" IS '氯化物等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."SO4" IS '硫酸盐等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."NO3" IS '硝氮/硝酸盐氮等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."THRD" IS '总硬度等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."COND" IS '电导率等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."FE" IS '铁等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."MN" IS '锰等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."AL" IS '铝等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CHLA" IS '叶绿素a等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CLARITY" IS '透明度等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."TU" IS '浊度等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."CYANO" IS '蓝绿藻等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WQGRD_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."MS_WQGRD_T" IS '水质监测数据各要素等级业务结果表';

-- ----------------------------
-- Table structure for MS_WQS_T
-- ----------------------------
DROP TABLE "QGC"."MS_WQS_T";
CREATE TABLE "QGC"."MS_WQS_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "YS" VARCHAR2(10 BYTE) NOT NULL,
  "WQ_SFDB_HY" NUMBER(9,0),
  "WQ_SFDB_HN" NUMBER(9,0),
  "WQ_SFDB_COUNT" NUMBER(9,0),
  "WQ_SFDB_HO" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WQ_RATE" NUMBER(9,2)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQS_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."TYPE" IS '维度类型：DAY=日 WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典编码，字典项为stats_table_type';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."YS" IS '水质要素类型：PH、DOX等';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."WQ_SFDB_HY" IS 'R表水质要素达标数';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."WQ_SFDB_HN" IS 'R表水质要素不达标数';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."WQ_SFDB_COUNT" IS 'R表水质要素总数';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."WQ_SFDB_HO" IS 'R表水质要素异常数';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_WQS_T"."WQ_RATE" IS '水质要素达标率';
COMMENT ON TABLE "QGC"."MS_WQS_T" IS '水质监测要素达标统计表';

-- ----------------------------
-- Table structure for MS_WQ_T
-- ----------------------------
DROP TABLE "QGC"."MS_WQ_T";
CREATE TABLE "QGC"."MS_WQ_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "STTYPE" VARCHAR2(4 BYTE) NOT NULL,
  "SFDB" NUMBER(1,0),
  "DR_MONTH" VARCHAR2(7 BYTE),
  "DR_YEAR" VARCHAR2(4 BYTE),
  "WQ_RATE" NUMBER(5,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WQ_REQUIRE" NUMBER(1,0),
  "WQ_SFDB_HY" NUMBER(9,0),
  "WQ_SFDB_HN" NUMBER(9,0),
  "WQ_SFDB_COUNT" NUMBER(9,0),
  "WQ_SFDB_HO" NUMBER(9,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQ_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."STCD" IS '断面';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."TM" IS '时间（日期）';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."TYPE" IS '维度类型：DAY=日 WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典编码，字典项为stats_table_type';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."STTYPE" IS '测站类型(自建、人工、国建)';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."SFDB" IS '达标状态：0=否 1=是';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."DR_MONTH" IS '时间维度：（月度）例如2023-04';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."DR_YEAR" IS '时间维度：（年度）例如2023';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_RATE" IS '水质达标率';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_REQUIRE" IS '水质目标等级';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_SFDB_HY" IS 'R表水质达标数';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_SFDB_HN" IS 'R表水质不达标数';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_SFDB_COUNT" IS 'R表水质统计数';
COMMENT ON COLUMN "QGC"."MS_WQ_T"."WQ_SFDB_HO" IS 'R表水质异常数';
COMMENT ON TABLE "QGC"."MS_WQ_T" IS '水质业务结果表';

-- ----------------------------
-- Table structure for MS_WQ_YS_B
-- ----------------------------
DROP TABLE "QGC"."MS_WQ_YS_B";
CREATE TABLE "QGC"."MS_WQ_YS_B" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(128 BYTE),
  "YS" VARCHAR2(255 BYTE),
  "IS_DEFAULT" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."YS" IS '要素';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."IS_DEFAULT" IS '是否默认数据';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."RECORD_USER" IS '创建用户';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."MODIFY_USER" IS '更新人';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."IS_DELETED" IS '是否已删除';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."DELETE_USER" IS '删除用户';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WQ_YS_B"."ISOLATE_ID" IS '租户id';
COMMENT ON TABLE "QGC"."MS_WQ_YS_B" IS '用户计算要素记录表';

-- ----------------------------
-- Table structure for MS_WTRVENGHOUR_T
-- ----------------------------
DROP TABLE "QGC"."MS_WTRVENGHOUR_T";
CREATE TABLE "QGC"."MS_WTRVENGHOUR_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE,
  "WT" NUMBER(7,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."STCD" IS '对象编码(关联 MS_STBPRP_T.STCD)';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."WT" IS '温度(℃)';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."MS_WTRVENGHOUR_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."MS_WTRVENGHOUR_T" IS '电站水温小时统计表(2026.3.24新建)';

-- ----------------------------
-- Table structure for SD_AICOM_R
-- ----------------------------
DROP TABLE "QGC"."SD_AICOM_R";
CREATE TABLE "QGC"."SD_AICOM_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(18 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "AI_VAL" VARCHAR2(20 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(3000 BYTE),
  "IS_FSF" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_BIG_DEBRIS_AREA" NUMBER(1,0),
  "IS_CLEAR_DRIFT" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."TYPE" IS '类型：AI_5001=漂浮物 AI_5002=运鱼车运行 AI_5003=运鱼船出港 AI_5004=集鱼船集鱼 AI_5005=叠梁门运行 AI_5006=赶鱼栅运行 AI_5007=升鱼机运行 AI_5008=AGV小车 AI_5009=鱼类暂养 AI_5010=坝上升鱼机 AI_5011=漂浮物清理 AI_5012=鱼道放流';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."TM" IS '数据时间：AI_5001=漂浮物出现的时间 AI_5002=运鱼车开始运鱼时间 AI_5003=运鱼船出港开始放鱼的时间 AI_5004=集鱼船开始集鱼的时间 AI_5005=叠梁门开始运行时间 AI_5006=赶鱼栅运行时间 AI_5007=升鱼机运行时间 AI_5008=AGV小车开始运鱼的时间 AI_5009=检测到死亡鱼类的时间 AI_5010=坝上升鱼机开始运行时间 AI_5011=清漂船开始清理漂浮物的时间 AI_5012=鱼道放流开始时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."END_TM" IS '数据结束时间：类型AI_5005=叠梁门结束运行时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."AI_VAL" IS 'AI识别数据值：类型AI_5001=漂浮物面积(平方米) 类型AI_5005=叠梁门开闭状态(open=打开 close=关闭) 类型AI_5009=死亡鱼类数量(条)';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."IS_FSF" IS '是否填报：0=待填报 1=已填报';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."IS_BIG_DEBRIS_AREA" IS '是否为大面积漂浮物';
COMMENT ON COLUMN "QGC"."SD_AICOM_R"."IS_CLEAR_DRIFT" IS '是否已清漂';
COMMENT ON TABLE "QGC"."SD_AICOM_R" IS 'ai常规业务表';

-- ----------------------------
-- Table structure for SD_AICOM_R_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_AICOM_R_240611SP";
CREATE TABLE "QGC"."SD_AICOM_R_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(18 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "AI_VAL" VARCHAR2(20 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "IS_FSF" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "IS_BIG_DEBRIS_AREA" NUMBER(1,0),
  "IS_CLEAR_DRIFT" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."TYPE" IS '类型：AI_5001=漂浮物 AI_5002=运鱼车运行 AI_5003=运鱼船出港 AI_5004=集鱼船集鱼 AI_5005=叠梁门运行 AI_5006=赶鱼栅运行 AI_5007=升鱼机运行 AI_5008=AGV小车 AI_5009=鱼类暂养 AI_5010=坝上升鱼机 AI_5011=漂浮物清理 AI_5012=鱼道放流';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."TM" IS '数据时间：AI_5001=漂浮物出现的时间 AI_5002=运鱼车开始运鱼时间 AI_5003=运鱼船出港开始放鱼的时间 AI_5004=集鱼船开始集鱼的时间 AI_5005=叠梁门开始运行时间 AI_5006=赶鱼栅运行时间 AI_5007=升鱼机运行时间 AI_5008=AGV小车开始运鱼的时间 AI_5009=检测到死亡鱼类的时间 AI_5010=坝上升鱼机开始运行时间 AI_5011=清漂船开始清理漂浮物的时间 AI_5012=鱼道放流开始时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."END_TM" IS '数据结束时间：类型AI_5005=叠梁门结束运行时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."AI_VAL" IS 'AI识别数据值：类型AI_5001=漂浮物面积(平方米) 类型AI_5005=叠梁门开闭状态(open=打开 close=关闭) 类型AI_5009=死亡鱼类数量(条)';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."IS_FSF" IS '是否填报：0=待填报 1=已填报';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."IS_BIG_DEBRIS_AREA" IS '是否为大面积漂浮物';
COMMENT ON COLUMN "QGC"."SD_AICOM_R_240611SP"."IS_CLEAR_DRIFT" IS '是否已清漂';
COMMENT ON TABLE "QGC"."SD_AICOM_R_240611SP" IS 'ai常规业务表';

-- ----------------------------
-- Table structure for SD_AIHEARTBEAT_R
-- ----------------------------
DROP TABLE "QGC"."SD_AIHEARTBEAT_R";
CREATE TABLE "QGC"."SD_AIHEARTBEAT_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."TM" IS '心跳时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."END_TM" IS '数据结束时间：预留字段';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIHEARTBEAT_R" IS 'ai设备心跳表';

-- ----------------------------
-- Table structure for SD_AIHEARTBEAT_R_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP";
CREATE TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."TM" IS '心跳时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."END_TM" IS '数据结束时间：预留字段';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIHEARTBEAT_R_240611SP"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" IS 'ai设备心跳表';

-- ----------------------------
-- Table structure for SD_AIQEC_R
-- ----------------------------
DROP TABLE "QGC"."SD_AIQEC_R";
CREATE TABLE "QGC"."SD_AIQEC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "QEC" NUMBER(11,4),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."QEC" IS 'AI识别生态流量值：单位(立方米/秒)';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIQEC_R" IS 'ai生态流量表';

-- ----------------------------
-- Table structure for SD_AIQEC_R_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_AIQEC_R_240611SP";
CREATE TABLE "QGC"."SD_AIQEC_R_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "QEC" NUMBER(11,4),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."QEC" IS 'AI识别生态流量值：单位(立方米/秒)';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIQEC_R_240611SP"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIQEC_R_240611SP" IS 'ai生态流量表';

-- ----------------------------
-- Table structure for SD_AIVPGRAZE_R
-- ----------------------------
DROP TABLE "QGC"."SD_AIVPGRAZE_R";
CREATE TABLE "QGC"."SD_AIVPGRAZE_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(18 BYTE),
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "RECOMMENDED_PERSON_NUM" NUMBER(6,0),
  "MIN_PERSON_NUM" NUMBER(6,0),
  "MAX_PERSON_NUM" NUMBER(6,0),
  "RECOMMENDED_ANIMAL_NUM" NUMBER(6,0),
  "MIN_ANIMAL_NUM" NUMBER(6,0),
  "MAX_ANIMAL_NUM" NUMBER(6,0),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."TYPE" IS '类型：AI_0001=只检测到人 AI_0002=只检测到动物 AI_0003=检测到人和动物';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."TM" IS '检测放牧开始录制时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."END_TM" IS '数据结束时间：预留字段';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."RECOMMENDED_PERSON_NUM" IS '推荐检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MIN_PERSON_NUM" IS '最小检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MAX_PERSON_NUM" IS '最大检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."RECOMMENDED_ANIMAL_NUM" IS '推荐检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MIN_ANIMAL_NUM" IS '最小检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MAX_ANIMAL_NUM" IS '最大检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIVPGRAZE_R" IS 'ai植物园放牧监测表';

-- ----------------------------
-- Table structure for SD_AIVPGRAZE_R_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_AIVPGRAZE_R_240611SP";
CREATE TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TYPE" VARCHAR2(18 BYTE),
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "RECOMMENDED_PERSON_NUM" NUMBER(6,0),
  "MIN_PERSON_NUM" NUMBER(6,0),
  "MAX_PERSON_NUM" NUMBER(6,0),
  "RECOMMENDED_ANIMAL_NUM" NUMBER(6,0),
  "MIN_ANIMAL_NUM" NUMBER(6,0),
  "MAX_ANIMAL_NUM" NUMBER(6,0),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."TYPE" IS '类型：AI_0001=只检测到人 AI_0002=只检测到动物 AI_0003=检测到人和动物';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."TM" IS '检测放牧开始录制时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."END_TM" IS '数据结束时间：预留字段';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."RECOMMENDED_PERSON_NUM" IS '推荐检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MIN_PERSON_NUM" IS '最小检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MAX_PERSON_NUM" IS '最大检测人数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."RECOMMENDED_ANIMAL_NUM" IS '推荐检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MIN_ANIMAL_NUM" IS '最小检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MAX_ANIMAL_NUM" IS '最大检测动物数';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIVPGRAZE_R_240611SP"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" IS 'ai植物园放牧监测表';

-- ----------------------------
-- Table structure for SD_AIVPWATER_R
-- ----------------------------
DROP TABLE "QGC"."SD_AIVPWATER_R";
CREATE TABLE "QGC"."SD_AIVPWATER_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."TM" IS '录制开始时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."END_TM" IS '录制结束时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIVPWATER_R" IS 'ai植物园浇水监测表';

-- ----------------------------
-- Table structure for SD_AIVPWATER_R_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_AIVPWATER_R_240611SP";
CREATE TABLE "QGC"."SD_AIVPWATER_R_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "END_TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."TM" IS '录制开始时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."END_TM" IS '录制结束时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_AIVPWATER_R_240611SP"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_AIVPWATER_R_240611SP" IS 'ai植物园浇水监测表';

-- ----------------------------
-- Table structure for SD_ARTSG_R
-- ----------------------------
DROP TABLE "QGC"."SD_ARTSG_R";
CREATE TABLE "QGC"."SD_ARTSG_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "SUM" NUMBER(10,4),
  "SOURCE" VARCHAR2(32 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."STCD" IS '所属人工产卵场站码，关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."TM" IS '时间，精确到秒';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."SUM" IS '数量';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."SOURCE" IS '来源';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ARTSG_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_ARTSG_R" IS '人工产卵场运行数据表';

-- ----------------------------
-- Table structure for SD_CHGWARNING_R
-- ----------------------------
DROP TABLE "QGC"."SD_CHGWARNING_R";
CREATE TABLE "QGC"."SD_CHGWARNING_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STAGE" VARCHAR2(10 BYTE),
  "MESSAGENAME" VARCHAR2(200 BYTE),
  "CONTRASTPHASE" VARCHAR2(32 BYTE),
  "CURRENTSTAGE" VARCHAR2(32 BYTE),
  "PHASEVALUE" VARCHAR2(128 BYTE),
  "STAGEVALUE" VARCHAR2(50 BYTE),
  "CURRENTSTAGEKEY" VARCHAR2(32 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."STCD" IS '工程stcd';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."STAGE" IS '阶段类型';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."MESSAGENAME" IS '异常类型名称';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."CONTRASTPHASE" IS '对比阶段';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."CURRENTSTAGE" IS '当前阶段';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."PHASEVALUE" IS '对比阶段数值';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."STAGEVALUE" IS '当前阶段数值';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_CHGWARNING_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."SD_CHGWARNING_R" IS '重大变动事前事中事后预警表';

-- ----------------------------
-- Table structure for SD_CONSTGP_B
-- ----------------------------
DROP TABLE "QGC"."SD_CONSTGP_B";
CREATE TABLE "QGC"."SD_CONSTGP_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "PROGRESS" NUMBER(5,2) NOT NULL,
  "REMARK" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."TM" IS '进度更新时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."PROGRESS" IS '建设进度：单位：%';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."FID" IS '附件ID：关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_CONSTGP_B" IS '测站/设施建设进度表';

-- ----------------------------
-- Table structure for SD_CONSTGP_B_240619SP
-- ----------------------------
DROP TABLE "QGC"."SD_CONSTGP_B_240619SP";
CREATE TABLE "QGC"."SD_CONSTGP_B_240619SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "PROGRESS" NUMBER(5,2) NOT NULL,
  "REMARK" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."TM" IS '进度更新时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."PROGRESS" IS '建设进度：单位：%';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."FID" IS '附件ID：关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_CONSTGP_B_240619SP"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_CONSTGP_B_240619SP" IS '测站/设施建设进度表';

-- ----------------------------
-- Table structure for SD_DELSS_S
-- ----------------------------
DROP TABLE "QGC"."SD_DELSS_S";
CREATE TABLE "QGC"."SD_DELSS_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WIN" NUMBER(12,4),
  "WLTOTL" NUMBER(12,4),
  "WGE" NUMBER(12,4),
  "WLSS" NUMBER(12,4),
  "GE" NUMBER(12,4),
  "ELSS" NUMBER(12,4),
  "EEXTR" NUMBER(12,4),
  "ELCAL" NUMBER(12,4),
  "ELRPTD" NUMBER(12,4),
  "LOCKED" NUMBER(1,0) DEFAULT 0,
  "QI" NUMBER(9,3),
  "RZ" NUMBER(7,3),
  "W" NUMBER(8,4),
  "DZ" NUMBER(7,3),
  "QO" NUMBER(9,3),
  "QN" NUMBER(9,3),
  "QGT" NUMBER(9,3),
  "QEC" NUMBER(9,3),
  "QC" NUMBER(9,3),
  "NA" NUMBER(9,4),
  "QRV" NUMBER(9,3),
  "QR" NUMBER(9,3),
  "WR" NUMBER(9,2),
  "SFDB" NUMBER(1,0),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" NUMBER(9,0),
  "EARLY_W" NUMBER(8,4),
  "END_W" NUMBER(8,4),
  "EARLY_RZ" NUMBER(7,3),
  "END_RZ" NUMBER(7,3),
  "WINC" NUMBER(12,4),
  "WOUT" NUMBER(12,4),
  "QIC" NUMBER(12,4),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."TM" IS '日期：数据时间精确到天，yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WIN" IS '来水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WLTOTL" IS '总弃水水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WGE" IS '发电水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WLSS" IS '不合理弃水水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."GE" IS '发电量：求和统计。单位：万KW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."ELSS" IS '泄洪弃水电量。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."EEXTR" IS '距离预想出力还可发电量。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."ELCAL" IS '弃水电量_计算。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."ELRPTD" IS '弃水电量_上报。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."LOCKED" IS '状态：0=未锁定 1=锁定';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QI" IS '入库流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."RZ" IS '坝上水位：平均值统计。单位：m';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."W" IS '蓄水量：平均值统计。单位：108m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."DZ" IS '坝下水位：平均值统计。单位：m';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QO" IS '出库流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QN" IS '发电流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QGT" IS '泄流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QEC" IS '生态流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QC" IS '灌溉流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."NA" IS '平均出力：平均值统计。单位：MW';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QRV" IS '下游河道流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QR" IS '区间流量：平均值统计。';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WR" IS '耗水率：发电水量相加/发电量相加。单位：m3/kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."SFDB" IS '生态流量是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."SFDB_HY" IS 'R表生态流量达标数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."SFDB_HN" IS 'R表生态流量未达标数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."SFDB_HO" IS 'R表生态流量异常数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."EARLY_W" IS '时段初蓄水量';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."END_W" IS '时段末蓄水量';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."EARLY_RZ" IS '时段初坝上水位';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."END_RZ" IS '时段末坝上水位';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WINC" IS '平衡入库水量-计算。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."WOUT" IS '出库水量-计算。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."QIC" IS '平衡入库流量-计算。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_DELSS_S" IS '电站日弃水电量数据表';

-- ----------------------------
-- Table structure for SD_DELSS_S_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_DELSS_S_240611SP";
CREATE TABLE "QGC"."SD_DELSS_S_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WIN" NUMBER(12,4),
  "WLTOTL" NUMBER(12,4),
  "WGE" NUMBER(12,4),
  "WLSS" NUMBER(12,4),
  "GE" NUMBER(12,4),
  "ELSS" NUMBER(12,4),
  "EEXTR" NUMBER(12,4),
  "ELCAL" NUMBER(12,4),
  "ELRPTD" NUMBER(12,4),
  "LOCKED" NUMBER(1,0) DEFAULT 0,
  "QI" NUMBER(9,3),
  "RZ" NUMBER(7,3),
  "W" NUMBER(8,4),
  "DZ" NUMBER(7,3),
  "QO" NUMBER(9,3),
  "QN" NUMBER(9,3),
  "QGT" NUMBER(9,3),
  "QEC" NUMBER(9,3),
  "QC" NUMBER(9,3),
  "NA" NUMBER(9,4),
  "QRV" NUMBER(9,3),
  "QR" NUMBER(9,3),
  "WR" NUMBER(9,2),
  "SFDB" NUMBER(1,0),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" NUMBER(9,0),
  "EARLY_W" NUMBER(8,4),
  "END_W" NUMBER(8,4),
  "EARLY_RZ" NUMBER(7,3),
  "END_RZ" NUMBER(7,3),
  "WINC" NUMBER(12,4),
  "WOUT" NUMBER(12,4),
  "QIC" NUMBER(12,4),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."TM" IS '日期：数据时间精确到天，yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WIN" IS '来水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WLTOTL" IS '总弃水水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WGE" IS '发电水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WLSS" IS '不合理弃水水量。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."GE" IS '发电量：求和统计。单位：万KW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."ELSS" IS '泄洪弃水电量。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."EEXTR" IS '距离预想出力还可发电量。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."ELCAL" IS '弃水电量_计算。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."ELRPTD" IS '弃水电量_上报。单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."LOCKED" IS '状态 ext{"enum":"0=未锁定&1=锁定"}';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QI" IS '入库流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."RZ" IS '坝上水位：平均值统计。单位：m';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."W" IS '蓄水量：平均值统计。单位：108m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."DZ" IS '坝下水位：平均值统计。单位：m';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QO" IS '出库流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QN" IS '发电流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QGT" IS '泄流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QEC" IS '生态流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QC" IS '灌溉流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."NA" IS '平均出力：平均值统计。单位：MW';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QRV" IS '下游河道流量：平均值统计。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QR" IS '区间流量：平均值统计。';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WR" IS '耗水率：发电水量相加/发电量相加。单位：m3/kW*h';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."SFDB" IS '生态流量是否达标：ext{"enum":"0=不达标&1=达标"}';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."SFDB_HY" IS 'R表生态流量达标数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."SFDB_HN" IS 'R表生态流量未达标数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."SFDB_HO" IS 'R表生态流量异常数：求和统计';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."EARLY_W" IS '时段初蓄水量';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."END_W" IS '时段末蓄水量';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."EARLY_RZ" IS '时段初坝上水位';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."END_RZ" IS '时段末坝上水位';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WINC" IS '平衡入库水量-计算。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."WOUT" IS '出库水量-计算。单位：104m3';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."QIC" IS '平衡入库流量-计算。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DELSS_S_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_DELSS_S_240611SP" IS '电站日弃水电量数据表';

-- ----------------------------
-- Table structure for SD_DWDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_DWDAY_S";
CREATE TABLE "QGC"."SD_DWDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "Z" NUMBER(15,3),
  "TKHG" NUMBER(15,3),
  "TKWT" NUMBER(15,3),
  "Z_MN" NUMBER(7,3),
  "Z_MNTM" TIMESTAMP(6),
  "Z_MX" NUMBER(7,3),
  "Z_MXTM" TIMESTAMP(6),
  "TKHG_MN" NUMBER(7,3),
  "TKHG_MNTM" TIMESTAMP(6),
  "TKHG_MX" NUMBER(7,3),
  "TKHG_MXTM" TIMESTAMP(6),
  "TKWT_MN" NUMBER(7,3),
  "TKWT_MNTM" TIMESTAMP(6),
  "TKWT_MX" NUMBER(7,3),
  "TKWT_MXTM" TIMESTAMP(6),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."DT" IS '日期。精确到天，格式：yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."Z" IS '当前水位';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKHG" IS '取水高程';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKWT" IS '取水水温 ℃';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."Z_MN" IS '最小当前水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."Z_MNTM" IS '最小当前水位时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."Z_MX" IS '最大当前水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."Z_MXTM" IS '最大当前水位时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKHG_MN" IS '最小取水高程。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKHG_MNTM" IS '最小取水高程时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKHG_MX" IS '最大取水高程。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKHG_MXTM" IS '最大取水高程时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKWT_MN" IS '最小取水水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKWT_MNTM" IS '最小取水水温时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKWT_MX" IS '最大取水水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."TKWT_MXTM" IS '最大取水水温时间。';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_DWDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_DWDAY_S" IS '低温水减缓设施运行数据天统计表';

-- ----------------------------
-- Table structure for SD_DWDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_DWDRTP_S";
CREATE TABLE "QGC"."SD_DWDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "Z" NUMBER(15,3),
  "TKHG" NUMBER(15,3),
  "TKWT" NUMBER(15,3),
  "Z_MN" NUMBER(7,3),
  "Z_MNTM" TIMESTAMP(6),
  "Z_MX" NUMBER(7,3),
  "Z_MXTM" TIMESTAMP(6),
  "TKHG_MN" NUMBER(7,3),
  "TKHG_MNTM" TIMESTAMP(6),
  "TKHG_MX" NUMBER(7,3),
  "TKHG_MXTM" TIMESTAMP(6),
  "TKWT_MN" NUMBER(7,3),
  "TKWT_MNTM" TIMESTAMP(6),
  "TKWT_MX" NUMBER(7,3),
  "TKWT_MXTM" TIMESTAMP(6),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."Z" IS '当前水位';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKHG" IS '取水高程';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKWT" IS '取水水温 ℃';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."Z_MN" IS '最小当前水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."Z_MNTM" IS '最小当前水位时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."Z_MX" IS '最大当前水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."Z_MXTM" IS '最大当前水位时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKHG_MN" IS '最小取水高程。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKHG_MNTM" IS '最小取水高程时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKHG_MX" IS '最大取水高程。单位：m';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKHG_MXTM" IS '最大取水高程时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKWT_MN" IS '最小取水水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKWT_MNTM" IS '最小取水水温时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKWT_MX" IS '最大取水水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TKWT_MXTM" IS '最大取水水温时间。';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_DWDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_DWDRTP_S" IS '低温水减缓设施运行数据维度统计表';

-- ----------------------------
-- Table structure for SD_DWPLAN_R
-- ----------------------------
DROP TABLE "QGC"."SD_DWPLAN_R";
CREATE TABLE "QGC"."SD_DWPLAN_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "START_TIME" DATE,
  "END_TIME" DATE,
  "RCNT" NUMBER(8,0),
  "DESCRIPTION" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."START_TIME" IS '规定运行开始日期';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."END_TIME" IS '规定运行结束日期';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."RCNT" IS '规定运行次数';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_DWPLAN_R"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_DWPLAN_R" IS '叠梁门运行计划表';

-- ----------------------------
-- Table structure for SD_DW_R
-- ----------------------------
DROP TABLE "QGC"."SD_DW_R";
CREATE TABLE "QGC"."SD_DW_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE DEFAULT SYSDATE NOT NULL,
  "LNO" VARCHAR2(20 BYTE),
  "OP" VARCHAR2(5 BYTE),
  "TKHG" NUMBER(7,3),
  "Z" NUMBER(7,3),
  "TKWT" NUMBER(7,3),
  "FID" VARCHAR2(1000 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_DW_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_DW_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_DW_R"."LNO" IS '叠梁门编号';
COMMENT ON COLUMN "QGC"."SD_DW_R"."OP" IS '操作';
COMMENT ON COLUMN "QGC"."SD_DW_R"."TKHG" IS '取水高程';
COMMENT ON COLUMN "QGC"."SD_DW_R"."Z" IS '当前水位';
COMMENT ON COLUMN "QGC"."SD_DW_R"."TKWT" IS '取水水温 ℃';
COMMENT ON COLUMN "QGC"."SD_DW_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."SFDB" IS '是否规范运行：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_DW_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_DW_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_DW_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_DW_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_DW_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_DW_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_DW_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_DW_R" IS '低温水减缓设施运行数据表';

-- ----------------------------
-- Table structure for SD_EARTHQUAKESMS_R
-- ----------------------------
DROP TABLE "QGC"."SD_EARTHQUAKESMS_R";
CREATE TABLE "QGC"."SD_EARTHQUAKESMS_R" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE,
  "NAME" VARCHAR2(500 BYTE),
  "STCDS" VARCHAR2(4000 BYTE),
  "USERS" VARCHAR2(4000 BYTE),
  "IS_SEND" NUMBER(1,0) DEFAULT 0,
  "SMS_ID" VARCHAR2(100 BYTE),
  "ERROR" VARCHAR2(800 BYTE),
  "UPDATE_TIME" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."ID" IS '所属地震：关联SD_EARTHQUAKE_R.ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."TM" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."NAME" IS '地震名称：将地震发生的时刻，地震震中心的参考位置，地震的震级，地震的震级拼装成短信内容';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."STCDS" IS '站点STCD集合：以“,”分割';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."USERS" IS '用户集合：以“,”分割';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."IS_SEND" IS '是否发送短信：0=未发送 1=已发送 2=根据业务逻辑未接入电站，跳过发送短信';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."SMS_ID" IS '短信供应商返回唯一标识';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."ERROR" IS '短信发送错误信息';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKESMS_R"."UPDATE_TIME" IS '更新时间';
COMMENT ON TABLE "QGC"."SD_EARTHQUAKESMS_R" IS '地震监测数据短信记录表';

-- ----------------------------
-- Table structure for SD_EARTHQUAKE_R
-- ----------------------------
DROP TABLE "QGC"."SD_EARTHQUAKE_R";
CREATE TABLE "QGC"."SD_EARTHQUAKE_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE,
  "GRADE" NUMBER(3,1),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "FCLDPTH" NUMBER(4,0),
  "RFLC" VARCHAR2(200 BYTE),
  "IS_SEND" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."ID" IS '编号：将地震发生的时刻，地震的震级，地震震中心的经度，地震震中心的纬度，地震震中心的深度，地震震中心的参考位置md5';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."TM" IS '地震发生的时刻';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."GRADE" IS '地震的震级';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."LGTD" IS '地震震中心的经度：单位：℃';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."LTTD" IS '地震震中心的纬度：单位：℃';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."FCLDPTH" IS '地震震中心的深度：单位：m';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."RFLC" IS '地震震中心的参考位置';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."IS_SEND" IS '是否发送短信 ：0=未发送 1=已发送';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_EARTHQUAKE_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_EARTHQUAKE_R" IS '地震监测数据表';

-- ----------------------------
-- Table structure for SD_ECOEPIRTLDET_R
-- ----------------------------
DROP TABLE "QGC"."SD_ECOEPIRTLDET_R";
CREATE TABLE "QGC"."SD_ECOEPIRTLDET_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT 'SYS_GUID()' NOT NULL,
  "ECOEPIRTL_R_ID" VARCHAR2(36 BYTE),
  "CHECK_CATEGORY" VARCHAR2(255 BYTE),
  "CHECK_ITEM" VARCHAR2(255 BYTE),
  "CONTENT_ORDER" NUMBER(3,0),
  "CHECK_CONTENT" VARCHAR2(3000 BYTE),
  "CHECK_RESULT" NUMBER(3,0),
  "PROBLEM_DES" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."ECOEPIRTL_R_ID" IS '生态环境排查整治100项工作清单填报主表编码';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."CONTENT_ORDER" IS '序号';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."CHECK_RESULT" IS '检查结果';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."PROBLEM_DES" IS '问题描述';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为COMM.IS_DELETED';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTLDET_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."SD_ECOEPIRTLDET_R" IS '生态环境排查整治100项工作清单填报明细表';

-- ----------------------------
-- Table structure for SD_ECOEPIRTL_R
-- ----------------------------
DROP TABLE "QGC"."SD_ECOEPIRTL_R";
CREATE TABLE "QGC"."SD_ECOEPIRTL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT 'SYS_GUID()' NOT NULL,
  "COMPANY" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0),
  "FPY" NUMBER(5,2),
  "QUALIFIED_NUM" NUMBER(3,0),
  "FAIL_NUM" NUMBER(3,0),
  "FID" VARCHAR2(3000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" TIMESTAMP(6),
  "DESCRIPTION" VARCHAR2(1000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."COMPANY" IS '二级单位';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."YEAR" IS '年份';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."FPY" IS '合格率';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."QUALIFIED_NUM" IS '合格数量';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."FAIL_NUM" IS '不合格数量';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为COMM.IS_DELETED';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."TM" IS '添加时间';
COMMENT ON COLUMN "QGC"."SD_ECOEPIRTL_R"."DESCRIPTION" IS '描述';
COMMENT ON TABLE "QGC"."SD_ECOEPIRTL_R" IS '生态环境保护排查整治100项工作清单填报表';

-- ----------------------------
-- Table structure for SD_ENGCONSTGENVF_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGCONSTGENVF_B";
CREATE TABLE "QGC"."SD_ENGCONSTGENVF_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CNENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "CMPLTIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "ABNORMAL" NUMBER(1,0),
  "IMPMEASURES" VARCHAR2(2000 BYTE),
  "ENVTYPE" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."CNENVFTP" IS '类型：1=施工期生态流量保障措施 2=珍稀保护植物移栽 3=砂石料加工系统废水处理 4=混凝土拌合系统废水处理 5=机修系统污水处理 6=地下硐室废水处理 7=生活污水处理 8=砂石料加工系统除尘 9=混凝土拌合系统除尘 10=燃油废弃削减 11=交通扬尘降尘 12=低噪声路面 13=限速标志 14=隔声罩 15=声屏障 16=降噪林 17=隔声窗 18=爆破噪声控制 19=生活垃圾处理 20=施工弃渣处理 21=环境风险措施 22=人群健康保护 23=文物保护 24=地表水监测 25=地下水监测 26=生产废水监测 27=生活污水监测 28=施工区环境空气监测 29=敏感点环境空气监测 30=施工区声环境监测 31=敏感点声环境监测 32=水生生态调查 33=陆生生态调查';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."CMPLTIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ISBUILD" IS '建设/施工期是否落实 0=未落实 1=落实 2=正在开展';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ABNORMAL" IS '建设/施工期是否异常 0=正常 1=异常';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."IMPMEASURES" IS '措施落实情况';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ENVTYPE" IS '环保类型';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."ENVF_ID" IS '环保费用落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_ENGCONSTGENVF_B" IS '施工期环保措施设计和落实情况表';

-- ----------------------------
-- Table structure for SD_ENGCONSTGENVF_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP";
CREATE TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CNENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "CMPLTIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "ABNORMAL" NUMBER(1,0),
  "IMPMEASURES" VARCHAR2(2000 BYTE),
  "ENVTYPE" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."CNENVFTP" IS '类型 1-砂石料加工系统除尘,2-交通扬尘降尘,3-燃油废弃削减,4-施工区环境空气监测,5-施工弃渣处理,6-生活垃圾处置,7-珍稀保护植物移栽,8-陆生动物保护措施,9-陆生生态修复措施,10-古树保护措施,11-生态风险防范措施,12-陆生生态调查,13-施工区卫生设施设置,14-施工区卫生清理,15-施工人员卫生防疫,16=生活垃圾处理,17-生活饮用水保护,18-卫生防疫机构,19-人群健康保护,20-施工期生态流量保障措施,21-砂石料加工系统废水处理,22-混凝土拌合系统废水处理,23-机修系统污水处理,24-地下硐室废水处理,25-生活污水处理,26=低噪声路面,27-油库及加油站,28-地表水监测,29=敏感点环境空气监测,30-生产废水监测,31-生活污水监测,32-栖息地保护措施,33-鱼类增殖站放流措施';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."CMPLTIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ISBUILD" IS '建设/施工期是否落实 ext{"enum":"0=未落实&1=落实&2=正在开展"}';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ABNORMAL" IS '建设/施工期是否异常 0=正常 1=异常';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."IMPMEASURES" IS '措施落实情况';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ENVTYPE" IS '环保类型';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."ENVF_ID" IS '环保费用落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240611SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" IS '工程施工期环保措施设计和落实情况表';

-- ----------------------------
-- Table structure for SD_ENGCONSTGENVF_B_240619SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP";
CREATE TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CNENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "CMPLTIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "ABNORMAL" NUMBER(1,0),
  "IMPMEASURES" VARCHAR2(2000 BYTE),
  "ENVTYPE" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."CNENVFTP" IS '类型 1-砂石料加工系统除尘,2-交通扬尘降尘,3-燃油废弃削减,4-施工区环境空气监测,5-施工弃渣处理,6-生活垃圾处置,7-珍稀保护植物移栽,8-陆生动物保护措施,9-陆生生态修复措施,10-古树保护措施,11-生态风险防范措施,12-陆生生态调查,13-施工区卫生设施设置,14-施工区卫生清理,15-施工人员卫生防疫,16=生活垃圾处理,17-生活饮用水保护,18-卫生防疫机构,19-人群健康保护,20-施工期生态流量保障措施,21-砂石料加工系统废水处理,22-混凝土拌合系统废水处理,23-机修系统污水处理,24-地下硐室废水处理,25-生活污水处理,26=低噪声路面,27-油库及加油站,28-地表水监测,29=敏感点环境空气监测,30-生产废水监测,31-生活污水监测,32-栖息地保护措施,33-鱼类增殖站放流措施';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."CMPLTIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ISBUILD" IS '建设/施工期是否落实 ext{"enum":"0=未落实&1=落实&2=正在开展"}';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ABNORMAL" IS '建设/施工期是否异常 0=正常 1=异常';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."IMPMEASURES" IS '措施落实情况';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ENVTYPE" IS '环保类型';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."ENVF_ID" IS '环保费用落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240619SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" IS '工程施工期环保措施设计和落实情况表';

-- ----------------------------
-- Table structure for SD_ENGCONSTGENVF_B_240807SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP";
CREATE TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CNENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "CMPLTIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "ABNORMAL" NUMBER(1,0),
  "IMPMEASURES" VARCHAR2(2000 BYTE),
  "ENVTYPE" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."CNENVFTP" IS '类型：1=施工期生态流量保障措施 2=珍稀保护植物移栽 3=砂石料加工系统废水处理 4=混凝土拌合系统废水处理 5=机修系统污水处理 6=地下硐室废水处理 7=生活污水处理 8=砂石料加工系统除尘 9=混凝土拌合系统除尘 10=燃油废弃削减 11=交通扬尘降尘 12=低噪声路面 13=限速标志 14=隔声罩 15=声屏障 16=降噪林 17=隔声窗 18=爆破噪声控制 19=生活垃圾处理 20=施工弃渣处理 21=环境风险措施 22=人群健康保护 23=文物保护 24=地表水监测 25=地下水监测 26=生产废水监测 27=生活污水监测 28=施工区环境空气监测 29=敏感点环境空气监测 30=施工区声环境监测 31=敏感点声环境监测 32=水生生态调查 33=陆生生态调查';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."CMPLTIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ISBUILD" IS '建设/施工期是否落实 0=未落实 1=落实 2=正在开展';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ABNORMAL" IS '建设/施工期是否异常 0=正常 1=异常';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."IMPMEASURES" IS '措施落实情况';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ENVTYPE" IS '环保类型';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."ENVF_ID" IS '环保费用落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_ENGCONSTGENVF_B_240807SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" IS '施工期环保措施设计和落实情况表';

-- ----------------------------
-- Table structure for SD_ENGELEC_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGELEC_B";
CREATE TABLE "QGC"."SD_ENGELEC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" VARCHAR2(32 BYTE) NOT NULL,
  "SORT" NUMBER(3,0) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."TYPE" IS '类型：前端业务组件编码';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_ENGELEC_B" IS '电站专题配置表';

-- ----------------------------
-- Table structure for SD_ENGELEC_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENGELEC_B_240611SP";
CREATE TABLE "QGC"."SD_ENGELEC_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" VARCHAR2(32 BYTE) NOT NULL,
  "SORT" NUMBER(3,0) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."TYPE" IS '类型：前端业务组件编码';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."SORT" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGELEC_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_ENGELEC_B_240611SP" IS '电站专题配置表';

-- ----------------------------
-- Table structure for SD_ENGFC_R
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFC_R";
CREATE TABLE "QGC"."SD_ENGFC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "RPLACE" VARCHAR2(300 BYTE),
  "RIVER" VARCHAR2(64 BYTE),
  "PROVEFID" VARCHAR2(64 BYTE),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."TM" IS '回捕日期';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."RPLACE" IS '回捕位置';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."RIVER" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."PROVEFID" IS '证明材料';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R"."LTTD" IS '纬度：单位：(°)';
COMMENT ON TABLE "QGC"."SD_ENGFC_R" IS '工程回捕数据表';

-- ----------------------------
-- Table structure for SD_ENGFC_R_240731
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFC_R_240731";
CREATE TABLE "QGC"."SD_ENGFC_R_240731" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "RPLACE" VARCHAR2(300 BYTE),
  "RIVER" VARCHAR2(64 BYTE),
  "PROVEFID" VARCHAR2(64 BYTE),
  "ENABLED" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."TM" IS '回捕日期';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."RPLACE" IS '回捕位置';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."RIVER" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."PROVEFID" IS '证明材料';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."ENABLED" IS '是否启用：0=禁用 1=启用';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_ENGFC_R_240731"."LTTD" IS '纬度：单位：(°)';
COMMENT ON TABLE "QGC"."SD_ENGFC_R_240731" IS '工程回捕数据表';

-- ----------------------------
-- Table structure for SD_ENGFLOODDET_R
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFLOODDET_R";
CREATE TABLE "QGC"."SD_ENGFLOODDET_R" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FLOOD_ID" VARCHAR2(64 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "RZ" NUMBER(7,3) NOT NULL,
  "QI" NUMBER(9,3),
  "QO" NUMBER(9,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."FLOOD_ID" IS '所属次洪：关联SD_ENGFLOOD_R.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."RZ" IS '坝上水位：单位：m。';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."QI" IS '入库流量：单位：m3/s。';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."QO" IS '出库流量：单位：m3/s。';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOODDET_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_ENGFLOODDET_R" IS '工程次洪结果详情表';

-- ----------------------------
-- Table structure for SD_ENGFLOOD_R
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFLOOD_R";
CREATE TABLE "QGC"."SD_ENGFLOOD_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FLOODNAME" VARCHAR2(255 BYTE) NOT NULL,
  "START_TIME" DATE NOT NULL,
  "END_TIME" DATE NOT NULL,
  "HFTIME" DATE NOT NULL,
  "HFFLOW" NUMBER(9,3),
  "FLOODVOLUME" NUMBER(10,3),
  "XFAMOUNT" NUMBER(9,3),
  "XFRATIO" NUMBER(5,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."FLOODNAME" IS '次洪名称';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."START_TIME" IS '开始时间：精确到小时。';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."END_TIME" IS '结束时间：精确到小时。';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."HFTIME" IS '洪峰时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."HFFLOW" IS '洪峰流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."FLOODVOLUME" IS '洪量：单位：万m3';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."XFAMOUNT" IS '削峰量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."XFRATIO" IS '削峰比';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFLOOD_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_ENGFLOOD_R" IS '工程次洪结果表';

-- ----------------------------
-- Table structure for SD_ENGFRPLANDET_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFRPLANDET_B";
CREATE TABLE "QGC"."SD_ENGFRPLANDET_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RPJH_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(1000) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(36 BYTE),
  "FWET" VARCHAR2(36 BYTE),
  "FCNT" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "TAGTE" VARCHAR2(64 BYTE),
  "TAGCNT" NUMBER(10,0) DEFAULT 0,
  "WTRG" VARCHAR2(255 BYTE) NOT NULL,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."RPJH_ID" IS '放流计划ID：关联SD_ENGFRPLAN_B.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."FTP" IS '鱼类名称';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."FSZ" IS '平均长度';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."FWET" IS '平均体重：单位：g';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."FCNT" IS '计划放殖鱼数量';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."TAGTE" IS '标记类型';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."TAGCNT" IS '标记数量';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."WTRG" IS '野化训练';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLANDET_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON TABLE "QGC"."SD_ENGFRPLANDET_B" IS '工程放流3计划鱼类详情表';

-- ----------------------------
-- Table structure for SD_ENGFRPLAN_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFRPLAN_B";
CREATE TABLE "QGC"."SD_ENGFRPLAN_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE) NOT NULL,
  "PLANSD" DATE,
  "PLANED" DATE,
  "AP_FID" VARCHAR2(1000 BYTE),
  "QUARR_FID" VARCHAR2(1000 BYTE),
  "QUALR_FID" VARCHAR2(1000 BYTE),
  "OTHER_FID" VARCHAR2(1000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RPLACE" VARCHAR2(300 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."RSTCD" IS '增殖站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."PLANSD" IS '计划放流开始日期';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."PLANED" IS '计划放流结束日期';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."AP_FID" IS '放流审批计划文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."QUARR_FID" IS '种质鉴定报告文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."QUALR_FID" IS '检验检疫报告文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."OTHER_FID" IS '其它文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B"."RPLACE" IS '放流地点';
COMMENT ON TABLE "QGC"."SD_ENGFRPLAN_B" IS '工程放流3计划表';

-- ----------------------------
-- Table structure for SD_ENGFRPLAN_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFRPLAN_B_240410SP";
CREATE TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE) NOT NULL,
  "PLANSD" DATE,
  "PLANED" DATE,
  "AP_FID" VARCHAR2(1000 BYTE),
  "QUARR_FID" VARCHAR2(1000 BYTE),
  "QUALR_FID" VARCHAR2(1000 BYTE),
  "OTHER_FID" VARCHAR2(1000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RPLACE" VARCHAR2(300 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."RSTCD" IS '增殖站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."PLANSD" IS '计划放流开始日期';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."PLANED" IS '计划放流结束日期';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."AP_FID" IS '放流审批计划文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."QUARR_FID" IS '种质鉴定报告文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."QUALR_FID" IS '检验检疫报告文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."OTHER_FID" IS '其它文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_ENGFRPLAN_B_240410SP"."RPLACE" IS '放流地点';
COMMENT ON TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" IS '工程放流3计划表';

-- ----------------------------
-- Table structure for SD_ENGFRTARGET_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFRTARGET_B";
CREATE TABLE "QGC"."SD_ENGFRTARGET_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" NUMBER(1,0),
  "FTP" NVARCHAR2(1000) DEFAULT NULL NOT NULL,
  "FAGE" VARCHAR2(100 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "REMARK" NVARCHAR2(255),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE),
  "ZZFLCNT" VARCHAR2(36 BYTE),
  "STMONTH" VARCHAR2(36 BYTE),
  "ETMMONTH" VARCHAR2(36 BYTE),
  "FSZ" VARCHAR2(36 BYTE),
  "WGH" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."STCD" IS '编码';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."TYPE" IS '类型：1=短期目标 2=中期目标 3=长期目标';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."FTP" IS '养殖种类';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."FID" IS '支撑文件';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."RSTCD" IS '放流来源';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."FSZ" IS '全长。单位：cm';
COMMENT ON COLUMN "QGC"."SD_ENGFRTARGET_B"."WGH" IS '体重。单位：kg';
COMMENT ON TABLE "QGC"."SD_ENGFRTARGET_B" IS '工程放流2目标表';

-- ----------------------------
-- Table structure for SD_ENGFR_R
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFR_R";
CREATE TABLE "QGC"."SD_ENGFR_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE),
  "TM" DATE,
  "RPLACE" VARCHAR2(300 BYTE),
  "RIVER" VARCHAR2(64 BYTE),
  "NOTUNIT" VARCHAR2(64 BYTE),
  "DOFA" VARCHAR2(128 BYTE),
  "SPONSOR" VARCHAR2(64 BYTE),
  "ASEUNIT" VARCHAR2(64 BYTE),
  "PARUNIT" VARCHAR2(64 BYTE),
  "FPRFID" VARCHAR2(1000 BYTE),
  "FLRFID" VARCHAR2(1000 BYTE),
  "BRRFID" VARCHAR2(1000 BYTE),
  "BRFFID" VARCHAR2(1000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."RSTCD" IS '增殖站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."TM" IS '放流日期';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."RPLACE" IS '放流地点';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."RIVER" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."NOTUNIT" IS '公证单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."DOFA" IS '渔政部门';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."SPONSOR" IS '主办单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."ASEUNIT" IS '协助单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."PARUNIT" IS '参加单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."FPRFID" IS '鱼类打包记录文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."FLRFID" IS '鱼类装车记录文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."BRRFID" IS '放流记录';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."BRFFID" IS '放流文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."LGTD" IS '中心经度';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."LTTD" IS '中心纬度';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_ENGFR_R" IS '工程放流5实施表';

-- ----------------------------
-- Table structure for SD_ENGFR_R_250113
-- ----------------------------
DROP TABLE "QGC"."SD_ENGFR_R_250113";
CREATE TABLE "QGC"."SD_ENGFR_R_250113" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RSTCD" VARCHAR2(36 BYTE),
  "TM" DATE,
  "RPLACE" VARCHAR2(300 BYTE),
  "RIVER" VARCHAR2(64 BYTE),
  "NOTUNIT" VARCHAR2(64 BYTE),
  "DOFA" VARCHAR2(128 BYTE),
  "SPONSOR" VARCHAR2(64 BYTE),
  "ASEUNIT" VARCHAR2(64 BYTE),
  "PARUNIT" VARCHAR2(64 BYTE),
  "FPRFID" VARCHAR2(1000 BYTE),
  "FLRFID" VARCHAR2(1000 BYTE),
  "BRRFID" VARCHAR2(1000 BYTE),
  "BRFFID" VARCHAR2(1000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."STCD" IS '电站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."RSTCD" IS '增殖站站码';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."TM" IS '放流日期';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."RPLACE" IS '放流地点';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."RIVER" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."NOTUNIT" IS '公证单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."DOFA" IS '渔政部门';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."SPONSOR" IS '主办单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."ASEUNIT" IS '协助单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."PARUNIT" IS '参加单位';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."FPRFID" IS '鱼类打包记录文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."FLRFID" IS '鱼类装车记录文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."BRRFID" IS '放流记录';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."BRFFID" IS '放流文件';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."LGTD" IS '中心经度';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."LTTD" IS '中心纬度';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGFR_R_250113"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_ENGFR_R_250113" IS '工程放流5实施表';

-- ----------------------------
-- Table structure for SD_ENGSBOE_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGSBOE_B";
CREATE TABLE "QGC"."SD_ENGSBOE_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "STJTZ" NUMBER(12,4),
  "DIRJOB" NUMBER(10,0),
  "INDJOB" NUMBER(10,0),
  "POORJOBEFF" NUMBER(12,2),
  "TM" DATE,
  "LDTZ" NUMBER(12,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."STJTZ" IS '电站静态总投资';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."DIRJOB" IS '直接就业人口';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."INDJOB" IS '间接就业人口';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."POORJOBEFF" IS '扶贫就业效益';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."LDTZ" IS '拉动投资';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ENGSBOE_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_ENGSBOE_B" IS '工程社会效益信息表';

-- ----------------------------
-- Table structure for SD_ENGTTPWR_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENGTTPWR_B";
CREATE TABLE "QGC"."SD_ENGTTPWR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TTPWR" NUMBER(7,2) NOT NULL,
  "GNCNT" NUMBER(2,0) NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."TM" IS '装机时间';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."TTPWR" IS '装机容量：单位：万kW';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."GNCNT" IS '装机台数：单位：台';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENGTTPWR_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_ENGTTPWR_B" IS '电站装机信息表';

-- ----------------------------
-- Table structure for SD_ENVABNORMAL_R
-- ----------------------------
DROP TABLE "QGC"."SD_ENVABNORMAL_R";
CREATE TABLE "QGC"."SD_ENVABNORMAL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "ADDRESS" DATE,
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "ABNORMALDESC" VARCHAR2(2000 BYTE),
  "ABNORMALCAUSE" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."TM" IS '发现异常时间';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."ADDRESS" IS '异常地点';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."LGTD" IS '异常地点,经度';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."LTTD" IS '异常地点,纬度';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."ABNORMALDESC" IS '异常描述';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."ABNORMALCAUSE" IS '异常原因';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVABNORMAL_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_ENVABNORMAL_R" IS '工程环保异常记录表';

-- ----------------------------
-- Table structure for SD_ENVMEIAR_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENVMEIAR_B";
CREATE TABLE "QGC"."SD_ENVMEIAR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE) NOT NULL,
  "EIA_REPORT" VARCHAR2(4000 BYTE) DEFAULT 1,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."ENVTYPE" IS '环保措施类型：1=施工期生态流量保障措施 2=珍稀保护植物移栽 3=砂石料加工系统废水处理 4=混凝土拌合系统废水处理 5=机修系统污水处理 6=地下硐室废水处理 7=生活污水处理 8=砂石料加工系统除尘 9=混凝土拌合系统除尘 10=燃油废弃削减 11=交通扬尘降尘 12=低噪声路面 13=限速标志 14=隔声罩 15=声屏障 16=降噪林 17=隔声窗 18=爆破噪声控制 19=生活垃圾处理 20=施工弃渣处理 21=环境风险措施 22=人群健康保护 23=文物保护 24=地表水监测 25=地下水监测 26=生产废水监测 27=生活污水监测 28=施工区环境空气监测 29=敏感点环境空气监测 30=施工区声环境监测 31=敏感点声环境监测 32=水生生态调查 33=陆生生态调查';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."SD_ENVMEIAR_B" IS '环保措施环评要求';

-- ----------------------------
-- Table structure for SD_ENVMEIAR_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENVMEIAR_B_240410SP";
CREATE TABLE "QGC"."SD_ENVMEIAR_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE) NOT NULL,
  "EIA_REPORT" VARCHAR2(4000 BYTE) DEFAULT 1,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."ENVTYPE" IS '环保措施类型：1=施工期生态流量保障措施 2=珍稀保护植物移栽 3=砂石料加工系统废水处理 4=混凝土拌合系统废水处理 5=机修系统污水处理 6=地下硐室废水处理 7=生活污水处理 8=砂石料加工系统除尘 9=混凝土拌合系统除尘 10=燃油废弃削减 11=交通扬尘降尘 12=低噪声路面 13=限速标志 14=隔声罩 15=声屏障 16=降噪林 17=隔声窗 18=爆破噪声控制 19=生活垃圾处理 20=施工弃渣处理 21=环境风险措施 22=人群健康保护 23=文物保护 24=地表水监测 25=地下水监测 26=生产废水监测 27=生活污水监测 28=施工区环境空气监测 29=敏感点环境空气监测 30=施工区声环境监测 31=敏感点声环境监测 32=水生生态调查 33=陆生生态调查';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240410SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."SD_ENVMEIAR_B_240410SP" IS '环保措施环评要求';

-- ----------------------------
-- Table structure for SD_ENVMEIAR_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENVMEIAR_B_240611SP";
CREATE TABLE "QGC"."SD_ENVMEIAR_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE) NOT NULL,
  "EIA_REPORT" VARCHAR2(4000 BYTE) DEFAULT 1,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."ENVTYPE" IS '环保措施类型：1=施工期生态流量保障措施 2=珍稀保护植物移栽 3=砂石料加工系统废水处理 4=混凝土拌合系统废水处理 5=机修系统污水处理 6=地下硐室废水处理 7=生活污水处理 8=砂石料加工系统除尘 9=混凝土拌合系统除尘 10=燃油废弃削减 11=交通扬尘降尘 12=低噪声路面 13=限速标志 14=隔声罩 15=声屏障 16=降噪林 17=隔声窗 18=爆破噪声控制 19=生活垃圾处理 20=施工弃渣处理 21=环境风险措施 22=人群健康保护 23=文物保护 24=地表水监测 25=地下水监测 26=生产废水监测 27=生活污水监测 28=施工区环境空气监测 29=敏感点环境空气监测 30=施工区声环境监测 31=敏感点声环境监测 32=水生生态调查 33=陆生生态调查';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVMEIAR_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."SD_ENVMEIAR_B_240611SP" IS '环保措施环评要求';

-- ----------------------------
-- Table structure for SD_ENVPEIAR_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENVPEIAR_B";
CREATE TABLE "QGC"."SD_ENVPEIAR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."ID" IS '任务ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."ENVTYPE" IS '环保设施类型：1=生态流量泄放设施 2=分层取水设施 3=过鱼设施 4=鱼类增殖站 5=鱼类栖息地 6=人工产卵场 7=珍稀植物园 8=动物救助站 9=低温水减缓设施';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON TABLE "QGC"."SD_ENVPEIAR_B" IS '环保设施建设环评要求';

-- ----------------------------
-- Table structure for SD_ENVPEIAR_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENVPEIAR_B_240410SP";
CREATE TABLE "QGC"."SD_ENVPEIAR_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."ID" IS '任务ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."ENVTYPE" IS '环保设施类型：1=生态流量泄放设施 2=分层取水设施 3=过鱼设施 4=鱼类增殖站 5=鱼类栖息地 6=人工产卵场 7=珍稀植物园 8=动物救助站 9=低温水减缓设施';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240410SP"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON TABLE "QGC"."SD_ENVPEIAR_B_240410SP" IS '环保设施建设环评要求';

-- ----------------------------
-- Table structure for SD_ENVPEIAR_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_ENVPEIAR_B_240611SP";
CREATE TABLE "QGC"."SD_ENVPEIAR_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ENVTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "CNENVFTP" VARCHAR2(255 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6),
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."ID" IS '任务ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."ENVTYPE" IS '环保设施类型：1=生态流量泄放设施 2=分层取水设施 3=过鱼设施 4=鱼类增殖站 5=鱼类栖息地 6=人工产卵场 7=珍稀植物园 8=动物救助站 9=低温水减缓设施';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."CNENVFTP" IS '项目名称';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVPEIAR_B_240611SP"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON TABLE "QGC"."SD_ENVPEIAR_B_240611SP" IS '环保设施建设环评要求';

-- ----------------------------
-- Table structure for SD_ENVSUP_B
-- ----------------------------
DROP TABLE "QGC"."SD_ENVSUP_B";
CREATE TABLE "QGC"."SD_ENVSUP_B" (
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "FACTYPE" NUMBER(2,0) NOT NULL,
  "TM" DATE,
  "COMPANY" NVARCHAR2(255),
  "STANCES" NUMBER(1,0),
  "MEMOIR" NVARCHAR2(500),
  "REMARK" NVARCHAR2(1000),
  "FID" NVARCHAR2(500),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."FACTYPE" IS '设施类型enum：{1=生态流量泄放设施&9=低温水减缓设施&3=过鱼设施&4=鱼类增值站&5=栖息地保护&6=人工产卵产&8=动物救助站&7=珍稀植物园&10=其它}';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."COMPANY" IS '监理单位';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."STANCES" IS '合同执行情况enum：{1=合同变更&2=设计变更&3=续约&4=正常履行}';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."MEMOIR" IS '大事记';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ENVSUP_B"."ID" IS '主键';
COMMENT ON TABLE "QGC"."SD_ENVSUP_B" IS '环境监理表';

-- ----------------------------
-- Table structure for SD_EQ_R
-- ----------------------------
DROP TABLE "QGC"."SD_EQ_R";
CREATE TABLE "QGC"."SD_EQ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "Q" NUMBER(9,3),
  "WT" NUMBER(7,3),
  "SFDB" NUMBER(1,0),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_EQ_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."STCD" IS '设施编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."Q" IS '流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."WT" IS '温度：单位：℃';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."SFDB" IS '是否达标';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_EQ_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_EQ_R" IS '生态流量泄放设施运行数据表';

-- ----------------------------
-- Table structure for SD_EVEDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_EVEDAY_S";
CREATE TABLE "QGC"."SD_EVEDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "EETP" NUMBER(9,3),
  "E" NUMBER(5,1),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."DT" IS '时间：日蒸发量的测验截止时间';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."EETP" IS '蒸发器类型：1=E601B 2=Φ20 3=Φ80 9=其他';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."E" IS '水面蒸发量：时间字段所代表时间之前一天（24h）的蒸发量，计量单位为mm。';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_EVEDAY_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_EVEDAY_S" IS '水面蒸发量监测数据天统计表';

-- ----------------------------
-- Table structure for SD_EVEDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_EVEDRTP_S";
CREATE TABLE "QGC"."SD_EVEDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "DT" DATE,
  "E" NUMBER(9,1),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DT" IS '日期：存储规则,周维度记录在每周一;上中下旬维度记录在每月1号、11号、21号;月维度记录每月1日;季维度记录在1月1号,4月1号,7月1号,10月1号;年维度记录在1月1号';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."E" IS '水面蒸发量：时间字段所代表时间之前一天（24h）的蒸发量，计量单位为mm。';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_EVEDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_EVEDRTP_S" IS '水面蒸发量监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_FBBSCTMO_B
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSCTMO_B";
CREATE TABLE "QGC"."SD_FBBSCTMO_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "VALUE" NUMBER(10,0),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "CTMO" NUMBER(2,0) NOT NULL,
  "SKDS" VARCHAR2(100 BYTE),
  "FWGH" VARCHAR2(100 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORDER" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."VALUE" IS '数量(尾)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."LENGTH" IS '全长(CM)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."WEIGHT" IS '体重(G)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."CTMO" IS '培育方式：1=流水单养培育 2=流水混养培育 3=静水培育 4=循环水培育';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."SKDS" IS '放养密度';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."FWGH" IS '体重（范围值）';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B"."RECORDER" IS '记录人';
COMMENT ON TABLE "QGC"."SD_FBBSCTMO_B" IS '鱼类增殖站1亲鱼选配与培育3亲鱼培育方式表';

-- ----------------------------
-- Table structure for SD_FBBSCTMO_B_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSCTMO_B_240812";
CREATE TABLE "QGC"."SD_FBBSCTMO_B_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "VALUE" NUMBER(10,0),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "CTMO" NUMBER(2,0) NOT NULL,
  "SKDS" VARCHAR2(100 BYTE),
  "FWGH" VARCHAR2(100 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "RECORDER" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."VALUE" IS '数量(尾)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."LENGTH" IS '全长(CM)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."WEIGHT" IS '体重(G)';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."CTMO" IS '培育方式：1=流水单养培育 2=流水混养培育 3=静水培育 4=循环水培育';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."SKDS" IS '放养密度';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."FWGH" IS '体重（范围值）';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_B_240812"."RECORDER" IS '记录人';
COMMENT ON TABLE "QGC"."SD_FBBSCTMO_B_240812" IS '鱼类增殖站1亲鱼选配与培育3亲鱼培育方式表';

-- ----------------------------
-- Table structure for SD_FBBSCTMO_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSCTMO_R";
CREATE TABLE "QGC"."SD_FBBSCTMO_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(255 BYTE),
  "CONTROL_MEASURES" VARCHAR2(255 BYTE),
  "DES" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "FTP" NVARCHAR2(255) DEFAULT NULL NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."TYPE" IS '培育方式';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."CONTROL_MEASURES" IS '调控措施';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."DES" IS '补充说明';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."FID" IS '文件';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBBSCTMO_R" IS '鱼类增殖站1亲鱼选配与培育3亲鱼培育记录表';

-- ----------------------------
-- Table structure for SD_FBBSCTMO_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSCTMO_R_240812";
CREATE TABLE "QGC"."SD_FBBSCTMO_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(255 BYTE),
  "CONTROL_MEASURES" VARCHAR2(255 BYTE),
  "DES" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "FTP" NVARCHAR2(255) DEFAULT NULL NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."TYPE" IS '培育方式';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."CONTROL_MEASURES" IS '调控措施';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."DES" IS '补充说明';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."FID" IS '文件';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSCTMO_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBBSCTMO_R_240812" IS '鱼类增殖站1亲鱼选配与培育3亲鱼培育记录表';

-- ----------------------------
-- Table structure for SD_FBBSDEATH_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSDEATH_R";
CREATE TABLE "QGC"."SD_FBBSDEATH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "SIGNNUM" VARCHAR2(50 BYTE),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "SPOD" VARCHAR2(500 BYTE),
  "DEATHD" VARCHAR2(500 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "VALUE" NUMBER(10,0),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."TM" IS '死亡日期';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."SIGNNUM" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."LENGTH" IS '全长。单位：CM';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."WEIGHT" IS '体重。单位：G';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."SPOD" IS '死亡症状';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."DEATHD" IS '死亡诊断';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."VALUE" IS '数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBBSDEATH_R" IS '鱼类增殖站1亲鱼选配与培育2亲鱼死亡记录表';

-- ----------------------------
-- Table structure for SD_FBBSDEATH_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSDEATH_R_240812";
CREATE TABLE "QGC"."SD_FBBSDEATH_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "SIGNNUM" VARCHAR2(50 BYTE),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "SPOD" VARCHAR2(500 BYTE),
  "DEATHD" VARCHAR2(500 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "VALUE" NUMBER(10,0),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."TM" IS '死亡日期';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."SIGNNUM" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."LENGTH" IS '全长。单位：CM';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."WEIGHT" IS '体重。单位：G';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."SPOD" IS '死亡症状';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."DEATHD" IS '死亡诊断';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."VALUE" IS '数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSDEATH_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBBSDEATH_R_240812" IS '鱼类增殖站1亲鱼选配与培育2亲鱼死亡记录表';

-- ----------------------------
-- Table structure for SD_FBBSMF_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSMF_R";
CREATE TABLE "QGC"."SD_FBBSMF_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(50) DEFAULT NULL NOT NULL,
  "BSSR" VARCHAR2(250 BYTE),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "AGE" NUMBER(3,1),
  "SEX" NUMBER(2,0) NOT NULL,
  "SIGNNUM" VARCHAR2(50 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "VALUE" NUMBER(10,0),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."TM" IS '引进日期';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."BSSR" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."LENGTH" IS '全长。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."WEIGHT" IS '体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."AGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."SIGNNUM" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."VALUE" IS '数量';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBBSMF_R" IS '鱼类增殖站1亲鱼选配与培育1亲鱼档案管理记录表';

-- ----------------------------
-- Table structure for SD_FBBSMF_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSMF_R_240812";
CREATE TABLE "QGC"."SD_FBBSMF_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(50) DEFAULT NULL NOT NULL,
  "BSSR" VARCHAR2(250 BYTE),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "AGE" NUMBER(3,1),
  "SEX" NUMBER(2,0) NOT NULL,
  "SIGNNUM" VARCHAR2(50 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "VALUE" NUMBER(10,0),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."TM" IS '引进日期';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."BSSR" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."LENGTH" IS '全长。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."WEIGHT" IS '体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."AGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."SIGNNUM" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."VALUE" IS '数量';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSMF_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBBSMF_R_240812" IS '鱼类增殖站1亲鱼选配与培育1亲鱼档案管理记录表';

-- ----------------------------
-- Table structure for SD_FBBSRFI_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSRFI_R";
CREATE TABLE "QGC"."SD_FBBSRFI_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(50) DEFAULT NULL NOT NULL,
  "TM" DATE NOT NULL,
  "FTYPE" VARCHAR2(50 BYTE),
  "CFE" NUMBER(10,2),
  "WARFRE" NUMBER(10,0),
  "RECORDER" VARCHAR2(50 BYTE),
  "TBW" NUMBER(10,2),
  "DFR" NUMBER(3,1),
  "FDI" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."TM" IS '投喂日期';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."FTYPE" IS '饲料种类';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."CFE" IS '投食量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."WARFRE" IS '水交换频次。单位：次/d';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."TBW" IS '总体量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."DFR" IS '日投喂率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."FDI" IS '摄食情况';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBBSRFI_R" IS '鱼类增殖站1亲鱼选配与培育6亲鱼培育投喂记录';

-- ----------------------------
-- Table structure for SD_FBBSRFI_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBSRFI_R_240812";
CREATE TABLE "QGC"."SD_FBBSRFI_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(50) DEFAULT NULL NOT NULL,
  "TM" DATE NOT NULL,
  "FTYPE" VARCHAR2(50 BYTE),
  "CFE" NUMBER(10,2),
  "WARFRE" NUMBER(10,0),
  "RECORDER" VARCHAR2(50 BYTE),
  "TBW" NUMBER(10,2),
  "DFR" NUMBER(3,1),
  "FDI" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."TM" IS '投喂日期';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."FTYPE" IS '饲料种类';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."CFE" IS '投食量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."WARFRE" IS '水交换频次。单位：次/d';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."TBW" IS '总体量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."DFR" IS '日投喂率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."FDI" IS '摄食情况';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBSRFI_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBBSRFI_R_240812" IS '鱼类增殖站1亲鱼选配与培育6亲鱼培育投喂记录';

-- ----------------------------
-- Table structure for SD_FBBWT_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBBWT_R";
CREATE TABLE "QGC"."SD_FBBWT_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "WTE" NUMBER(7,3),
  "WTF" NUMBER(7,3),
  "WTT" NUMBER(7,3),
  "RECORDER" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."TM" IS '观测日期';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."WTE" IS '8点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."WTF" IS '14点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."WTT" IS '20点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBBWT_R" IS '鱼类增殖站1亲鱼选配与培育4亲鱼培育水温观测记录';

-- ----------------------------
-- Table structure for SD_FBBWT_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBBWT_R_240812";
CREATE TABLE "QGC"."SD_FBBWT_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "WTE" NUMBER(7,3),
  "WTF" NUMBER(7,3),
  "WTT" NUMBER(7,3),
  "RECORDER" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."TM" IS '观测日期';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."WTE" IS '8点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."WTF" IS '14点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."WTT" IS '20点水温';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBBWT_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBBWT_R_240812" IS '鱼类增殖站1亲鱼选配与培育4亲鱼培育水温观测记录';

-- ----------------------------
-- Table structure for SD_FBCWQ_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBCWQ_R";
CREATE TABLE "QGC"."SD_FBCWQ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "NH3N" NUMBER(6,3),
  "NO2" NUMBER(5,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "IFFIT" NUMBER(2,0),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."NH3N" IS '氨氮。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."NO2" IS '亚硝酸盐。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."DOX" IS '溶解氧。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."IFFIT" IS '是否符合标准';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."TM" IS '监测时段';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBCWQ_R" IS '鱼类增殖站1亲鱼选配与培育5亲鱼培育水质监测记录';

-- ----------------------------
-- Table structure for SD_FBCWQ_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBCWQ_R_240812";
CREATE TABLE "QGC"."SD_FBCWQ_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "NH3N" NUMBER(6,3),
  "NO2" NUMBER(5,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "IFFIT" NUMBER(2,0),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."NH3N" IS '氨氮。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."NO2" IS '亚硝酸盐。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."DOX" IS '溶解氧。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."IFFIT" IS '是否符合标准';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."TM" IS '监测时段';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBCWQ_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBCWQ_R_240812" IS '鱼类增殖站1亲鱼选配与培育5亲鱼培育水质监测记录';

-- ----------------------------
-- Table structure for SD_FBDSR_B
-- ----------------------------
DROP TABLE "QGC"."SD_FBDSR_B";
CREATE TABLE "QGC"."SD_FBDSR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YR" VARCHAR2(4 BYTE) NOT NULL,
  "FTP" NVARCHAR2(255) DEFAULT NULL NOT NULL,
  "WORK_DONE" VARCHAR2(4000 BYTE) NOT NULL,
  "DES" VARCHAR2(4000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."STCD" IS '站点编码';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."WORK_DONE" IS '已完成工作';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."DES" IS '工作详情';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."FID" IS '影响资料及支撑文件';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBDSR_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBDSR_B" IS '鱼类增殖站科研工作开展情况表';

-- ----------------------------
-- Table structure for SD_FBFISHARTINLDET_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHARTINLDET_R";
CREATE TABLE "QGC"."SD_FBFISHARTINLDET_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FISHARTINL_ID" VARCHAR2(64 BYTE),
  "SERIAL" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "SIZE" VARCHAR2(50 BYTE),
  "WEIGHT" VARCHAR2(50 BYTE),
  "YZZSSJ" DATE,
  "YZZSJL" NUMBER(10,2),
  "EZZSSJ" DATE,
  "EZZSJL" NUMBER(10,2),
  "SZZSSJ" DATE,
  "SZZSJL" NUMBER(10,2),
  "EFFECT" NUMBER(4,2),
  "CHCL" VARCHAR2(512 BYTE),
  "SPAWNING" NUMBER(15,4),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."FISHARTINL_ID" IS '所属鱼类人工催产记录：关联SD_FISHARTINL_R.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SERIAL" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SEX" IS '性别 1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SIZE" IS '规格（cm）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."WEIGHT" IS '重量（g）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."YZZSSJ" IS '一针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."YZZSJL" IS '一针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."EZZSSJ" IS '二针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."EZZSJL" IS '二针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SZZSSJ" IS '三针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SZZSJL" IS '三针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."EFFECT" IS '效应时间（h）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."CHCL" IS '产后处理';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."SPAWNING" IS '产卵数量（万粒）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."SD_FBFISHARTINLDET_R" IS '鱼类增殖站2人工繁殖1鱼类人工催产详情数据';

-- ----------------------------
-- Table structure for SD_FBFISHARTINLDET_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHARTINLDET_R_240812";
CREATE TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FISHARTINL_ID" VARCHAR2(64 BYTE),
  "SERIAL" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "SIZE" VARCHAR2(50 BYTE),
  "WEIGHT" VARCHAR2(50 BYTE),
  "YZZSSJ" DATE,
  "YZZSJL" NUMBER(10,2),
  "EZZSSJ" DATE,
  "EZZSJL" NUMBER(10,2),
  "SZZSSJ" DATE,
  "SZZSJL" NUMBER(10,2),
  "EFFECT" NUMBER(4,2),
  "CHCL" VARCHAR2(512 BYTE),
  "SPAWNING" NUMBER(15,4),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."FISHARTINL_ID" IS '所属鱼类人工催产记录：关联SD_FISHARTINL_R.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SERIAL" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SEX" IS '性别 1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SIZE" IS '规格（cm）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."WEIGHT" IS '重量（g）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."YZZSSJ" IS '一针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."YZZSJL" IS '一针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."EZZSSJ" IS '二针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."EZZSJL" IS '二针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SZZSSJ" IS '三针注射时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SZZSJL" IS '三针注射剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."EFFECT" IS '效应时间（h）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."CHCL" IS '产后处理';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."SPAWNING" IS '产卵数量（万粒）';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."IS_DELETED" IS '是否删除 0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINLDET_R_240812"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" IS '鱼类增殖站2人工繁殖1鱼类人工催产详情数据';

-- ----------------------------
-- Table structure for SD_FBFISHARTINL_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHARTINL_R";
CREATE TABLE "QGC"."SD_FBFISHARTINL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "TM" DATE NOT NULL,
  "FFISHT" NUMBER(10,0),
  "FPITOCINTYPE" NUMBER(2,0) NOT NULL,
  "FDOSE" NUMBER(10,2),
  "FINJMO" VARCHAR2(50 BYTE),
  "AIR" NUMBER(3,1),
  "WARTEM" NUMBER(10,3),
  "DOX" NUMBER(4,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "FID" VARCHAR2(1000 BYTE),
  "MFISHT" NUMBER(10,0),
  "MPITOCINTYPE" NUMBER(2,0),
  "MDOSE" NUMBER(10,2),
  "MINJMO" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."TM" IS '催产日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FFISHT" IS '雌鱼数量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FPITOCINTYPE" IS '雌鱼催产剂种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FDOSE" IS '雌鱼总剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FINJMO" IS '雌鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."AIR" IS '气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."DOX" IS '溶解氧。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MFISHT" IS '雄鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MPITOCINTYPE" IS '雌鱼催产剂种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MDOSE" IS '雌鱼总剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MINJMO" IS '雌鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBFISHARTINL_R" IS '鱼类增殖站2人工繁殖1鱼类人工催产记录';

-- ----------------------------
-- Table structure for SD_FBFISHARTINL_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHARTINL_R_240812";
CREATE TABLE "QGC"."SD_FBFISHARTINL_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "TM" DATE NOT NULL,
  "FFISHT" NUMBER(10,0),
  "FPITOCINTYPE" NUMBER(2,0) NOT NULL,
  "FDOSE" NUMBER(10,2),
  "FINJMO" VARCHAR2(50 BYTE),
  "AIR" NUMBER(3,1),
  "WARTEM" NUMBER(10,3),
  "DOX" NUMBER(4,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "FID" VARCHAR2(1000 BYTE),
  "MFISHT" NUMBER(10,0),
  "MPITOCINTYPE" NUMBER(2,0),
  "MDOSE" NUMBER(10,2),
  "MINJMO" VARCHAR2(50 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."TM" IS '催产日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FFISHT" IS '雌鱼数量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FPITOCINTYPE" IS '雌鱼催产剂种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FDOSE" IS '雌鱼总剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FINJMO" IS '雌鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."AIR" IS '气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."DOX" IS '溶解氧。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MFISHT" IS '雄鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MPITOCINTYPE" IS '雌鱼催产剂种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MDOSE" IS '雌鱼总剂量';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MINJMO" IS '雌鱼注射方式';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHARTINL_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBFISHARTINL_R_240812" IS '鱼类增殖站2人工繁殖1鱼类人工催产记录';

-- ----------------------------
-- Table structure for SD_FBFISHBREED_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHBREED_R";
CREATE TABLE "QGC"."SD_FBFISHBREED_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FARMNO" VARCHAR2(100 BYTE),
  "FTP" NVARCHAR2(150) DEFAULT NULL NOT NULL,
  "COUNTS" NUMBER(10,0),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "FEEDTP" VARCHAR2(200 BYTE),
  "FOODINT" NUMBER(10,2),
  "DFR" NUMBER(3,1),
  "FIN" VARCHAR2(500 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."TM" IS '培育日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FARMNO" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."COUNTS" IS '数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."LENGTH" IS '平均规格全长。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."WEIGHT" IS '平均规格体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FEEDTP" IS '饲料或饵料种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FOODINT" IS '投食量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."DFR" IS '日投食率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FIN" IS '摄食情况';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBFISHBREED_R" IS '鱼类增殖站3鱼苗和鱼种培育2鱼苗和鱼种培育记录';

-- ----------------------------
-- Table structure for SD_FBFISHBREED_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHBREED_R_240812";
CREATE TABLE "QGC"."SD_FBFISHBREED_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FARMNO" VARCHAR2(100 BYTE),
  "FTP" NVARCHAR2(150) DEFAULT NULL NOT NULL,
  "COUNTS" NUMBER(10,0),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "FEEDTP" VARCHAR2(200 BYTE),
  "FOODINT" NUMBER(10,2),
  "DFR" NUMBER(3,1),
  "FIN" VARCHAR2(500 BYTE),
  "RECORDER" VARCHAR2(50 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."TM" IS '培育日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FARMNO" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."COUNTS" IS '数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."LENGTH" IS '平均规格全长。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."WEIGHT" IS '平均规格体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FEEDTP" IS '饲料或饵料种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FOODINT" IS '投食量。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."DFR" IS '日投食率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FIN" IS '摄食情况';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHBREED_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBFISHBREED_R_240812" IS '鱼类增殖站3鱼苗和鱼种培育2鱼苗和鱼种培育记录';

-- ----------------------------
-- Table structure for SD_FBFISHDPAC_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHDPAC_R";
CREATE TABLE "QGC"."SD_FBFISHDPAC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE),
  "FTP" NVARCHAR2(1000) DEFAULT NULL NOT NULL,
  "WEIGHT" NUMBER(10,2),
  "SYMPTOMS" VARCHAR2(500 BYTE),
  "FISHDRUGTYPE" VARCHAR2(50 BYTE),
  "METHOD" NUMBER(2,0),
  "DOSE" NUMBER(10,2),
  "DAYS" NUMBER(5,2),
  "TREATEFFECT" NUMBER(2,0),
  "RECORDER" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."WEIGHT" IS '平均体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."SYMPTOMS" IS '发病症状';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."FISHDRUGTYPE" IS '鱼药种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."METHOD" IS '用药方法';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."DOSE" IS '用药剂量。单位：mg/kg';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."DAYS" IS '用药天数。单位：d';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."TREATEFFECT" IS '治疗效果';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."TM" IS '日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_FBFISHDPAC_R" IS '鱼类增殖站4鱼病防治1鱼病防治记录表';

-- ----------------------------
-- Table structure for SD_FBFISHDPAC_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHDPAC_R_240812";
CREATE TABLE "QGC"."SD_FBFISHDPAC_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE),
  "FTP" NVARCHAR2(1000) DEFAULT NULL NOT NULL,
  "WEIGHT" NUMBER(10,2),
  "SYMPTOMS" VARCHAR2(500 BYTE),
  "FISHDRUGTYPE" VARCHAR2(50 BYTE),
  "METHOD" NUMBER(2,0),
  "DOSE" NUMBER(10,2),
  "DAYS" NUMBER(5,2),
  "TREATEFFECT" NUMBER(2,0),
  "RECORDER" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."WEIGHT" IS '平均体重。单位：g';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."SYMPTOMS" IS '发病症状';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."FISHDRUGTYPE" IS '鱼药种类';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."METHOD" IS '用药方法';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."DOSE" IS '用药剂量。单位：mg/kg';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."DAYS" IS '用药天数。单位：d';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."TREATEFFECT" IS '治疗效果';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."TM" IS '日期';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_FBFISHDPAC_R_240812"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_FBFISHDPAC_R_240812" IS '鱼类增殖站4鱼病防治1鱼病防治记录表';

-- ----------------------------
-- Table structure for SD_FBFISHHATCHPRO_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHHATCHPRO_R";
CREATE TABLE "QGC"."SD_FBFISHHATCHPRO_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DEVNO" VARCHAR2(254 BYTE) NOT NULL,
  "RECORDTM" DATE,
  "WARTEM" NUMBER(10,3),
  "WTDIFF" NUMBER(10,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "EMPSTA" VARCHAR2(200 BYTE),
  "WARFRE" NUMBER(10,0),
  "ISEVEN" NUMBER(1,0),
  "RECORDER" VARCHAR2(50 BYTE),
  "REMARKS" VARCHAR2(500 BYTE),
  "SPAWNTM" DATE,
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."DEVNO" IS '孵化设施编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."RECORDTM" IS '记录时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."WTDIFF" IS '与上一时段水温差。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."DOX" IS '溶解氧。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."PH" IS 'pH';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."EMPSTA" IS '胚胎发育时期';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."WARFRE" IS '水交换频次。单位：次/d';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."ISEVEN" IS '孵化密度是否均匀：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."REMARKS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."SPAWNTM" IS '产卵时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."TM" IS '巡查时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBFISHHATCHPRO_R" IS '鱼类增殖站2人工繁殖3鱼类孵化过程巡查记录';

-- ----------------------------
-- Table structure for SD_FBFISHHATCHPRO_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812";
CREATE TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DEVNO" VARCHAR2(254 BYTE) NOT NULL,
  "RECORDTM" DATE,
  "WARTEM" NUMBER(10,3),
  "WTDIFF" NUMBER(10,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "EMPSTA" VARCHAR2(200 BYTE),
  "WARFRE" NUMBER(10,0),
  "ISEVEN" NUMBER(1,0),
  "RECORDER" VARCHAR2(50 BYTE),
  "REMARKS" VARCHAR2(500 BYTE),
  "SPAWNTM" DATE,
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."DEVNO" IS '孵化设施编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."RECORDTM" IS '记录时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."WTDIFF" IS '与上一时段水温差。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."DOX" IS '溶解氧。单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."PH" IS 'pH';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."EMPSTA" IS '胚胎发育时期';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."WARFRE" IS '水交换频次。单位：次/d';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."ISEVEN" IS '孵化密度是否均匀：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."REMARKS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."SPAWNTM" IS '产卵时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."TM" IS '巡查时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHPRO_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" IS '鱼类增殖站2人工繁殖3鱼类孵化过程巡查记录';

-- ----------------------------
-- Table structure for SD_FBFISHHATCHREC_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHHATCHREC_R";
CREATE TABLE "QGC"."SD_FBFISHHATCHREC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(100) DEFAULT NULL NOT NULL,
  "FISHSRC" VARCHAR2(50 BYTE),
  "EGGCOUNT" NUMBER(10,2),
  "FERRATE" NUMBER(5,2),
  "HATCHRATE" NUMBER(5,2),
  "OUTHOUR" NUMBER(10,2),
  "OUTCOUNT" NUMBER(10,2),
  "OUTRATE" NUMBER(5,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."FISHSRC" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."EGGCOUNT" IS '鱼卵数量。单位：万粒';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."FERRATE" IS '受精率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."HATCHRATE" IS '孵化率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."OUTHOUR" IS '出苗时长。单位：h';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."OUTCOUNT" IS '出苗数量。单位：万尾';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."OUTRATE" IS '出苗率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."TM" IS '孵化时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBFISHHATCHREC_R" IS '鱼类增殖站2人工繁殖2鱼类受精卵孵化过程记录';

-- ----------------------------
-- Table structure for SD_FBFISHHATCHREC_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHHATCHREC_R_240812";
CREATE TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(100) DEFAULT NULL NOT NULL,
  "FISHSRC" VARCHAR2(50 BYTE),
  "EGGCOUNT" NUMBER(10,2),
  "FERRATE" NUMBER(5,2),
  "HATCHRATE" NUMBER(5,2),
  "OUTHOUR" NUMBER(10,2),
  "OUTCOUNT" NUMBER(10,2),
  "OUTRATE" NUMBER(5,2),
  "RECORDER" VARCHAR2(50 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."FISHSRC" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."EGGCOUNT" IS '鱼卵数量。单位：万粒';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."FERRATE" IS '受精率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."HATCHRATE" IS '孵化率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."OUTHOUR" IS '出苗时长。单位：h';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."OUTCOUNT" IS '出苗数量。单位：万尾';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."OUTRATE" IS '出苗率。单位：%';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."TM" IS '孵化时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHHATCHREC_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" IS '鱼类增殖站2人工繁殖2鱼类受精卵孵化过程记录';

-- ----------------------------
-- Table structure for SD_FBFISHPOND_B
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHPOND_B";
CREATE TABLE "QGC"."SD_FBFISHPOND_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CODE" VARCHAR2(255 BYTE) NOT NULL,
  "NAME" VARCHAR2(255 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."CODE" IS '编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."NAME" IS '鱼池名称';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."RSTCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_FBFISHPOND_B" IS '鱼类增殖站0鱼池信息表';

-- ----------------------------
-- Table structure for SD_FBFISHPOND_B_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBFISHPOND_B_240812";
CREATE TABLE "QGC"."SD_FBFISHPOND_B_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "CODE" VARCHAR2(32 BYTE) NOT NULL,
  "NAME" VARCHAR2(255 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."CODE" IS '编号';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."NAME" IS '鱼池名称';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."RSTCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBFISHPOND_B_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_FBFISHPOND_B_240812" IS '鱼类增殖站0鱼池信息表';

-- ----------------------------
-- Table structure for SD_FBOUTFISH_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBOUTFISH_R";
CREATE TABLE "QGC"."SD_FBOUTFISH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORDERTM" DATE,
  "SIGNNO" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "SRC" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "AGE" NUMBER(3,1),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "AGELMT" NUMBER(10,0),
  "BRECOUNT" NUMBER(10,0),
  "TM" DATE NOT NULL,
  "OUTREA" VARCHAR2(500 BYTE),
  "HAND" NUMBER(2,0),
  "RECORDER" VARCHAR2(254 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."RECORDERTM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."SIGNNO" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."SRC" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."AGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."LENGTH" IS '全长。单位：CM';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."WEIGHT" IS '体重。单位：G';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."AGELMT" IS '繁殖年限';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."BRECOUNT" IS '繁殖次数';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."TM" IS '淘汰日期';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."OUTREA" IS '淘汰原因';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."HAND" IS '处置方式';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBOUTFISH_R" IS '鱼类增殖站1亲鱼选配与培育7淘汰亲鱼基本信息记录表';

-- ----------------------------
-- Table structure for SD_FBOUTFISH_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBOUTFISH_R_240812";
CREATE TABLE "QGC"."SD_FBOUTFISH_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "RECORDERTM" DATE,
  "SIGNNO" VARCHAR2(50 BYTE) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "SRC" VARCHAR2(50 BYTE),
  "SEX" NUMBER(1,0),
  "AGE" NUMBER(3,1),
  "LENGTH" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "AGELMT" NUMBER(10,0),
  "BRECOUNT" NUMBER(10,0),
  "TM" DATE NOT NULL,
  "OUTREA" VARCHAR2(500 BYTE),
  "HAND" NUMBER(2,0),
  "RECORDER" VARCHAR2(254 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."RECORDERTM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."SIGNNO" IS '标记编号';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."SRC" IS '亲鱼来源';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."SEX" IS '性别：1=雄鱼 2=雌鱼';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."AGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."LENGTH" IS '全长。单位：CM';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."WEIGHT" IS '体重。单位：G';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."AGELMT" IS '繁殖年限';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."BRECOUNT" IS '繁殖次数';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."TM" IS '淘汰日期';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."OUTREA" IS '淘汰原因';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."HAND" IS '处置方式';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBOUTFISH_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBOUTFISH_R_240812" IS '鱼类增殖站1亲鱼选配与培育7淘汰亲鱼基本信息记录表';

-- ----------------------------
-- Table structure for SD_FBRDC_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBRDC_R";
CREATE TABLE "QGC"."SD_FBRDC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(400) NOT NULL,
  "FSZ" VARCHAR2(200 BYTE),
  "FCNT" NUMBER(10,0),
  "STLC" VARCHAR2(512 BYTE),
  "RRVNM" VARCHAR2(50 BYTE),
  "FAGE" VARCHAR2(36 BYTE),
  "FWEIGHT" NUMBER(10,2),
  "FID" VARCHAR2(36 BYTE),
  "BJFCNT" NUMBER(10,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FC_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."TM" IS '回捕时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FSZ" IS '回捕规格，单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FCNT" IS '回捕数量，单位：万尾';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."STLC" IS '回捕地点';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."RRVNM" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FWEIGHT" IS '重量，单位：g/条';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."BJFCNT" IS '含标记数量';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R"."FC_ID" IS '所属鱼类回捕：关联SD_ENGFC_R.ID';
COMMENT ON TABLE "QGC"."SD_FBRDC_R" IS '工程回捕数据明细表';

-- ----------------------------
-- Table structure for SD_FBRDC_R_240731
-- ----------------------------
DROP TABLE "QGC"."SD_FBRDC_R_240731";
CREATE TABLE "QGC"."SD_FBRDC_R_240731" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(400) NOT NULL,
  "FSZ" VARCHAR2(200 BYTE),
  "FCNT" NUMBER(10,0),
  "STLC" VARCHAR2(512 BYTE),
  "RRVNM" VARCHAR2(50 BYTE),
  "FAGE" VARCHAR2(36 BYTE),
  "FWEIGHT" NUMBER(10,2),
  "FID" VARCHAR2(36 BYTE),
  "BJFCNT" NUMBER(10,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FC_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."TM" IS '回捕时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FSZ" IS '回捕规格，单位：cm';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FCNT" IS '回捕数量，单位：万尾';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."STLC" IS '回捕地点';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."RRVNM" IS '所在河流';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FWEIGHT" IS '重量，单位：g/条';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."BJFCNT" IS '含标记数量';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBRDC_R_240731"."FC_ID" IS '所属鱼类回捕：关联SD_ENGFC_R.ID';
COMMENT ON TABLE "QGC"."SD_FBRDC_R_240731" IS '工程回捕数据明细表';

-- ----------------------------
-- Table structure for SD_FBRDFSI_B
-- ----------------------------
DROP TABLE "QGC"."SD_FBRDFSI_B";
CREATE TABLE "QGC"."SD_FBRDFSI_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YR" NUMBER(4,0) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "MINUM" NUMBER(8,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."STCD" IS '编码';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."YR" IS '年份：数据时间，精确到年。';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."FTP" IS '鱼种类';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."MINUM" IS '最低数量（指标）';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为COMM.IS_DELETED';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDFSI_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为COMM.IS_TEMP_STORAGE';
COMMENT ON TABLE "QGC"."SD_FBRDFSI_B" IS '工程放流1指标表';

-- ----------------------------
-- Table structure for SD_FBRDM_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBRDM_R";
CREATE TABLE "QGC"."SD_FBRDM_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "TP" VARCHAR2(5 BYTE) NOT NULL,
  "FCNT" NUMBER(10,0) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."TM" IS '年份：数据时间，精确到年。';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."TP" IS '标记方式';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."FCNT" IS '标记数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBRDM_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_FBRDM_R" IS '鱼类增殖站年度鱼类标记数据';

-- ----------------------------
-- Table structure for SD_FBRESEARCH_B
-- ----------------------------
DROP TABLE "QGC"."SD_FBRESEARCH_B";
CREATE TABLE "QGC"."SD_FBRESEARCH_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "WCO" VARCHAR2(4000 BYTE) NOT NULL,
  "JD" VARCHAR2(3000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."STCD" IS '增殖站编码';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."DT" IS '计划增殖时间。';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."FTP" IS '科研鱼类';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."WCO" IS '已开展工作';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."JD" IS '工作详情';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBRESEARCH_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_FBRESEARCH_B" IS '鱼类增殖站科研鱼类增殖计划表';

-- ----------------------------
-- Table structure for SD_FBSCWEM_R
-- ----------------------------
DROP TABLE "QGC"."SD_FBSCWEM_R";
CREATE TABLE "QGC"."SD_FBSCWEM_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "WARTEM" NUMBER(7,3),
  "WTDIFF" NUMBER(7,3),
  "NH3N" NUMBER(6,3),
  "NO2" NUMBER(5,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "RECORDER" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."TM" IS '监测日期';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."WTDIFF" IS '与上一时段水温差。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."NH3N" IS '氨氮。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."NO2" IS '亚硝酸盐。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."DOX" IS '溶解氧。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FBSCWEM_R" IS '鱼类增殖站3鱼苗和鱼种培育1苗种培育水环境监测记录表';

-- ----------------------------
-- Table structure for SD_FBSCWEM_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_FBSCWEM_R_240812";
CREATE TABLE "QGC"."SD_FBSCWEM_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FPNUM" VARCHAR2(50 BYTE) NOT NULL,
  "WARTEM" NUMBER(7,3),
  "WTDIFF" NUMBER(7,3),
  "NH3N" NUMBER(6,3),
  "NO2" NUMBER(5,3),
  "DOX" NUMBER(4,2),
  "PH" NUMBER(4,2),
  "RECORDER" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."TM" IS '监测日期';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."FPNUM" IS '鱼池编号';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."WARTEM" IS '水温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."WTDIFF" IS '与上一时段水温差。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."NH3N" IS '氨氮。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."NO2" IS '亚硝酸盐。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."DOX" IS '溶解氧。单位：mg/l';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."RECORDER" IS '记录人';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FBSCWEM_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_FBSCWEM_R_240812" IS '鱼类增殖站3鱼苗和鱼种培育1苗种培育水环境监测记录表';

-- ----------------------------
-- Table structure for SD_FHBT_R
-- ----------------------------
DROP TABLE "QGC"."SD_FHBT_R";
CREATE TABLE "QGC"."SD_FHBT_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" NUMBER(4,0) NOT NULL,
  "FCNT" NUMBER(10,0) NOT NULL,
  "ZYL" VARCHAR2(50 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."TM" IS '调查日期';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."FCNT" IS '鱼类数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."ZYL" IS '早期资源量';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FHBT_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FHBT_R" IS '鱼类栖息地观测数据表';

-- ----------------------------
-- Table structure for SD_FISHDICTORY_B
-- ----------------------------
DROP TABLE "QGC"."SD_FISHDICTORY_B";
CREATE TABLE "QGC"."SD_FISHDICTORY_B" (
  "ID" NVARCHAR2(36) DEFAULT NULL NOT NULL,
  "CODE" NVARCHAR2(200) NOT NULL,
  "NAME" NVARCHAR2(255) NOT NULL,
  "NAME_EN" NVARCHAR2(255),
  "ALIAS" NVARCHAR2(255),
  "LOGO" VARCHAR2(255 BYTE),
  "INTRODUCE" NVARCHAR2(1024),
  "INFFILE" VARCHAR2(1024 BYTE),
  "ORDERS" NVARCHAR2(20),
  "FAMILY" NVARCHAR2(20),
  "GENUS" NVARCHAR2(20),
  "SPECIES" NVARCHAR2(20),
  "TYPE" NUMBER(1,0),
  "FSZ" VARCHAR2(255 BYTE),
  "RARE" NUMBER(1,0),
  "SPEC_ORIGIN" NUMBER(1,0),
  "PTYPE" NUMBER(1,0),
  "RVCD" VARCHAR2(36 BYTE),
  "HABIT_MIGRAT" NVARCHAR2(255),
  "FEEDING_HABIT" NVARCHAR2(255),
  "SPAWN_CHARACT" NVARCHAR2(255),
  "FOOD" NVARCHAR2(255),
  "TIME_FEED" NVARCHAR2(255),
  "ORIGN_DATE" NVARCHAR2(2000),
  "PRETEMP" VARCHAR2(255 BYTE),
  "FLOW_RATE" VARCHAR2(255 BYTE),
  "DEPTH" VARCHAR2(255 BYTE),
  "BOTM_MATER" VARCHAR2(255 BYTE),
  "WQTQ" VARCHAR2(500 BYTE),
  "HABITAT" NUMBER(1,0),
  "SITUATION" NUMBER(1,0),
  "RESOURCE_TYPE" NUMBER(1,0),
  "SHAPEDESC" NVARCHAR2(2000),
  "PROTECTLVL" VARCHAR2(255 BYTE),
  "HABITATION" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "DESCRIPTION" NVARCHAR2(1024),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "SPAWN_MONTH" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."NAME_EN" IS '英文名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ALIAS" IS '俗名';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."LOGO" IS 'LOGO';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."INTRODUCE" IS '介绍';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."INFFILE" IS '介绍弹窗图片';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ORDERS" IS '目';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FAMILY" IS '科';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."GENUS" IS '属';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SPECIES" IS '种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."TYPE" IS '分类：1=淡水 2=海水';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FSZ" IS '成鱼大小：单位：cm';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."RARE" IS '是否珍稀鱼类：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SPEC_ORIGIN" IS '物种来源：1=本土物种 2=外来物种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."PTYPE" IS '保护类型：1=濒危 2=极危 3=近危 4=易危 5=重点保护 6=无危 7=国家二级 8=市二级保护';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."RVCD" IS '所属流域：关联SD_WBS_B.ID，节点类型为rvcd';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."HABIT_MIGRAT" IS '洄游习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FEEDING_HABIT" IS '摄食习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SPAWN_CHARACT" IS '产卵特性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FOOD" IS '主要食物';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."TIME_FEED" IS '觅食时段';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ORIGN_DATE" IS '产地及产期';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."PRETEMP" IS '适宜温度：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FLOW_RATE" IS '适宜流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."DEPTH" IS '适宜水深：单位（m）';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."BOTM_MATER" IS '适宜底质';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."WQTQ" IS '水质要求：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."HABITAT" IS '主要生活环境 1=流水生境 2=静缓流生境 3=洞穴生境';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SITUATION" IS '种群现状 1=优势种 2=常见种 3=少见种 4=记录种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."RESOURCE_TYPE" IS '资源类型 1=保护鱼类 2=特有鱼类 3=重要经济鱼类 4=濒危状况';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SHAPEDESC" IS '形态描述';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."PROTECTLVL" IS '保护级别';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."HABITATION" IS '栖息习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FID" IS '附件.关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B"."SPAWN_MONTH" IS '产卵月份：多个月份以逗号分隔';
COMMENT ON TABLE "QGC"."SD_FISHDICTORY_B" IS '鱼类信息表';

-- ----------------------------
-- Table structure for SD_FISHDICTORY_B_240528SP
-- ----------------------------
DROP TABLE "QGC"."SD_FISHDICTORY_B_240528SP";
CREATE TABLE "QGC"."SD_FISHDICTORY_B_240528SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" NVARCHAR2(200) NOT NULL,
  "NAME" NVARCHAR2(255) NOT NULL,
  "NAME_EN" NVARCHAR2(255),
  "ALIAS" NVARCHAR2(255),
  "LOGO" VARCHAR2(255 BYTE),
  "INTRODUCE" NVARCHAR2(1024),
  "INFFILE" VARCHAR2(500 BYTE),
  "ORDERS" NVARCHAR2(20),
  "FAMILY" NVARCHAR2(20),
  "GENUS" NVARCHAR2(20),
  "SPECIES" NVARCHAR2(20),
  "TYPE" NUMBER(1,0),
  "FSZ" VARCHAR2(255 BYTE),
  "RARE" NUMBER(1,0),
  "SPEC_ORIGIN" NUMBER(1,0),
  "PTYPE" NUMBER(1,0),
  "RVCD" VARCHAR2(36 BYTE),
  "HABIT_MIGRAT" NVARCHAR2(255),
  "FEEDING_HABIT" NVARCHAR2(255),
  "SPAWN_CHARACT" NVARCHAR2(255),
  "FOOD" NVARCHAR2(255),
  "TIME_FEED" NVARCHAR2(255),
  "ORIGN_DATE" NVARCHAR2(2000),
  "PRETEMP" VARCHAR2(255 BYTE),
  "FLOW_RATE" VARCHAR2(255 BYTE),
  "DEPTH" VARCHAR2(255 BYTE),
  "BOTM_MATER" VARCHAR2(255 BYTE),
  "WQTQ" VARCHAR2(500 BYTE),
  "HABITAT" NUMBER(1,0),
  "SITUATION" NUMBER(1,0),
  "RESOURCE_TYPE" NUMBER(1,0),
  "SHAPEDESC" NVARCHAR2(2000),
  "PROTECTLVL" VARCHAR2(255 BYTE),
  "HABITATION" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "DESCRIPTION" NVARCHAR2(1024),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."NAME_EN" IS '英文名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ALIAS" IS '俗名';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."LOGO" IS 'LOGO';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."INTRODUCE" IS '介绍';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."INFFILE" IS '介绍弹窗图片';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ORDERS" IS '目';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FAMILY" IS '科';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."GENUS" IS '属';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SPECIES" IS '种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."TYPE" IS '分类：1=淡水 2=海水';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FSZ" IS '成鱼大小：单位：cm';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."RARE" IS '是否珍稀鱼类：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SPEC_ORIGIN" IS '物种来源：1=本土物种 2=外来物种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."PTYPE" IS '保护类型：1=濒危 2=极危 3=近危 4=易危 5=重点保护 6=无危 7=国家二级 8=市二级保护';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."RVCD" IS '所属流域：关联SD_WBS_B.ID，节点类型为rvcd';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."HABIT_MIGRAT" IS '洄游习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FEEDING_HABIT" IS '摄食习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SPAWN_CHARACT" IS '产卵特性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FOOD" IS '主要食物';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."TIME_FEED" IS '觅食时段';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ORIGN_DATE" IS '产地及产期';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."PRETEMP" IS '适宜温度：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FLOW_RATE" IS '适宜流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."DEPTH" IS '适宜水深：单位（m）';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."BOTM_MATER" IS '适宜底质';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."WQTQ" IS '水质要求：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."HABITAT" IS '主要生活环境 1=流水生境 2=静缓流生境 3=洞穴生境';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SITUATION" IS '种群现状 1=优势种 2=常见种 3=少见种 4=记录种';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."RESOURCE_TYPE" IS '资源类型 1=保护鱼类 2=特有鱼类 3=重要经济鱼类 4=濒危状况';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SHAPEDESC" IS '形态描述';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."PROTECTLVL" IS '保护级别';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."HABITATION" IS '栖息习性';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FID" IS '附件.关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_B_240528SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FISHDICTORY_B_240528SP" IS '鱼类信息表';

-- ----------------------------
-- Table structure for SD_FISHDICTORY_RLTN_B
-- ----------------------------
DROP TABLE "QGC"."SD_FISHDICTORY_RLTN_B";
CREATE TABLE "QGC"."SD_FISHDICTORY_RLTN_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "FISH_ID" NVARCHAR2(36) DEFAULT NULL NOT NULL,
  "FISH_NAME" NVARCHAR2(255),
  "ZY_FISH_ID" NVARCHAR2(36),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DESCRIPTION" NVARCHAR2(1024)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."RVCD" IS '基地流域编码: SJLY148=大渡河 SJLY1U=黄河干流上游 SJLY126=澜沧江干流 SJLY176=雅砻江 SJLY169=丰满以上 SJLY168=丰满以下';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."FISH_ID" IS '流域鱼种类id';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."FISH_NAME" IS '流域鱼种类名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."ZY_FISH_ID" IS '总院鱼种类id';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B"."DESCRIPTION" IS '描述';
COMMENT ON TABLE "QGC"."SD_FISHDICTORY_RLTN_B" IS '鱼类信息流域映射关系表';

-- ----------------------------
-- Table structure for SD_FISHDICTORY_RLTN_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP";
CREATE TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RVCD" VARCHAR2(36 BYTE) NOT NULL,
  "FISH_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FISH_NAME" NVARCHAR2(255),
  "ZY_FISH_ID" VARCHAR2(36 BYTE),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."RVCD" IS '基地流域编码: SJLY148=大渡河 SJLY1U=黄河干流上游 SJLY126=澜沧江干流 SJLY176=雅砻江 SJLY169=丰满以上 SJLY168=丰满以下';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."FISH_ID" IS '流域鱼种类id';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."FISH_NAME" IS '流域鱼种类名称';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."ZY_FISH_ID" IS '总院鱼种类id';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FISHDICTORY_RLTN_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" IS '鱼类信息流域映射关系表';

-- ----------------------------
-- Table structure for SD_FPC_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPC_R";
CREATE TABLE "QGC"."SD_FPC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "LEFTTR" NUMBER(11,0),
  "LEFTTR_FAIL" NUMBER(11,0),
  "RIGHTTL" NUMBER(11,0),
  "RIGHTTL_FAIL" NUMBER(11,0),
  "VIDEOURL" VARCHAR2(255 BYTE),
  "IMGURL" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "END_TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPC_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."STCD" IS '所属过鱼计数站码，关联SD_STINFO_B_H.STCD';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."TM" IS '时间，精确到秒';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."LEFTTR" IS '下行：从左向右游向数量，单位：尾';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."LEFTTR_FAIL" IS '从左向右游向失败数量，单位：条';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."RIGHTTL" IS '上行：从右向左游向数量，单位：尾';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."RIGHTTL_FAIL" IS '从右向左游向失败数量，单位：条';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."VIDEOURL" IS '视频地址';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."IMGURL" IS '图片地址';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."END_TM" IS '数据结束时间';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FPC_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_FPC_R" IS '过鱼计数监测数据表';

-- ----------------------------
-- Table structure for SD_FPDESIGNSTAND_B
-- ----------------------------
DROP TABLE "QGC"."SD_FPDESIGNSTAND_B";
CREATE TABLE "QGC"."SD_FPDESIGNSTAND_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FREQUENCY" NUMBER(3,0),
  "NUM" NUMBER(6,0),
  "FTP" NVARCHAR2(255) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "STMONTH" VARCHAR2(80 BYTE),
  "ETMMONTH" VARCHAR2(80 BYTE),
  "DIRECTION" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."ID" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."STCD" IS '过鱼设施编码:关联SD_STINFO_B_H.STCD';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."FREQUENCY" IS '运行频次';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."NUM" IS '过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."FTP" IS '过鱼类型';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPDESIGNSTAND_B"."DIRECTION" IS '游向：0=上行 1=下行';
COMMENT ON TABLE "QGC"."SD_FPDESIGNSTAND_B" IS '过鱼设施设计标准表';

-- ----------------------------
-- Table structure for SD_FPKPI_B
-- ----------------------------
DROP TABLE "QGC"."SD_FPKPI_B";
CREATE TABLE "QGC"."SD_FPKPI_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "YR" NUMBER(4,0) NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "MINUM" NUMBER(8,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."STCD" IS '过鱼设施';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."YR" IS '年份：数据时间，精确到年。';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."FTP" IS '鱼种类';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."MINUM" IS '最低数量（指标）';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPKPI_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FPKPI_B" IS '过鱼设施1指标表';

-- ----------------------------
-- Table structure for SD_FPRDENV_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPRDENV_R";
CREATE TABLE "QGC"."SD_FPRDENV_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "PH" NUMBER(10,2),
  "WT" NUMBER(10,2),
  "DOX" NUMBER(10,2),
  "Q" NUMBER(10,2),
  "V" NUMBER(10,2),
  "WIND" NUMBER(10,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."STCD" IS '调查鱼类装置编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."PH" IS 'PH值';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."DOX" IS '溶解氧';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."Q" IS '流量';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."V" IS '流速';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."WIND" IS '风力';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDENV_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FPRDENV_R" IS '调查鱼类装置环境监测数据表';

-- ----------------------------
-- Table structure for SD_FPRDFISH_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPRDFISH_R";
CREATE TABLE "QGC"."SD_FPRDFISH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FPRDR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" VARCHAR2(36 BYTE),
  "NAME" VARCHAR2(128 BYTE),
  "NUM" NUMBER(10,0),
  "FSZ" NUMBER(10,2),
  "WEIGHT" NUMBER(10,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."FPRDR_ID" IS '调查鱼类装置监测表ID：关联SD_FPRD_R.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."STCD" IS '调查鱼类装置编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."FTP" IS '鱼类编码';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."NAME" IS '鱼类名称';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."NUM" IS '鱼类数量（默认1）';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."FSZ" IS '鱼尺寸';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."WEIGHT" IS '鱼重量';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPRDFISH_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FPRDFISH_R" IS '调查鱼类装置鱼类数据详情表';

-- ----------------------------
-- Table structure for SD_FPRD_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPRD_R";
CREATE TABLE "QGC"."SD_FPRD_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(20 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "IMG_PATH" VARCHAR2(255 BYTE),
  "FLPTH" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."STCD" IS '调查鱼类装置编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."IMG_PATH" IS '监测视频图片';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."FLPTH" IS '监测视频文件ID（多个逗号分隔）';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPRD_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_FPRD_R" IS '调查鱼类装置监测表';

-- ----------------------------
-- Table structure for SD_FPRUNPLAN_B
-- ----------------------------
DROP TABLE "QGC"."SD_FPRUNPLAN_B";
CREATE TABLE "QGC"."SD_FPRUNPLAN_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "START_TIME" DATE NOT NULL,
  "END_TIME" DATE NOT NULL,
  "VLSR" VARCHAR2(100 BYTE),
  "YR" NUMBER(4,0),
  "PYCNT" NUMBER(10,0),
  "POF" NUMBER(10,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DIRECTION" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "COMMENTS" VARCHAR2(200 BYTE),
  "TOTAL" NUMBER(10,0),
  "FISHSPEC" VARCHAR2(36 BYTE),
  "FTP" NVARCHAR2(2000)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."START_TIME" IS '计划运行开始时间';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."END_TIME" IS '计划运行结束时间';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."PYCNT" IS '全年计划运行次数(升鱼机 字段)';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."POF" IS '实际运行频次';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."DIRECTION" IS '游向：0=上行 1=下行';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."TOTAL" IS '数量(尾)';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."FISHSPEC" IS '鱼类规格(cm)';
COMMENT ON COLUMN "QGC"."SD_FPRUNPLAN_B"."FTP" IS '鱼种类';
COMMENT ON TABLE "QGC"."SD_FPRUNPLAN_B" IS '过鱼设施3运行计划表';

-- ----------------------------
-- Table structure for SD_FPRUN_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPRUN_R";
CREATE TABLE "QGC"."SD_FPRUN_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "DIRECTION" NUMBER(1,0),
  "RCNT" NUMBER(8,0),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."STCD" IS '设施编码';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."DIRECTION" IS '游向：0=上行,1=下行';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."RCNT" IS '运行次数';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPRUN_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_FPRUN_R" IS '过鱼运行次数表';

-- ----------------------------
-- Table structure for SD_FPSSQDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSQDAY_S";
CREATE TABLE "QGC"."SD_FPSSQDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "TEMPERATURE" NUMBER(15,8),
  "WATERLEVEL" NUMBER(15,8),
  "SPEED" NUMBER(15,8),
  "Q" NUMBER(15,5),
  "DOX" NUMBER(15,8),
  "TU" NUMBER(15,8),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "CQ" NUMBER(15,5),
  "NO3" NUMBER(15,3),
  "COND" NUMBER(15,2),
  "PH" NUMBER(15,2),
  "ORP" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "SPEED1" NUMBER(15,8),
  "SPEED2" NUMBER(15,8),
  "SPEED3" NUMBER(15,8),
  "SPEED4" NUMBER(15,8),
  "SPEED5" NUMBER(15,8),
  "SPEED6" NUMBER(15,8)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."DT" IS '日期。精确到天，格式：yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."TEMPERATURE" IS '水温，单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."WATERLEVEL" IS '水位，单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED" IS '流速，单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."Q" IS '流量，单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."DOX" IS '溶氧，单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."TU" IS '浊度，单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."CQ" IS '累计流量，单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."NO3" IS '硝氮/硝酸盐氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."COND" IS '电导率 单位：μS/cm';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."ORP" IS '氧化还原电位：单位：mV';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."NH3N" IS '氨氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED1" IS '流速1';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED2" IS '流速2';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED3" IS '流速3';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED4" IS '流速4';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED5" IS '流速5';
COMMENT ON COLUMN "QGC"."SD_FPSSQDAY_S"."SPEED6" IS '流速6';
COMMENT ON TABLE "QGC"."SD_FPSSQDAY_S" IS '过鱼设施传感器数据日统计表';

-- ----------------------------
-- Table structure for SD_FPSSQDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSQDRTP_S";
CREATE TABLE "QGC"."SD_FPSSQDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "TEMPERATURE" NUMBER(15,8),
  "WATERLEVEL" NUMBER(15,8),
  "SPEED" NUMBER(15,8),
  "Q" NUMBER(15,5),
  "DOX" NUMBER(15,8),
  "TU" NUMBER(15,8),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE,
  "CQ" NUMBER(15,5),
  "NO3" NUMBER(15,3),
  "COND" NUMBER(15,2),
  "PH" NUMBER(15,2),
  "ORP" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "SPEED1" NUMBER(15,8),
  "SPEED2" NUMBER(15,8),
  "SPEED3" NUMBER(15,8),
  "SPEED4" NUMBER(15,8),
  "SPEED5" NUMBER(15,8),
  "SPEED6" NUMBER(15,8)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."TEMPERATURE" IS '水温，单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."WATERLEVEL" IS '水位，单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED" IS '流速，单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."Q" IS '流量，单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DOX" IS '溶氧，单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."TU" IS '浊度，单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."CQ" IS '累计流量，单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."NO3" IS '硝氮/硝酸盐氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."COND" IS '电导率 单位：μS/cm';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."ORP" IS '氧化还原电位：单位：mV';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."NH3N" IS '氨氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED1" IS '流速1';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED2" IS '流速2';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED3" IS '流速3';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED4" IS '流速4';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED5" IS '流速5';
COMMENT ON COLUMN "QGC"."SD_FPSSQDRTP_S"."SPEED6" IS '流速6';
COMMENT ON TABLE "QGC"."SD_FPSSQDRTP_S" IS '过鱼设施传感器数据周旬月季年统计表';

-- ----------------------------
-- Table structure for SD_FPSSQ_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSQ_R";
CREATE TABLE "QGC"."SD_FPSSQ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TEMPERATURE" NUMBER(15,8),
  "WATERLEVEL" NUMBER(15,8),
  "SPEED" NUMBER(15,8),
  "Q" NUMBER(15,5),
  "DOX" NUMBER(15,8),
  "TU" NUMBER(15,8),
  "NO3" NUMBER(9,3),
  "COND" NUMBER(11,2),
  "PH" NUMBER(4,2),
  "ORP" NUMBER(4,2),
  "NH3N" NUMBER(9,3),
  "SPEED1" NUMBER(15,8),
  "SPEED2" NUMBER(15,8),
  "SPEED3" NUMBER(15,8),
  "SPEED4" NUMBER(15,8),
  "SPEED5" NUMBER(15,8),
  "SPEED6" NUMBER(15,8),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "CQ" NUMBER(15,5)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."STCD" IS '过鱼设施编码';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."TEMPERATURE" IS '水温，单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."WATERLEVEL" IS '水位，单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED" IS '流速，单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."Q" IS '流量，单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."DOX" IS '溶氧，单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."TU" IS '浊度，单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."NO3" IS '硝氮/硝酸盐氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."COND" IS '电导率 单位：μS/cm';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."ORP" IS '氧化还原电位：单位：mV';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."NH3N" IS '氨氮 单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED1" IS '流速1';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED2" IS '流速2';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED3" IS '流速3';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED4" IS '流速4';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED5" IS '流速5';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."SPEED6" IS '流速6';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSQ_R"."CQ" IS '累计流量，单位：m3/s';
COMMENT ON TABLE "QGC"."SD_FPSSQ_R" IS '过鱼设施6传感器设备监测数据表';

-- ----------------------------
-- Table structure for SD_FPSSRLQDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSRLQDAY_S";
CREATE TABLE "QGC"."SD_FPSSRLQDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "FTP" NVARCHAR2(200),
  "FCNT" NUMBER(8,0),
  "TEMPERATURE" NUMBER(10,2),
  "WATERLEVEL" NUMBER(10,2),
  "SPEED" NUMBER(10,2),
  "Q" NUMBER(9,3),
  "DOX" NUMBER(4,2),
  "TU" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FSZ" VARCHAR2(32 BYTE),
  "LENGTH" NUMBER(10,2),
  "WIDTH" NUMBER(18,0),
  "FISHSPEED" VARCHAR2(100 BYTE),
  "DIRECTION" NUMBER(1,0),
  "FISHPOSITION" NUMBER(18,0),
  "FIRSTIMGURL" VARCHAR2(2000 BYTE),
  "SECONDIMGURL" VARCHAR2(2000 BYTE),
  "VIDEOURL" VARCHAR2(2000 BYTE),
  "CHANNELNO" VARCHAR2(64 BYTE) DEFAULT '主通道'
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."STCD" IS '过鱼设施编码: 关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DT" IS '日期。精确到天，格式：yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FCNT" IS '自动过鱼设施过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."TEMPERATURE" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."WATERLEVEL" IS '水位：单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."SPEED" IS '流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."Q" IS '流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DOX" IS '溶氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FSZ" IS '鱼尺寸：大=大,中=中,小=小"';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."LENGTH" IS '鱼长度';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."WIDTH" IS '鱼宽度';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FISHSPEED" IS '鱼速度';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."DIRECTION" IS '游向：0=上行 1=下行';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FISHPOSITION" IS '鱼位置';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."FIRSTIMGURL" IS '鱼截图主图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."SECONDIMGURL" IS '鱼截图副图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."VIDEOURL" IS '视频url';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDAY_S"."CHANNELNO" IS '过鱼通道';
COMMENT ON TABLE "QGC"."SD_FPSSRLQDAY_S" IS '过鱼设施自动数据(带水温,流速)日统计表';

-- ----------------------------
-- Table structure for SD_FPSSRLQDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSRLQDRTP_S";
CREATE TABLE "QGC"."SD_FPSSRLQDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "FTP" NVARCHAR2(200),
  "FCNT" NUMBER(18,0),
  "TEMPERATURE" NUMBER(10,2),
  "WATERLEVEL" NUMBER(10,2),
  "SPEED" NUMBER(10,2),
  "Q" NUMBER(9,3),
  "DOX" NUMBER(4,2),
  "TU" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."STCD" IS '过鱼设施编码: 关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."FCNT" IS '自动过鱼设施过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."TEMPERATURE" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."WATERLEVEL" IS '水位：单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."SPEED" IS '流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."Q" IS '流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DOX" IS '溶氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSRLQDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_FPSSRLQDRTP_S" IS '过鱼设施自动数据(带水温,流速)周旬月年统计表';

-- ----------------------------
-- Table structure for SD_FPSSRL_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSRL_R";
CREATE TABLE "QGC"."SD_FPSSRL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FCNT" NUMBER(8,0) DEFAULT 1 NOT NULL,
  "FSZ" VARCHAR2(8 BYTE),
  "LENGTH" NUMBER(10,2),
  "WIDTH" NUMBER(18,0),
  "FISHSPEED" VARCHAR2(10 BYTE),
  "DIRECTION" NUMBER(1,0),
  "FISHPOSITION" NUMBER(18,0),
  "FIRSTIMGURL" VARCHAR2(255 BYTE),
  "SECONDIMGURL" VARCHAR2(255 BYTE),
  "VIDEOURL" VARCHAR2(255 BYTE),
  "TEMPERATURE" NUMBER(10,2),
  "WATERLEVEL" NUMBER(10,2),
  "SPEED" NUMBER(10,2),
  "Q" NUMBER(9,3),
  "DOX" NUMBER(4,2),
  "TU" NUMBER(4,0),
  "CHANNELNO" VARCHAR2(64 BYTE) DEFAULT '主通道' NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FID" VARCHAR2(2000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."STCD" IS '过鱼设施编码';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FTP" IS '鱼种类';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FCNT" IS '过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FSZ" IS '鱼尺寸：大=大,中=中,小=小"';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."LENGTH" IS '鱼长度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."WIDTH" IS '鱼宽度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FISHSPEED" IS '鱼速度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."DIRECTION" IS '游向：0=上行 1=下行';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FISHPOSITION" IS '鱼位置';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FIRSTIMGURL" IS '鱼截图主图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."SECONDIMGURL" IS '鱼截图副图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."VIDEOURL" IS '视频url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."TEMPERATURE" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."WATERLEVEL" IS '水位：单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."SPEED" IS '流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."Q" IS '流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."DOX" IS '溶氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."CHANNELNO" IS '过鱼通道';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_FPSSRL_R" IS '过鱼设施5自动数据表';

-- ----------------------------
-- Table structure for SD_FPSSRL_R_260211
-- ----------------------------
DROP TABLE "QGC"."SD_FPSSRL_R_260211";
CREATE TABLE "QGC"."SD_FPSSRL_R_260211" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FCNT" NUMBER(8,0) DEFAULT 1 NOT NULL,
  "FSZ" VARCHAR2(8 BYTE),
  "LENGTH" NUMBER(10,2),
  "WIDTH" NUMBER(18,0),
  "FISHSPEED" VARCHAR2(10 BYTE),
  "DIRECTION" NUMBER(1,0),
  "FISHPOSITION" NUMBER(18,0),
  "FIRSTIMGURL" VARCHAR2(255 BYTE),
  "SECONDIMGURL" VARCHAR2(255 BYTE),
  "VIDEOURL" VARCHAR2(255 BYTE),
  "TEMPERATURE" NUMBER(10,2),
  "WATERLEVEL" NUMBER(10,2),
  "SPEED" NUMBER(10,2),
  "Q" NUMBER(9,3),
  "DOX" NUMBER(4,2),
  "TU" NUMBER(4,0),
  "CHANNELNO" VARCHAR2(64 BYTE) DEFAULT '主通道' NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FID" VARCHAR2(2000 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."STCD" IS '过鱼设施编码';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FTP" IS '鱼种类';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FCNT" IS '过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FSZ" IS '鱼尺寸：大=大,中=中,小=小"';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."LENGTH" IS '鱼长度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."WIDTH" IS '鱼宽度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FISHSPEED" IS '鱼速度';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."DIRECTION" IS '游向：0=上行 1=下行';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FISHPOSITION" IS '鱼位置';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FIRSTIMGURL" IS '鱼截图主图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."SECONDIMGURL" IS '鱼截图副图片url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."VIDEOURL" IS '视频url';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."TEMPERATURE" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."WATERLEVEL" IS '水位：单位：m';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."SPEED" IS '流速：单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."Q" IS '流量：单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."DOX" IS '溶氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."CHANNELNO" IS '过鱼通道';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FPSSRL_R_260211"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_FPSSRL_R_260211" IS '过鱼设施5自动数据表';

-- ----------------------------
-- Table structure for SD_FPSS_R
-- ----------------------------
DROP TABLE "QGC"."SD_FPSS_R";
CREATE TABLE "QGC"."SD_FPSS_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(256 BYTE),
  "FCNT" NUMBER(8,0) NOT NULL,
  "FQ" NUMBER(9,3),
  "EDT" TIMESTAMP(6),
  "VDPTH" VARCHAR2(256 BYTE),
  "YR" NUMBER(4,0),
  "MOUTH" VARCHAR2(200 BYTE),
  "STRDT" TIMESTAMP(6),
  "ENDDT" TIMESTAMP(6),
  "FID" VARCHAR2(1000 BYTE),
  "DIRECTION" NUMBER(1,0),
  "TRUCK_WAY" VARCHAR2(50 BYTE),
  "RCNT" NUMBER(2,0),
  "POF" NUMBER(10,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FWEIGHT" VARCHAR2(50 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE),
  "COMMENTS" VARCHAR2(200 BYTE),
  "FWET" VARCHAR2(50 BYTE),
  "AI_STCD" VARCHAR2(36 BYTE),
  "V" NUMBER(9,3),
  "AT" NUMBER(5,1),
  "WTMP" NUMBER(9,3)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."STCD" IS '过鱼设施编码';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FSZ" IS '鱼类规格，单位：cm';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FCNT" IS '过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FQ" IS '过鱼设施引用流量';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."EDT" IS '结束日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."VDPTH" IS '过鱼视频文件路径';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."YR" IS '年份：数据时间，精确到年。';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."MOUTH" IS '主要月份';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."STRDT" IS '开始日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."ENDDT" IS '结束日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."DIRECTION" IS '游向：0=上行,1=下行';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."TRUCK_WAY" IS '升鱼机装车方式';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."RCNT" IS '当日运行次数';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."FWET" IS '平均体重。单位：KG';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."AI_STCD" IS 'AI设施编码;区分填报来源(非空为AI填报任务填报的数据，否则为人工填报)';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."V" IS '流速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSS_R"."WTMP" IS '水温：单位：℃';
COMMENT ON TABLE "QGC"."SD_FPSS_R" IS '过鱼设施5人工数据表';

-- ----------------------------
-- Table structure for SD_FPSS_R_240731
-- ----------------------------
DROP TABLE "QGC"."SD_FPSS_R_240731";
CREATE TABLE "QGC"."SD_FPSS_R_240731" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(256 BYTE),
  "FCNT" NUMBER(8,0) NOT NULL,
  "FQ" NUMBER(9,3),
  "EDT" TIMESTAMP(6),
  "VDPTH" VARCHAR2(256 BYTE),
  "YR" NUMBER(4,0),
  "MOUTH" VARCHAR2(200 BYTE),
  "STRDT" TIMESTAMP(6),
  "ENDDT" TIMESTAMP(6),
  "FID" VARCHAR2(1000 BYTE),
  "DIRECTION" NUMBER(1,0),
  "TRUCK_WAY" VARCHAR2(50 BYTE),
  "RCNT" NUMBER(2,0),
  "POF" NUMBER(10,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FWEIGHT" VARCHAR2(50 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE),
  "COMMENTS" VARCHAR2(200 BYTE),
  "FWET" VARCHAR2(50 BYTE),
  "AI_STCD" VARCHAR2(36 BYTE),
  "V" NUMBER(9,3),
  "AT" NUMBER(5,1),
  "WTMP" NUMBER(9,3)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."STCD" IS '过鱼设施编码';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FTP" IS '鱼类';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FSZ" IS '鱼类规格，单位：cm';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FCNT" IS '过鱼数量';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FQ" IS '过鱼设施引用流量';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."EDT" IS '结束日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."VDPTH" IS '过鱼视频文件路径';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."YR" IS '年份：数据时间，精确到年。';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."MOUTH" IS '主要月份';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."STRDT" IS '开始日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."ENDDT" IS '结束日期';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."DIRECTION" IS '游向：0=上行,1=下行';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."TRUCK_WAY" IS '升鱼机装车方式';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."RCNT" IS '当日运行次数';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."FWET" IS '平均体重。单位：KG';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."AI_STCD" IS 'AI设施编码;区分填报来源(非空为AI填报任务填报的数据，否则为人工填报)';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."V" IS '流速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_FPSS_R_240731"."WTMP" IS '水温：单位：℃';
COMMENT ON TABLE "QGC"."SD_FPSS_R_240731" IS '过鱼设施5人工数据表';

-- ----------------------------
-- Table structure for SD_GTZKQ_C
-- ----------------------------
DROP TABLE "QGC"."SD_GTZKQ_C";
CREATE TABLE "QGC"."SD_GTZKQ_C" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6) NOT NULL,
  "Z" NUMBER(7,3) NOT NULL,
  "K" NUMBER(5,2) NOT NULL,
  "Q" NUMBER(9,3) NOT NULL,
  "VLSR" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."STCD" IS '闸门编码。单位：';
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."TM" IS '数据时间。单位：';
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."Z" IS '水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."K" IS '开度。单位：m';
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."Q" IS '流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_GTZKQ_C"."VLSR" IS '数据来源。单位：';
COMMENT ON TABLE "QGC"."SD_GTZKQ_C" IS '本表存储水库泄水闸门的水位～开度～流量特性曲线，表中数据为单孔闸门';

-- ----------------------------
-- Table structure for SD_HBZLVIEW_R
-- ----------------------------
DROP TABLE "QGC"."SD_HBZLVIEW_R";
CREATE TABLE "QGC"."SD_HBZLVIEW_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "HBZL_ID" VARCHAR2(36 BYTE) NOT NULL,
  "USER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6),
  "REMARK" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."HBZL_ID" IS '关联SD_HBZL_B.ID';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."USER_ID" IS '用户Id';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."TM" IS '查看时间';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HBZLVIEW_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_HBZLVIEW_R" IS '用户查看环保风貌记录表';

-- ----------------------------
-- Table structure for SD_HBZL_B
-- ----------------------------
DROP TABLE "QGC"."SD_HBZL_B";
CREATE TABLE "QGC"."SD_HBZL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TITLE" VARCHAR2(200 BYTE) NOT NULL,
  "AUTHOR" VARCHAR2(100 BYTE) NOT NULL,
  "CONTENT" NCLOB NOT NULL,
  "FMTYPE" VARCHAR2(255 BYTE) NOT NULL,
  "IMPIS" VARCHAR2(2 BYTE),
  "FILEID" VARCHAR2(36 BYTE),
  "LABELID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "AUTHOR_NAME" VARCHAR2(100 BYTE),
  "LTTD" NUMBER(10,6),
  "LGTD" NUMBER(10,6),
  "PICTURE" VARCHAR2(200 BYTE),
  "TM" DATE,
  "COMPANY" VARCHAR2(36 BYTE),
  "PUBLISHER" VARCHAR2(50 BYTE),
  "AUTHOR_DEPT" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."TITLE" IS '标题';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."AUTHOR" IS '作者(起草人)';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."CONTENT" IS '内容(富文本采用BASE64编码,编码为UTF-8)';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."FMTYPE" IS '环保风貌类型：2=保护行动 3=内部环保工作 4=集团内部信息 5=环保行业信息 6=环保作风采展 7=环保风貌图片';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."IMPIS" IS '是否重大活动：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."FILEID" IS '重大活动文件ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."LABELID" IS 'LABEL图片ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."FID" IS '重大活动文件ID：关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."AUTHOR_NAME" IS '作者名称';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."LTTD" IS '纬度';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."LGTD" IS '经度';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."PICTURE" IS '图片';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."TM" IS '活动时间';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."COMPANY" IS '新闻发布人单位';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."PUBLISHER" IS '发布人';
COMMENT ON COLUMN "QGC"."SD_HBZL_B"."AUTHOR_DEPT" IS '起草部门';
COMMENT ON TABLE "QGC"."SD_HBZL_B" IS '环保风貌';

-- ----------------------------
-- Table structure for SD_HYDROPWDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_HYDROPWDAY_S";
CREATE TABLE "QGC"."SD_HYDROPWDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "RZ" NUMBER(15,3),
  "W" NUMBER(15,4),
  "DZ" NUMBER(15,3),
  "QI" NUMBER(15,3),
  "QO" NUMBER(15,3),
  "QN" NUMBER(15,3),
  "QGT" NUMBER(15,3),
  "QEC" NUMBER(15,3),
  "QC" NUMBER(15,3),
  "GE" NUMBER(15,4),
  "NA" NUMBER(15,4),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" NUMBER(9,0),
  "SFDB_ZY" NUMBER(9,0),
  "SFDB_ZN" NUMBER(9,0),
  "SFDB_ZO" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "GTW" NUMBER(15,4),
  "WGE" NUMBER(15,4),
  "QR" NUMBER(15,3),
  "WR" NUMBER(15,2),
  "QLSS" NUMBER(15,3),
  "ELSS" NUMBER(15,4),
  "EEXTR" NUMBER(15,4),
  "ELRPTD" NUMBER(15,4),
  "ELCAL" NUMBER(15,4),
  "NMAX" NUMBER(15,4),
  "QMAX" NUMBER(15,3)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."RZ" IS '坝上水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."W" IS '蓄水量单位：10？m3';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."DZ" IS '坝下水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QI" IS '入库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QO" IS '出库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QN" IS '发电流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QGT" IS '泄洪流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QEC" IS '生态流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QC" IS '灌溉流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."GE" IS '发电量单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."NA" IS '平均出力：MW';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_HY" IS '生态流量达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_HN" IS '生态流量未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_HO" IS '生态流量异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_ZY" IS '水位达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_ZN" IS '水位未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."SFDB_ZO" IS '水位异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."GTW" IS '泄洪水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."WGE" IS '发电水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QR" IS '区间流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."WR" IS '耗水率';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QLSS" IS '到达满发还可引用发电流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."ELSS" IS '泄洪水量折算电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."EEXTR" IS '距离预想出力还可发电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."ELRPTD" IS '弃水电量_上报（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."ELCAL" IS '计算弃水电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."NMAX" IS '预想出力';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDAY_S"."QMAX" IS '满发流量';
COMMENT ON TABLE "QGC"."SD_HYDROPWDAY_S" IS '电站运行数据日统计表';

-- ----------------------------
-- Table structure for SD_HYDROPWDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_HYDROPWDRTP_S";
CREATE TABLE "QGC"."SD_HYDROPWDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RZ" NUMBER(15,3),
  "W" NUMBER(15,4),
  "DZ" NUMBER(15,3),
  "QI" NUMBER(15,3),
  "QO" NUMBER(15,3),
  "QN" NUMBER(15,3),
  "QGT" NUMBER(15,3),
  "QEC" NUMBER(15,3),
  "QC" NUMBER(15,3),
  "GE" NUMBER(15,4),
  "NA" NUMBER(15,4),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" NUMBER(9,0),
  "SFDB_ZY" NUMBER(9,0),
  "SFDB_ZN" NUMBER(9,0),
  "SFDB_ZO" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "GTW" NUMBER(15,4),
  "WGE" NUMBER(15,4),
  "QR" NUMBER(15,3),
  "WR" NUMBER(15,2),
  "QLSS" NUMBER(15,3),
  "ELSS" NUMBER(15,4),
  "EEXTR" NUMBER(15,4),
  "ELRPTD" NUMBER(15,4),
  "ELCAL" NUMBER(15,4),
  "NMAX" NUMBER(15,4),
  "QMAX" NUMBER(15,3),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."RZ" IS '坝上水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."W" IS '蓄水量单位：10？m3';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DZ" IS '坝下水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QI" IS '入库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QO" IS '出库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QN" IS '发电流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QGT" IS '泄洪流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QEC" IS '生态流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QC" IS '灌溉流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."GE" IS '发电量单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."NA" IS '平均出力：MW';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_HY" IS '生态流量达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_HN" IS '生态流量未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_HO" IS '生态流量异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_ZY" IS '水位达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_ZN" IS '水位未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."SFDB_ZO" IS '水位异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."GTW" IS '泄洪水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."WGE" IS '发电水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QR" IS '区间流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."WR" IS '耗水率';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QLSS" IS '到达满发还可引用发电流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."ELSS" IS '泄洪水量折算电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."EEXTR" IS '距离预想出力还可发电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."ELRPTD" IS '弃水电量_上报（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."ELCAL" IS '计算弃水电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."NMAX" IS '预想出力';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."QMAX" IS '满发流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_HYDROPWDRTP_S" IS '电站运行数据维度统计表';

-- ----------------------------
-- Table structure for SD_HYDROPWDRTP_S_240716
-- ----------------------------
DROP TABLE "QGC"."SD_HYDROPWDRTP_S_240716";
CREATE TABLE "QGC"."SD_HYDROPWDRTP_S_240716" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RZ" NUMBER(15,3),
  "W" NUMBER(15,4),
  "DZ" NUMBER(15,3),
  "QI" NUMBER(15,3),
  "QO" NUMBER(15,3),
  "QN" NUMBER(15,3),
  "QGT" NUMBER(15,3),
  "QEC" NUMBER(15,3),
  "QC" NUMBER(15,3),
  "GE" NUMBER(15,4),
  "NA" NUMBER(15,4),
  "SFDB_HY" NUMBER(9,0),
  "SFDB_HN" NUMBER(9,0),
  "SFDB_HO" NUMBER(9,0),
  "SFDB_ZY" NUMBER(9,0),
  "SFDB_ZN" NUMBER(9,0),
  "SFDB_ZO" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "GTW" NUMBER(15,4),
  "WGE" NUMBER(15,4),
  "QR" NUMBER(15,3),
  "WR" NUMBER(15,2),
  "QLSS" NUMBER(15,3),
  "ELSS" NUMBER(15,4),
  "EEXTR" NUMBER(15,4),
  "ELRPTD" NUMBER(15,4),
  "ELCAL" NUMBER(15,4),
  "NMAX" NUMBER(15,4),
  "QMAX" NUMBER(15,3),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."RZ" IS '坝上水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."W" IS '蓄水量单位：10？m3';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DZ" IS '坝下水位单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QI" IS '入库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QO" IS '出库流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QN" IS '发电流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QGT" IS '泄洪流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QEC" IS '生态流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QC" IS '灌溉流量单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."GE" IS '发电量单位：万kW*h';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."NA" IS '平均出力：MW';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_HY" IS '生态流量达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_HN" IS '生态流量未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_HO" IS '生态流量异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_ZY" IS '水位达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_ZN" IS '水位未达标数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."SFDB_ZO" IS '水位异常数';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."GTW" IS '泄洪水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."WGE" IS '发电水量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QR" IS '区间流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."WR" IS '耗水率';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QLSS" IS '到达满发还可引用发电流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."ELSS" IS '泄洪水量折算电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."EEXTR" IS '距离预想出力还可发电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."ELRPTD" IS '弃水电量_上报（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."ELCAL" IS '计算弃水电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."NMAX" IS '预想出力';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."QMAX" IS '满发流量';
COMMENT ON COLUMN "QGC"."SD_HYDROPWDRTP_S_240716"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_HYDROPWDRTP_S_240716" IS '电站运行数据维度统计表';

-- ----------------------------
-- Table structure for SD_HYDROPW_R
-- ----------------------------
DROP TABLE "QGC"."SD_HYDROPW_R";
CREATE TABLE "QGC"."SD_HYDROPW_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "RZ" NUMBER(7,3),
  "W" NUMBER(8,4),
  "DZ" NUMBER(7,3),
  "QI" NUMBER(9,3),
  "QO" NUMBER(9,3),
  "QN" NUMBER(9,3),
  "QGT" NUMBER(9,3),
  "QEC" NUMBER(9,3),
  "QC" NUMBER(9,3),
  "GE" NUMBER(9,4),
  "NA" NUMBER(9,4),
  "SFDB" NUMBER(1,0),
  "GTW" NUMBER(12,4),
  "WGE" NUMBER(12,4),
  "QR" NUMBER(9,3),
  "WR" NUMBER(5,2),
  "QLSS" NUMBER(9,3),
  "ELSS" NUMBER(10,4),
  "EEXTR" NUMBER(9,4),
  "ELRPTD" NUMBER(9,4),
  "ELCAL" NUMBER(9,4),
  "NMAX" NUMBER(9,4),
  "QMAX" NUMBER(9,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."RZ" IS '坝上水位：该时刻电站坝上水位值。单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."W" IS '蓄水量：该时刻电站坝上水位值对应的蓄水量。单位：108m3';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."DZ" IS '坝下水位：该时刻电站坝下水位值。单位：m';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QI" IS '入库流量：电站的时段总入库流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QO" IS '出库流量：电站的时段平均下泄流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QN" IS '发电流量：电站的时段平均发电流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QGT" IS '泄洪流量：电站的时段平均泄洪流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QEC" IS '生态流量：电站生态渠的时段平均下泄流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QC" IS '灌溉流量：电站的时段平均引水灌溉流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."GE" IS '发电量：电站该时段累积发电量。单位：万KW*h';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."NA" IS '平均出力：电站该时段的平均出力。单位：MW';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."SFDB" IS '生态流量是否达标';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."GTW" IS '泄洪水量。单位：10？m3';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."WGE" IS '发电水量：该时刻电站发电水量。';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QR" IS '区间流量：通过该电站的时段入库流量与所有上游电站的下泄流量作差求出，当前不考虑滞时。';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."WR" IS '耗水率：该时刻电站耗水率。单位：m3/kW*h';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QLSS" IS '到达满发还可引用发电流量。';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."ELSS" IS '泄洪水量折算电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."EEXTR" IS '距离预想出力还可发电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."ELRPTD" IS '弃水电量_上报（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."ELCAL" IS '计算弃水电量（万kW*h）';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."NMAX" IS '预想出力。单位：MW';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."QMAX" IS '满发流量，预想出力对应发电流量。';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_HYDROPW_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_HYDROPW_R" IS '电站运行数据表';

-- ----------------------------
-- Table structure for SD_INV_B
-- ----------------------------
DROP TABLE "QGC"."SD_INV_B";
CREATE TABLE "QGC"."SD_INV_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE),
  "INV_TYPE" VARCHAR2(50 BYTE),
  "YR" NUMBER(4,0),
  "TOTINV" NUMBER(12,4),
  "NUM" NUMBER(5,0),
  "UNITPRICE" NUMBER(20,4),
  "BLPRD" NUMBER(8,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_INV_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_INV_B"."STCD" IS '工程/设施/测站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_INV_B"."INV_TYPE" IS '投资类型：1=环保总投资 2=环保静态总投资 3=水 4=大气 5=声 6=固废 7=陆生 8=水生 9=景观 10=人群健康 11=环境监测 12=科研及其他 13=水保 15=移民安置区环水保 16=环保建设投资(黄河) 17=环保运行投资(黄河) 存储字典值，字典项为sd_inv_b. inv_type';
COMMENT ON COLUMN "QGC"."SD_INV_B"."YR" IS '年份';
COMMENT ON COLUMN "QGC"."SD_INV_B"."TOTINV" IS '投资金额：单位：万元';
COMMENT ON COLUMN "QGC"."SD_INV_B"."NUM" IS '投资数量';
COMMENT ON COLUMN "QGC"."SD_INV_B"."UNITPRICE" IS '投资单价单位：万元';
COMMENT ON COLUMN "QGC"."SD_INV_B"."BLPRD" IS '工程/设施/测站所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_INV_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_INV_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_INV_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_INV_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_INV_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_INV_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_INV_B" IS '工程/设施/测站投资信息表';

-- ----------------------------
-- Table structure for SD_PPTNDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_PPTNDAY_S";
CREATE TABLE "QGC"."SD_PPTNDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(15,3),
  "INTV" NUMBER(4,0),
  "PDR" NUMBER(15,2),
  "DYP" NUMBER(15,3),
  "WTH" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."STCD" IS '雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."TYPE" IS '类型：0=降雨 1=其他类型降水转换的降雨比如降雪等';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."WTH" IS '天气状况：5=雪 6=雨夹雪 7=雨 8=阴 9=晴';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_PPTNDAY_S" IS '降雨量监测数据天表';

-- ----------------------------
-- Table structure for SD_PPTNDAY_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_PPTNDAY_S_240725";
CREATE TABLE "QGC"."SD_PPTNDAY_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(15,3),
  "INTV" NUMBER(4,0),
  "PDR" NUMBER(15,2),
  "DYP" NUMBER(15,3),
  "WTH" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."STCD" IS '雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."TYPE" IS '类型：ext{"enum":"0=降雨&1=其他类型降水转换的降雨比如降雪等"}';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."WTH" IS '天气状况 ext{"enum":"5=雪&6=雨夹雪&7=雨&8=阴&9=晴"}';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDAY_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_PPTNDAY_S_240725" IS '降雨量监测数据天表';

-- ----------------------------
-- Table structure for SD_PPTNDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_PPTNDRTP_S";
CREATE TABLE "QGC"."SD_PPTNDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(15,3),
  "INTV" NUMBER(15,0),
  "PDR" NUMBER(15,2),
  "DYP" NUMBER(15,3),
  "WTH" VARCHAR2(1 BYTE),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."STCD" IS '雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."TYPE" IS '类型：0=降雨 1=其他类型降水转换的降雨比如降雪等';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."WTH" IS '天气状况：5=雪 6=雨夹雪 7=雨 8=阴 9=晴';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_PPTNDRTP_S" IS '降雨量监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_PPTNDRTP_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_PPTNDRTP_S_240725";
CREATE TABLE "QGC"."SD_PPTNDRTP_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(15,3),
  "INTV" NUMBER(15,0),
  "PDR" NUMBER(15,2),
  "DYP" NUMBER(15,3),
  "WTH" VARCHAR2(1 BYTE),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."STCD" IS '雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."TYPE" IS '类型：ext{"enum":"0=降雨&1=其他类型降水转换的降雨比如降雪等"}';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."WTH" IS '天气状况 ext{"enum":"5=雪&6=雨夹雪&7=雨&8=阴&9=晴"}';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PPTNDRTP_S_240725"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_PPTNDRTP_S_240725" IS '降雨量监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_PPTN_R
-- ----------------------------
DROP TABLE "QGC"."SD_PPTN_R";
CREATE TABLE "QGC"."SD_PPTN_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(9,3),
  "INTV" NUMBER(4,0),
  "PDR" NUMBER(5,2),
  "DYP" NUMBER(9,3),
  "WTH" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."STCD" IS '测站站码：雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."TYPE" IS '类型：0=降雨 1=其他类型降水转换的降雨比如降雪等';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."WTH" IS '天气状况：5=雪 6=雨夹雪 7=雨 8=阴 9=晴';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_PPTN_R" IS '降水量监测数据表';

-- ----------------------------
-- Table structure for SD_PPTN_R_240725
-- ----------------------------
DROP TABLE "QGC"."SD_PPTN_R_240725";
CREATE TABLE "QGC"."SD_PPTN_R_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TYPE" VARCHAR2(1 BYTE) DEFAULT 0 NOT NULL,
  "DRP" NUMBER(9,3),
  "INTV" NUMBER(4,0),
  "PDR" NUMBER(5,2),
  "DYP" NUMBER(9,3),
  "WTH" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."STCD" IS '测站站码：雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."TYPE" IS '类型：ext{"enum":"0=降雨&1=其他类型降水转换的降雨比如降雪等"}';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."DRP" IS '降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."INTV" IS '时段长：描述测站所报时段降水量的历时时段长度。单位：h';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."PDR" IS '降水历时：描述指定时段的实际降雨时间。数据存储的格式是HH.NN，其中HH为小时数，取值为00～23；NN为分钟数，取值为01～59。当降水历时为整小时数时，可只列小时数。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."DYP" IS '日降水量：每日早8点报文中包含昨日日降水量。表示前一天8时至截至8时共计24h的累计降水量。单位：mm。';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."WTH" IS '天气状况 ext{"enum":"5=雪&6=雨夹雪&7=雨&8=阴&9=晴"}';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_PPTN_R_240725"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_PPTN_R_240725" IS '降水量监测数据表';

-- ----------------------------
-- Table structure for SD_PRNNTENVF_B
-- ----------------------------
DROP TABLE "QGC"."SD_PRNNTENVF_B";
CREATE TABLE "QGC"."SD_PRNNTENVF_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "PRENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PERQST" NUMBER(1,0),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "ENVPRIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE),
  "PROGRESS" NUMBER(5,2),
  "IMAGE_ID" VARCHAR2(2000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."PRENVFTP" IS '类型：1=生态流量泄放 2=分层取水 3=过鱼 4=鱼类增殖放流 5=栖息地保护 6=人工产卵场 7=珍稀植物园 8=动物救助站';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."PERQST" IS '规划环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."ENVPRIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."ISBUILD" IS '建设/施工期是否落实：0=未落实 1=落实 2=正在开展';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."ENVF_ID" IS '环保设施建设落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."PROGRESS" IS '工程进度';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B"."IMAGE_ID" IS '照片';
COMMENT ON TABLE "QGC"."SD_PRNNTENVF_B" IS '永久环保设施(措施)设计和落实情况表';

-- ----------------------------
-- Table structure for SD_PRNNTENVF_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_PRNNTENVF_B_240410SP";
CREATE TABLE "QGC"."SD_PRNNTENVF_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "PRENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PERQST" NUMBER(1,0),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "ENVPRIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."PRENVFTP" IS '类型 ext{"enum":"1=生态流量泄放&2=分层取水&3=过鱼&4=鱼类增殖放流&5=栖息地保护&6=人工产卵场&7=珍稀植物园&8=动物救助站"}';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."PERQST" IS '规划环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."ENVPRIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."ISBUILD" IS '建设/施工期是否落实 ext{"enum":"0=未落实&1=落实&2=正在开展"}';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."ENVF_ID" IS '环保设施建设落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240410SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_PRNNTENVF_B_240410SP" IS '工程永久环保设施(措施)设计和落实情况表';

-- ----------------------------
-- Table structure for SD_PRNNTENVF_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_PRNNTENVF_B_240611SP";
CREATE TABLE "QGC"."SD_PRNNTENVF_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "PRENVFTP" NUMBER(2,0) NOT NULL,
  "NM" VARCHAR2(64 BYTE),
  "DSCMNT" VARCHAR2(1000 BYTE),
  "PERQST" NUMBER(1,0),
  "PRDSGN" NUMBER(1,0),
  "EIARQST" NUMBER(1,0),
  "FSBLDSGN" NUMBER(1,0),
  "EXMDSGN" NUMBER(1,0),
  "BDSIMLP" NUMBER(1,0),
  "CONSTRIMPL" NUMBER(1,0),
  "IMPDIMPL" NUMBER(1,0),
  "ENVPRIMPL" NUMBER(1,0),
  "SPECIALDESIG" NUMBER(1,0),
  "ISBUILD" NUMBER(1,0),
  "ISCOMPLETION" NUMBER(1,0),
  "TM" DATE,
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "ENVF_ID" VARCHAR2(36 BYTE),
  "EIA_REPORT" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."STCD" IS '工程编码';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."PRENVFTP" IS '类型 ext{"enum":"1=生态流量泄放&2=分层取水&3=过鱼&4=鱼类增殖放流&5=栖息地保护&6=人工产卵场&7=珍稀植物园&8=动物救助站"}';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."NM" IS '设施（措施）名称';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."DSCMNT" IS '描述';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."PERQST" IS '规划环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."PRDSGN" IS '预可是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."EIARQST" IS '环评是否有要求：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."FSBLDSGN" IS '可研是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."EXMDSGN" IS '核准是否设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."BDSIMLP" IS '招标设计是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."CONSTRIMPL" IS '施工详图是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."IMPDIMPL" IS '蓄水环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."ENVPRIMPL" IS '竣工环保验收是否落实：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."SPECIALDESIG" IS '专项设计：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."ISBUILD" IS '建设/施工期是否落实 ext{"enum":"0=未落实&1=落实&2=正在开展"}';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."ISCOMPLETION" IS '竣工验收：0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."TM" IS '录入时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."FID" IS '支撑材料';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."ENVF_ID" IS '环保设施建设落实情况主表ID';
COMMENT ON COLUMN "QGC"."SD_PRNNTENVF_B_240611SP"."EIA_REPORT" IS '环评报告书要求';
COMMENT ON TABLE "QGC"."SD_PRNNTENVF_B_240611SP" IS '工程永久环保设施(措施)设计和落实情况表';

-- ----------------------------
-- Table structure for SD_QECDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_QECDAY_S";
CREATE TABLE "QGC"."SD_QECDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "QEC" NUMBER(15,3),
  "WATERFLOW" NUMBER(15,4),
  "TPQEC" VARCHAR2(40 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "QEC_LIMIT" NUMBER(10,5),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5),
  "QEC_RULE_DID" VARCHAR2(64 BYTE),
  "QEC_MWRRULE_DID" VARCHAR2(64 BYTE),
  "SHOW_FLAG" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."STCD" IS '水电工程编码：关联SD_ENGINFO_B.STCD。';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."DT" IS '数据识别时间';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."QEC" IS '生态流量：电站生态渠的时段平均下泄流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."WATERFLOW" IS 'AI识别生态流量值';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."TPQEC" IS '生态流量泄放方式：生态流量的下泄方式，不同方式之间用英文逗号隔开。';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."SFDB" IS '生态流量是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."QEC_LIMIT" IS '生态流量限值(环保部)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."MWR_LIMIT" IS '生态流量限值(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."AVQ_LIMIT" IS '生态流量限值(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."MWR_SFDB" IS '生态流量是否达标(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."AVQ_SFDB" IS '生态流量是否达标(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."QEC_C" IS '生态流量限值系数(环保部)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."MWR_C" IS '生态流量限值系数(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."AVQ_C" IS '生态流量系数(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."QEC_RULE_DID" IS '环保部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."QEC_MWRRULE_DID" IS '水利部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QECDAY_S"."SHOW_FLAG" IS '数据显示: 1环保部, 2水利部, 3多年平均,4 无';
COMMENT ON TABLE "QGC"."SD_QECDAY_S" IS '生态流量监测数据表';

-- ----------------------------
-- Table structure for SD_QECDAY_S_20250429
-- ----------------------------
DROP TABLE "QGC"."SD_QECDAY_S_20250429";
CREATE TABLE "QGC"."SD_QECDAY_S_20250429" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "QEC" NUMBER(15,3),
  "WATERFLOW" NUMBER(15,4),
  "TPQEC" VARCHAR2(40 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "QEC_LIMIT" NUMBER(10,5),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5),
  "QEC_RULE_DID" VARCHAR2(64 BYTE),
  "QEC_MWRRULE_DID" VARCHAR2(64 BYTE),
  "SHOW_FLAG" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_QECDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_QECDRTP_S";
CREATE TABLE "QGC"."SD_QECDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "QEC" NUMBER(15,3),
  "WATERFLOW" NUMBER(15,4),
  "TPQEC" VARCHAR2(40 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE,
  "QEC_LIMIT" NUMBER(10,5),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5),
  "QEC_RULE_DID" VARCHAR2(64 BYTE),
  "QEC_MWRRULE_DID" VARCHAR2(64 BYTE),
  "SHOW_FLAG" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."QEC" IS '生态流量：电站生态渠的时段平均下泄流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."WATERFLOW" IS 'AI识别生态流量值';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."TPQEC" IS '生态流量泄放方式：生态流量的下泄方式，不同方式之间用英文逗号隔开。';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."SFDB" IS '生态流量是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."QEC_LIMIT" IS '生态流量限值(环保部)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MWR_LIMIT" IS '生态流量限值(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."AVQ_LIMIT" IS '生态流量限值(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MWR_SFDB" IS '生态流量是否达标(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."AVQ_SFDB" IS '生态流量是否达标(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."QEC_C" IS '生态流量限值系数(环保部)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."MWR_C" IS '生态流量限值系数(水利部)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."AVQ_C" IS '生态流量系数(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."QEC_RULE_DID" IS '环保部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."QEC_MWRRULE_DID" IS '水利部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QECDRTP_S"."SHOW_FLAG" IS '数据显示: 1环保部, 2水利部, 3多年平均,4 无';
COMMENT ON TABLE "QGC"."SD_QECDRTP_S" IS '电站运行数据维度统计表';

-- ----------------------------
-- Table structure for SD_QEC_R
-- ----------------------------
DROP TABLE "QGC"."SD_QEC_R";
CREATE TABLE "QGC"."SD_QEC_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "QEC" NUMBER(9,3),
  "WATERFLOW" NUMBER(11,4),
  "TPQEC" VARCHAR2(40 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "QEC_LIMIT" NUMBER(10,5),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5),
  "QEC_RULE_DID" VARCHAR2(64 BYTE),
  "QEC_MWRRULE_DID" VARCHAR2(64 BYTE),
  "SHOW_FLAG" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_QEC_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."STCD" IS '水电工程编码：关联SD_ENGINFO_B.STCD。';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."TM" IS '数据识别时间';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."QEC" IS '生态流量：电站生态渠的时段平均下泄流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."WATERFLOW" IS 'AI识别生态流量值';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."TPQEC" IS '生态流量泄放方式：生态流量的下泄方式，不同方式之间用英文逗号隔开。';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."SFDB" IS '0-不达标,1-达标,2-无生态流量数据,3-无生态流量限值要求';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."QEC_LIMIT" IS '生态流量限值(环保部)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."MWR_LIMIT" IS '生态流量限值(水利部)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."AVQ_LIMIT" IS '生态流量限值(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."MWR_SFDB" IS '0-不达标,1-达标,2-无生态流量数据,3-无生态流量限值要求';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."AVQ_SFDB" IS '0-不达标,1-达标,2-无生态流量数据,3-无生态流量限值要求';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."QEC_C" IS '生态流量限值系数(环保部)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."MWR_C" IS '生态流量限值系数(水利部)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."AVQ_C" IS '生态流量系数(多年平均)';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."QEC_RULE_DID" IS '环保部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."QEC_MWRRULE_DID" IS '水利部生态流量告警规则详情ID';
COMMENT ON COLUMN "QGC"."SD_QEC_R"."SHOW_FLAG" IS '数据显示: 1环保部, 2水利部, 3多年平均,4 无';
COMMENT ON TABLE "QGC"."SD_QEC_R" IS '生态流量监测数据表';

-- ----------------------------
-- Table structure for SD_QEC_R_20250429
-- ----------------------------
DROP TABLE "QGC"."SD_QEC_R_20250429";
CREATE TABLE "QGC"."SD_QEC_R_20250429" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "QEC" NUMBER(9,3),
  "WATERFLOW" NUMBER(11,4),
  "TPQEC" VARCHAR2(40 BYTE),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "QEC_LIMIT" NUMBER(10,5),
  "MWR_LIMIT" NUMBER(10,5),
  "AVQ_LIMIT" NUMBER(10,5),
  "MWR_SFDB" NUMBER(1,0),
  "AVQ_SFDB" NUMBER(1,0),
  "QEC_C" NUMBER(10,5),
  "MWR_C" NUMBER(10,5),
  "AVQ_C" NUMBER(10,5),
  "QEC_RULE_DID" VARCHAR2(64 BYTE),
  "QEC_MWRRULE_DID" VARCHAR2(64 BYTE),
  "SHOW_FLAG" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_RIVERDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_RIVERDAY_S";
CREATE TABLE "QGC"."SD_RIVERDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" TIMESTAMP(6) NOT NULL,
  "Z" NUMBER(15,3),
  "Q" NUMBER(15,3),
  "V" NUMBER(15,3),
  "MSQMT" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT 'A62AB110-D4EC-FF3E-F293-140AB60CAE61',
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."Z" IS '水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."Q" IS '流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."V" IS '流速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."MSQMT" IS '测流方法';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_RIVERDAY_S" IS '河道水情监测数据天统计表';

-- ----------------------------
-- Table structure for SD_RIVERDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_RIVERDRTP_S";
CREATE TABLE "QGC"."SD_RIVERDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "Z" NUMBER(15,3),
  "Q" NUMBER(15,3),
  "V" NUMBER(15,3),
  "MSQMT" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) DEFAULT 'A62AB110-D4EC-FF3E-F293-140AB60CAE61' NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."Z" IS '水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."Q" IS '流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."V" IS '流速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."MSQMT" IS '测流方法';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_RIVERDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_RIVERDRTP_S" IS '河道水情监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_RIVER_R
-- ----------------------------
DROP TABLE "QGC"."SD_RIVER_R";
CREATE TABLE "QGC"."SD_RIVER_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "Z" NUMBER(9,3),
  "Q" NUMBER(9,3),
  "V" NUMBER(9,3),
  "MSQMT" VARCHAR2(1 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "FID" VARCHAR2(2000 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."ID" IS '主键：UUID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."Z" IS '水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."Q" IS '流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."V" IS '流速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."MSQMT" IS '测流方法';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_RIVER_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_RIVER_R" IS '河道水情监测数据表';

-- ----------------------------
-- Table structure for SD_RPIMNDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_RPIMNDAY_S";
CREATE TABLE "QGC"."SD_RPIMNDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TYPE" VARCHAR2(4 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FSZ" VARCHAR2(200 BYTE) NOT NULL,
  "FCNT" NUMBER(10,0) NOT NULL,
  "FWEIGHT" NUMBER(10,2),
  "BJTP" VARCHAR2(20 BYTE),
  "BJFTP" VARCHAR2(20 BYTE),
  "BJFCNT" NUMBER(10,0),
  "RSTCD" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."TYPE" IS '维度类型';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."FSZ" IS '放鱼规格';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."FCNT" IS '放鱼数量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."FWEIGHT" IS '重量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."BJTP" IS '标记方式';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."BJFTP" IS '标记种类';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."BJFCNT" IS '标记数量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."RSTCD" IS '放流来源（鱼类增殖站编码）';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_RPIMNDAY_S" IS '增殖放流数据';

-- ----------------------------
-- Table structure for SD_RPIMNDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_RPIMNDRTP_S";
CREATE TABLE "QGC"."SD_RPIMNDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "FSZ" VARCHAR2(200 BYTE) NOT NULL,
  "FCNT" NUMBER(10,0) NOT NULL,
  "FWEIGHT" NUMBER(10,2),
  "BJTP" VARCHAR2(20 BYTE),
  "BJFTP" VARCHAR2(20 BYTE),
  "BJFCNT" NUMBER(10,0),
  "RSTCD" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."STCD" IS '水电工程';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."FSZ" IS '放鱼规格';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."FCNT" IS '放鱼数量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."FWEIGHT" IS '重量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."BJTP" IS '标记方式';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."BJFTP" IS '标记种类';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."BJFCNT" IS '标记数量';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."RSTCD" IS '放流来源（鱼类增殖站编码）';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_RPIMNDRTP_S" IS '增殖放流数据（维度统计）';

-- ----------------------------
-- Table structure for SD_RPIMNFISH_R
-- ----------------------------
DROP TABLE "QGC"."SD_RPIMNFISH_R";
CREATE TABLE "QGC"."SD_RPIMNFISH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RPIMN_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(64) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(50 BYTE),
  "FWET" VARCHAR2(50 BYTE),
  "FCNT" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "TAGTE" VARCHAR2(64 BYTE),
  "TAGCNT" NUMBER(10,0) DEFAULT 0,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "FAGE" NVARCHAR2(50),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "PROTECTLVL" VARCHAR2(255 BYTE),
  "FA" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."RPIMN_ID" IS '放流实施ID：关联SD_ENGFR_R.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FSZ" IS '平均长度';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FWET" IS '平均体重。单位：KG';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FCNT" IS '计划放殖鱼数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."TAGTE" IS '标记类型';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."TAGCNT" IS '标记数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."PROTECTLVL" IS '保护级别';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R"."FA" IS '鱼苗属性';
COMMENT ON TABLE "QGC"."SD_RPIMNFISH_R" IS '工程放流5实施鱼类详情表';

-- ----------------------------
-- Table structure for SD_RPIMNFISH_R_250113
-- ----------------------------
DROP TABLE "QGC"."SD_RPIMNFISH_R_250113";
CREATE TABLE "QGC"."SD_RPIMNFISH_R_250113" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RPIMN_ID" VARCHAR2(36 BYTE) NOT NULL,
  "FTP" NVARCHAR2(64) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(50 BYTE),
  "FWET" VARCHAR2(50 BYTE),
  "FCNT" NUMBER(10,0) DEFAULT 0 NOT NULL,
  "TAGTE" VARCHAR2(64 BYTE),
  "TAGCNT" NUMBER(10,0) DEFAULT 0,
  "REMARK" VARCHAR2(255 BYTE),
  "ORDER_INDEX" NUMBER(11,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "FAGE" NVARCHAR2(50),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "PROTECTLVL" VARCHAR2(255 BYTE),
  "FA" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."RPIMN_ID" IS '放流实施ID：关联SD_ENGFR_R.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FTP" IS '鱼种类：关联SD_FISHDICTORY_B.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FSZ" IS '平均长度';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FWET" IS '平均体重。单位：KG';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FCNT" IS '计划放殖鱼数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."TAGTE" IS '标记类型';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."TAGCNT" IS '标记数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."ORDER_INDEX" IS '排序，建议业务规则“升序排序”';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FAGE" IS '鱼龄';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."PROTECTLVL" IS '保护级别';
COMMENT ON COLUMN "QGC"."SD_RPIMNFISH_R_250113"."FA" IS '鱼苗属性';
COMMENT ON TABLE "QGC"."SD_RPIMNFISH_R_250113" IS '工程放流5实施鱼类详情表';

-- ----------------------------
-- Table structure for SD_RSVRCSCD_B
-- ----------------------------
DROP TABLE "QGC"."SD_RSVRCSCD_B";
CREATE TABLE "QGC"."SD_RSVRCSCD_B" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RVCD" VARCHAR2(20 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "SRCDIS" NUMBER(7,2),
  "DMHG" NUMBER(7,2),
  "NORMZ" NUMBER(7,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ENNM" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."RVCD" IS '流域编码';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."SRCDIS" IS '距河口里程';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."DMHG" IS '坝址高程';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B"."ENNM" IS '电站名称';
COMMENT ON TABLE "QGC"."SD_RSVRCSCD_B" IS '水电站梯级流域指标表';

-- ----------------------------
-- Table structure for SD_RSVRCSCD_B_240821
-- ----------------------------
DROP TABLE "QGC"."SD_RSVRCSCD_B_240821";
CREATE TABLE "QGC"."SD_RSVRCSCD_B_240821" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "RVCD" VARCHAR2(20 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "SRCDIS" NUMBER(7,2),
  "DMHG" NUMBER(7,2),
  "NORMZ" NUMBER(7,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ENNM" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."RVCD" IS '流域编码';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."STCD" IS '水电工程编码';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."SRCDIS" IS '距河口里程';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."DMHG" IS '坝址高程';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."NORMZ" IS '正常蓄水位';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_RSVRCSCD_B_240821"."ENNM" IS '电站名称';
COMMENT ON TABLE "QGC"."SD_RSVRCSCD_B_240821" IS '水电站梯级流域指标表';

-- ----------------------------
-- Table structure for SD_RSVR_R
-- ----------------------------
DROP TABLE "QGC"."SD_RSVR_R";
CREATE TABLE "QGC"."SD_RSVR_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "TM" TIMESTAMP(6) NOT NULL,
  "RZ" NUMBER(9,3),
  "INQ" NUMBER(9,3),
  "W" NUMBER(9,3),
  "BLRZ" NUMBER(9,3),
  "OTQ" NUMBER(9,3),
  "RWCHRCD" VARCHAR2(2 BYTE),
  "RWPTN" VARCHAR2(2 BYTE),
  "INQDR" NUMBER(4,0),
  "MSQMT" VARCHAR2(2 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."STCD" IS '电站编码';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."RZ" IS '库水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."INQ" IS '入库流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."W" IS '蓄水量。单位：106m3';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."BLRZ" IS '库下水位。单位：m';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."OTQ" IS '出库流量。单位：m3/s';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."RWCHRCD" IS '库水特征码 1=干涸 2=断流 3=流向不定 4=逆流 5=起涨 6=洪峰 P=水电厂发电流量 字典编码：sd_rsvr_r.rwchrcd';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."RWPTN" IS '库水水势 4=落 5=涨 6=平 字典编码：sd_rsvr_r.rwptn';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."INQDR" IS '入流时段长。单位：min';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."MSQMT" IS '测流方法 1=水位流量关系曲线 2=浮标及溶液测流法 3=流速仪及量水建筑物 4=估算法 5=ADCP 6=电功率反推法 9=其它方法 字典编码：sd_rsvr_r.msqmt';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_RSVR_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_RSVR_R" IS '水库水情表';

-- ----------------------------
-- Table structure for SD_SBGL_R
-- ----------------------------
DROP TABLE "QGC"."SD_SBGL_R";
CREATE TABLE "QGC"."SD_SBGL_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "IS_NOR" NUMBER(1,0) NOT NULL,
  "STM" TIMESTAMP(6) NOT NULL,
  "ETM" TIMESTAMP(6) NOT NULL,
  "CONSTRUCTFS" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."STCD" IS '断面编码：与水温水质设备关联';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."IS_NOR" IS '设备状态：0=正常运行 1=设备故障';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."STM" IS '开始时间';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."ETM" IS '结束时间';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."CONSTRUCTFS" IS '说明';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SBGL_R"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_SBGL_R" IS '设备状态管理';

-- ----------------------------
-- Table structure for SD_SEDDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_SEDDAY_S";
CREATE TABLE "QGC"."SD_SEDDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "S" NUMBER(12,6),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."DT" IS '时间：日蒸发量的测验截止时间';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."S" IS '含沙量。单位：kg/m3';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SEDDAY_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_SEDDAY_S" IS '含沙量监测数据天统计表';

-- ----------------------------
-- Table structure for SD_SEDDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_SEDDRTP_S";
CREATE TABLE "QGC"."SD_SEDDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "DT" DATE,
  "S" NUMBER(12,6),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DT" IS '日期：存储规则,周维度记录在每周一;上中下旬维度记录在每月1号、11号、21号;月维度记录每月1日;季维度记录在1月1号,4月1号,7月1号,10月1号;年维度记录在1月1号';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."S" IS '含沙量。单位：kg/m3';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_SEDDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_SEDDRTP_S" IS '含沙量监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_SEDRFDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_SEDRFDAY_S";
CREATE TABLE "QGC"."SD_SEDRFDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WRNF" NUMBER(12,4),
  "STW" NUMBER(12,4),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."DT" IS '时间：日蒸发量的测验截止时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."WRNF" IS '输水总量：统计时段内通过测站测验断面的总水量，计量单位为106m3，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."STW" IS '输沙总量：统计时段内测站测验断面的输沙量，计量单位为104t，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDAY_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_SEDRFDAY_S" IS '输沙输水总量监测数据天统计表';

-- ----------------------------
-- Table structure for SD_SEDRFDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_SEDRFDRTP_S";
CREATE TABLE "QGC"."SD_SEDRFDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "DT" DATE,
  "WRNF" NUMBER(12,4),
  "STW" NUMBER(12,4),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DT" IS '日期：存储规则,周维度记录在每周一;上中下旬维度记录在每月1号、11号、21号;月维度记录每月1日;季维度记录在1月1号,4月1号,7月1号,10月1号;年维度记录在1月1号';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."WRNF" IS '输水总量：统计时段内通过测站测验断面的总水量，计量单位为106m3，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."STW" IS '输沙总量：统计时段内测站测验断面的输沙量，计量单位为104t，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_SEDRFDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_SEDRFDRTP_S" IS '输沙输水总量监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_SEDRF_R
-- ----------------------------
DROP TABLE "QGC"."SD_SEDRF_R";
CREATE TABLE "QGC"."SD_SEDRF_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WRNF" NUMBER(12,4),
  "STW" NUMBER(12,4),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."WRNF" IS '输水总量：统计时段内通过测站测验断面的总水量，计量单位为106m3，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."STW" IS '输沙总量：统计时段内测站测验断面的输沙量，计量单位为104t，计至4位小数。';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SEDRF_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_SEDRF_R" IS '输沙输水总量监测数据表';

-- ----------------------------
-- Table structure for SD_SED_R
-- ----------------------------
DROP TABLE "QGC"."SD_SED_R";
CREATE TABLE "QGC"."SD_SED_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "S" NUMBER(12,6),
  "SRCD" VARCHAR2(1 BYTE),
  "SMT" VARCHAR2(1 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SED_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SED_R"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_SED_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_SED_R"."S" IS '含沙量。单位：kg/m3';
COMMENT ON COLUMN "QGC"."SD_SED_R"."SRCD" IS '含沙量特征码：1=日均含沙量 2=沙峰';
COMMENT ON COLUMN "QGC"."SD_SED_R"."SMT" IS '含沙量测法：1=单样含沙量 2=推算断面平均含沙量 3=实测断面平均含沙量';
COMMENT ON COLUMN "QGC"."SD_SED_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_SED_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SED_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SED_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_SED_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SED_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_SED_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_SED_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_SED_R" IS '含沙量监测数据表';

-- ----------------------------
-- Table structure for SD_SHXY_B
-- ----------------------------
DROP TABLE "QGC"."SD_SHXY_B";
CREATE TABLE "QGC"."SD_SHXY_B" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "SHXYTYPE" NUMBER NOT NULL,
  "IMGURL" VARCHAR2(400 BYTE),
  "DES" NVARCHAR2(1000),
  "INFFILE" VARCHAR2(1000 BYTE),
  "DEPT_ID" VARCHAR2(36 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TITLE" VARCHAR2(50 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."SHXYTYPE" IS '社会效益类型：1=鱼类保护 2=生态调度 3=植物保护';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."IMGURL" IS '图片地址';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."DES" IS '描述';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."INFFILE" IS '介绍弹窗图片';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."DEPT_ID" IS '流域公司id：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_SHXY_B"."TITLE" IS '标题';
COMMENT ON TABLE "QGC"."SD_SHXY_B" IS '社会效益基础表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B";
CREATE TABLE "QGC"."SD_STATTRVAL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240410SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240410SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240410SP" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240520SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240520SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240520SP" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240520SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240520SP"."VLSR_TM" IS '数据来源时间';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240603SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240603SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240603SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240603SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240603SP" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240611SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240611SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240611SP" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240702SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240702SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240702SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240702SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240702SP" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240806SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240806SP";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240806SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240806SP"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240806SP" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_240812
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_240812";
CREATE TABLE "QGC"."SD_STATTRVAL_B_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_240812"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_240812" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTRVAL_B_250704dz
-- ----------------------------
DROP TABLE "QGC"."SD_STATTRVAL_B_250704dz";
CREATE TABLE "QGC"."SD_STATTRVAL_B_250704dz" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_VAL" VARCHAR2(3000 BYTE),
  "BLPRD_ID" VARCHAR2(36 BYTE),
  "ATTR_KEY" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ATTR_ID" IS '所属值属性：关联SD_STATTR_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ATTR_VAL" IS '值：字典数据存字典值';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."BLPRD_ID" IS '所属建设阶段：关联SD_STBLPRD_B.ID，没有建设阶段概念为空';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ATTR_KEY" IS '属性名：冗余字段不做为程序依据';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_STATTRVAL_B_250704dz"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_STATTRVAL_B_250704dz" IS '对象值表';

-- ----------------------------
-- Table structure for SD_STATTR_B
-- ----------------------------
DROP TABLE "QGC"."SD_STATTR_B";
CREATE TABLE "QGC"."SD_STATTR_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_KEY" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_DISPLAY" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(1000 BYTE),
  "UOM_ID" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATA_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "DATA_LENGTH" NUMBER(9,0),
  "DATA_PRECISION" NUMBER(9,0),
  "DATA_SCALE" NUMBER(9,0),
  "NULLABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATE_FORMAT" VARCHAR2(20 BYTE),
  "DICT_ID" VARCHAR2(36 BYTE),
  "CONTROL_ID" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(100 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DICT_TYPE" VARCHAR2(36 BYTE),
  "DICT_CODE" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."ATTR_KEY" IS '属性名';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."ATTR_DISPLAY" IS '属性显示名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."UOM_ID" IS '单位：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DATA_TYPE" IS '数据类型：STR=字符串 NUMBER=数字 DATETIME=日期时间 DATE=日期 TIME=时间；存储字典值大写，字典项为comm.data_type';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DATA_LENGTH" IS '长度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DATA_PRECISION" IS '精度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DATA_SCALE" IS '小数点后位数';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."NULLABLE" IS '是否允许为空 0=不允许 1=允许；';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DATE_FORMAT" IS '日期格式';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DICT_ID" IS '字典：关联字典表.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."CONTROL_ID" IS '前端控件：INPUT=文件框 DATETIME=日期框 SELECT=下拉框 SELECT_TREE=树形下拉框；存储字典值大写，字典项为comm.control_id';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."GROUP_NAME" IS '分组名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DICT_TYPE" IS '字典类型';
COMMENT ON COLUMN "QGC"."SD_STATTR_B"."DICT_CODE" IS '字典编码';
COMMENT ON TABLE "QGC"."SD_STATTR_B" IS '2对象(工程/设施/测站等)属性描述表';

-- ----------------------------
-- Table structure for SD_STATTR_B_20240520
-- ----------------------------
DROP TABLE "QGC"."SD_STATTR_B_20240520";
CREATE TABLE "QGC"."SD_STATTR_B_20240520" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_KEY" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_DISPLAY" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "UOM_ID" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) NOT NULL,
  "DATA_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "DATA_LENGTH" NUMBER(9,0),
  "DATA_PRECISION" NUMBER(9,0),
  "DATA_SCALE" NUMBER(9,0),
  "NULLABLE" NUMBER(1,0) NOT NULL,
  "DATE_FORMAT" VARCHAR2(20 BYTE),
  "DICT_ID" VARCHAR2(36 BYTE),
  "CONTROL_ID" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(100 BYTE),
  "INTERNAL" NUMBER(1,0) NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DICT_TYPE" VARCHAR2(36 BYTE),
  "DICT_CODE" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_STATTR_B_20240605
-- ----------------------------
DROP TABLE "QGC"."SD_STATTR_B_20240605";
CREATE TABLE "QGC"."SD_STATTR_B_20240605" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_KEY" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_DISPLAY" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(1000 BYTE),
  "UOM_ID" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATA_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "DATA_LENGTH" NUMBER(9,0),
  "DATA_PRECISION" NUMBER(9,0),
  "DATA_SCALE" NUMBER(9,0),
  "NULLABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATE_FORMAT" VARCHAR2(20 BYTE),
  "DICT_ID" VARCHAR2(36 BYTE),
  "CONTROL_ID" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(100 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DICT_TYPE" VARCHAR2(36 BYTE),
  "DICT_CODE" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."ATTR_KEY" IS '属性名';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."ATTR_DISPLAY" IS '属性显示名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."UOM_ID" IS '单位：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DATA_TYPE" IS '数据类型：STR=字符串 NUMBER=数字 DATETIME=日期时间 DATE=日期 TIME=时间；存储字典值大写，字典项为comm.data_type';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DATA_LENGTH" IS '长度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DATA_PRECISION" IS '精度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DATA_SCALE" IS '小数点后位数';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."NULLABLE" IS '是否允许为空 0=不允许 1=允许；';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DATE_FORMAT" IS '日期格式';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DICT_ID" IS '字典：关联字典表.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."CONTROL_ID" IS '前端控件：INPUT=文件框 DATETIME=日期框 SELECT=下拉框 SELECT_TREE=树形下拉框；存储字典值大写，字典项为comm.control_id';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."GROUP_NAME" IS '分组名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DICT_TYPE" IS '字典类型';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_20240605"."DICT_CODE" IS '字典编码';
COMMENT ON TABLE "QGC"."SD_STATTR_B_20240605" IS '2对象(工程/设施/测站等)属性描述表';

-- ----------------------------
-- Table structure for SD_STATTR_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_STATTR_B_240410SP";
CREATE TABLE "QGC"."SD_STATTR_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_KEY" VARCHAR2(36 BYTE) NOT NULL,
  "ATTR_DISPLAY" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "UOM_ID" VARCHAR2(36 BYTE),
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATA_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "DATA_LENGTH" NUMBER(9,0),
  "DATA_PRECISION" NUMBER(9,0),
  "DATA_SCALE" NUMBER(9,0),
  "NULLABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "DATE_FORMAT" VARCHAR2(20 BYTE),
  "DICT_ID" VARCHAR2(36 BYTE),
  "CONTROL_ID" VARCHAR2(36 BYTE),
  "GROUP_NAME" VARCHAR2(100 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DICT_TYPE" VARCHAR2(36 BYTE),
  "DICT_CODE" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."ATTR_KEY" IS '属性名';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."ATTR_DISPLAY" IS '属性显示名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."UOM_ID" IS '单位：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DATA_TYPE" IS '数据类型：STR=字符串 NUMBER=数字 DATETIME=日期时间 DATE=日期 TIME=时间；存储字典值大写，字典项为comm.data_type';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DATA_LENGTH" IS '长度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DATA_PRECISION" IS '精度';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DATA_SCALE" IS '小数点后位数';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."NULLABLE" IS '是否允许为空 0=不允许 1=允许；';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DATE_FORMAT" IS '日期格式';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DICT_ID" IS '字典：关联字典表.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."CONTROL_ID" IS '前端控件：INPUT=文件框 DATETIME=日期框 SELECT=下拉框 SELECT_TREE=树形下拉框；存储字典值大写，字典项为comm.control_id';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."GROUP_NAME" IS '分组名称';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DICT_TYPE" IS '字典类型';
COMMENT ON COLUMN "QGC"."SD_STATTR_B_240410SP"."DICT_CODE" IS '字典编码';
COMMENT ON TABLE "QGC"."SD_STATTR_B_240410SP" IS '2对象(工程/设施/测站等)属性描述表';

-- ----------------------------
-- Table structure for SD_STBLPRD_B
-- ----------------------------
DROP TABLE "QGC"."SD_STBLPRD_B";
CREATE TABLE "QGC"."SD_STBLPRD_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "BLPRD_CODE" VARCHAR2(10 BYTE) NOT NULL,
  "BLPRD_NAME" VARCHAR2(40 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "BLPRD_CCODE" VARCHAR2(100 BYTE),
  "BLPRD_CNAME" VARCHAR2(20 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."BLPRD_CODE" IS '业务编码：同对象业务类型编码唯一；1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=核准 1006000=招标设计 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."BLPRD_NAME" IS '业务名称';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."BLPRD_CCODE" IS '分类业务编码：场景1常规水电站针对建设阶段需要归纳7个阶段：1001000=规划 1002000=预可研 1003000=环评 1004000,1005000=可研/核准 1009000=建设 1011000=竣工 1013000=后评价；场景2过鱼设施针对建设阶段需要归纳5个阶段：1001000,1002000=规划 1003000,1004000,1005000=设计 1006000=招标 1007000,1009000,1010000=施工 1011000,1012000,1013000=竣工';
COMMENT ON COLUMN "QGC"."SD_STBLPRD_B"."BLPRD_CNAME" IS '分类业务名称';
COMMENT ON TABLE "QGC"."SD_STBLPRD_B" IS '5对象(工程/设施/测站等)建设阶段信息表';

-- ----------------------------
-- Table structure for SD_STBPRP_B
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B";
CREATE TABLE "QGC"."SD_STBPRP_B" (
  "STCD" VARCHAR2(64 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STBPRP_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_240410SP";
CREATE TABLE "QGC"."SD_STBPRP_B_240410SP" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240410SP"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B_240410SP" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STBPRP_B_240520SP
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_240520SP";
CREATE TABLE "QGC"."SD_STBPRP_B_240520SP" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_STBPRP_B_240605SP
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_240605SP";
CREATE TABLE "QGC"."SD_STBPRP_B_240605SP" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240605SP"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B_240605SP" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STBPRP_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_240611SP";
CREATE TABLE "QGC"."SD_STBPRP_B_240611SP" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240611SP"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B_240611SP" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STBPRP_B_240806SP
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_240806SP";
CREATE TABLE "QGC"."SD_STBPRP_B_240806SP" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_240806SP"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B_240806SP" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STBPRP_B_250704dz
-- ----------------------------
DROP TABLE "QGC"."SD_STBPRP_B_250704dz";
CREATE TABLE "QGC"."SD_STBPRP_B_250704dz" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STNM" VARCHAR2(200 BYTE) NOT NULL,
  "STTP" VARCHAR2(36 BYTE) NOT NULL,
  "RVNM" VARCHAR2(30 BYTE),
  "HNNM" VARCHAR2(30 BYTE),
  "BSNM" VARCHAR2(30 BYTE),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "STLC" VARCHAR2(200 BYTE),
  "ADDVCD" VARCHAR2(12 BYTE),
  "DTMNM" VARCHAR2(16 BYTE),
  "DTMEL" NUMBER(7,3),
  "DTPR" NUMBER(7,3),
  "FRGRD" NUMBER(1,0),
  "ESSTYM" VARCHAR2(6 BYTE),
  "BGFRYM" VARCHAR2(6 BYTE),
  "ATCUNIT" VARCHAR2(20 BYTE),
  "ADMAUTH" VARCHAR2(50 BYTE),
  "LOCALITY" VARCHAR2(20 BYTE),
  "STBK" CHAR(1 BYTE),
  "STAZT" NUMBER(3,0),
  "DSTRVM" NUMBER(6,1),
  "DRNA" NUMBER(7,0),
  "PHCD" VARCHAR2(6 BYTE),
  "USFL" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "COMMENTS" NVARCHAR2(200),
  "MODITIME" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STCD" IS '对象编码：按编码导则的规定执行';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STNM" IS '对象名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STTP" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."RVNM" IS '河流名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."HNNM" IS '水系名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."BSNM" IS '流域名称：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."LGTD" IS '经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."LTTD" IS '纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STLC" IS '站址';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."ADDVCD" IS '行政区划码：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."DTMNM" IS '基面名称';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."DTMEL" IS '基面高程（高程/海拔）';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."DTPR" IS '基面修正值';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."FRGRD" IS '报汛等级';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."ESSTYM" IS '建站年月：全过程不使用该字段';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."BGFRYM" IS '始报年月';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."ATCUNIT" IS '隶属行业单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."ADMAUTH" IS '信息管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."LOCALITY" IS '交换管理单位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STBK" IS '测站岸别';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."STAZT" IS '测站方位';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."DSTRVM" IS '至河口距离';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."DRNA" IS '集水面积';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."PHCD" IS '拼音码';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."USFL" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."COMMENTS" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STBPRP_B_250704dz"."MODITIME" IS '修改时间：全过程不使用该字段';
COMMENT ON TABLE "QGC"."SD_STBPRP_B_250704dz" IS '1对象(工程/设施/测站等)基础表';

-- ----------------------------
-- Table structure for SD_STRLTN_B
-- ----------------------------
DROP TABLE "QGC"."SD_STRLTN_B";
CREATE TABLE "QGC"."SD_STRLTN_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RLTVRK" NUMBER(4,0),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."WBS_ID" IS '所属节点：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."RLTVRK" IS '测站与工程相关性：比如一个环保设施对应多个工程时，最相关的工程为1，依次增加。或者特别关注的植物种类';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."ORDER_INDEX" IS '排序：工程与测站排序，工程对应多个测站时，相关的测站为1，依次增加';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_STRLTN_B" IS '7对象(工程/设施/测站等)与节点对应关系表';

-- ----------------------------
-- Table structure for SD_STRLTN_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_STRLTN_B_240410SP";
CREATE TABLE "QGC"."SD_STRLTN_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WBS_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RLTVRK" NUMBER(4,0),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."WBS_ID" IS '所属节点：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."RLTVRK" IS '测站与工程相关性：比如一个环保设施对应多个工程时，最相关的工程为1，依次增加。或者特别关注的植物种类';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."ORDER_INDEX" IS '排序：工程与测站排序，工程对应多个测站时，相关的测站为1，依次增加';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240410SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_STRLTN_B_240410SP" IS '7对象(工程/设施/测站等)与节点对应关系表';

-- ----------------------------
-- Table structure for SD_STRLTN_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_STRLTN_B_240611SP";
CREATE TABLE "QGC"."SD_STRLTN_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WBS_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RLTVRK" NUMBER(4,0),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."WBS_ID" IS '所属节点：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."RLTVRK" IS '测站与工程相关性：比如一个环保设施对应多个工程时，最相关的工程为1，依次增加。或者特别关注的植物种类';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."ORDER_INDEX" IS '排序：工程与测站排序，工程对应多个测站时，相关的测站为1，依次增加';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240611SP"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_STRLTN_B_240611SP" IS '7对象(工程/设施/测站等)与节点对应关系表';

-- ----------------------------
-- Table structure for SD_STRLTN_B_240812
-- ----------------------------
DROP TABLE "QGC"."SD_STRLTN_B_240812";
CREATE TABLE "QGC"."SD_STRLTN_B_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WBS_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RLTVRK" NUMBER(4,0),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."WBS_ID" IS '所属节点：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."RLTVRK" IS '测站与工程相关性：比如一个环保设施对应多个工程时，最相关的工程为1，依次增加。或者特别关注的植物种类';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."ORDER_INDEX" IS '排序：工程与测站排序，工程对应多个测站时，相关的测站为1，依次增加';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_240812"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_STRLTN_B_240812" IS '7对象(工程/设施/测站等)与节点对应关系表';

-- ----------------------------
-- Table structure for SD_STRLTN_B_250704dz
-- ----------------------------
DROP TABLE "QGC"."SD_STRLTN_B_250704dz";
CREATE TABLE "QGC"."SD_STRLTN_B_250704dz" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WBS_ID" VARCHAR2(36 BYTE) NOT NULL,
  "RLTVRK" NUMBER(4,0),
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "VLSR" VARCHAR2(800 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."STCD" IS '所属对象：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."WBS_ID" IS '所属节点：关联SD_WBS_B.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."RLTVRK" IS '测站与工程相关性：比如一个环保设施对应多个工程时，最相关的工程为1，依次增加。或者特别关注的植物种类';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."ORDER_INDEX" IS '排序：工程与测站排序，工程对应多个测站时，相关的测站为1，依次增加';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STRLTN_B_250704dz"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_STRLTN_B_250704dz" IS '7对象(工程/设施/测站等)与节点对应关系表';

-- ----------------------------
-- Table structure for SD_STTP_B
-- ----------------------------
DROP TABLE "QGC"."SD_STTP_B";
CREATE TABLE "QGC"."SD_STTP_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_CODE" VARCHAR2(20 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(40 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DTFRQCY" VARCHAR2(64 BYTE),
  "STTP_SNAME" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STTP_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."STTP_CODE" IS '业务编码：全局唯一';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."STTP_NAME" IS '业务名称';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."PARENT_ID" IS '所属业务：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."SD_STTP_B"."STTP_SNAME" IS '业务名简称';
COMMENT ON TABLE "QGC"."SD_STTP_B" IS '4对象业务类型(站类)信息表';

-- ----------------------------
-- Table structure for SD_STTP_B_20240520
-- ----------------------------
DROP TABLE "QGC"."SD_STTP_B_20240520";
CREATE TABLE "QGC"."SD_STTP_B_20240520" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_CODE" VARCHAR2(20 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "INTERNAL" NUMBER(1,0) NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DTFRQCY" VARCHAR2(64 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_STTP_B_20240605
-- ----------------------------
DROP TABLE "QGC"."SD_STTP_B_20240605";
CREATE TABLE "QGC"."SD_STTP_B_20240605" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_CODE" VARCHAR2(20 BYTE) NOT NULL,
  "STTP_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DTFRQCY" VARCHAR2(64 BYTE),
  "STTP_SNAME" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."STTP_CODE" IS '业务编码：全局唯一';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."STTP_NAME" IS '业务名称';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."PARENT_ID" IS '所属业务：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."DTFRQCY" IS '数据监测频次';
COMMENT ON COLUMN "QGC"."SD_STTP_B_20240605"."STTP_SNAME" IS '业务名简称';
COMMENT ON TABLE "QGC"."SD_STTP_B_20240605" IS '4对象业务类型(站类)信息表';

-- ----------------------------
-- Table structure for SD_TEDET_R
-- ----------------------------
DROP TABLE "QGC"."SD_TEDET_R";
CREATE TABLE "QGC"."SD_TEDET_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TE_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TETP" VARCHAR2(100 BYTE) NOT NULL,
  "TETP_EN" VARCHAR2(100 BYTE),
  "AREA" NUMBER(12,4) NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."TE_ID" IS '所属陆生生态记录 关联SD_TE_R.ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."TETP" IS '调查指标，比如：耕地、园地、林地、牧草地、建设用地、水域、未利用地';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."TETP_EN" IS '调查指标英文';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."AREA" IS '面积，单位：km2';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TEDET_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_TEDET_R" IS '陆生生态调查数据详情表';

-- ----------------------------
-- Table structure for SD_TERGB_B
-- ----------------------------
DROP TABLE "QGC"."SD_TERGB_B";
CREATE TABLE "QGC"."SD_TERGB_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "DD_TYPE" VARCHAR2(36 BYTE),
  "DD_CODE" VARCHAR2(36 BYTE),
  "IMAGE_TYPE" VARCHAR2(36 BYTE),
  "TETP" VARCHAR2(200 BYTE),
  "TETP_EN" VARCHAR2(200 BYTE),
  "RGB" VARCHAR2(100 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."DD_TYPE" IS '维度类型:basin=流域,district=行政区,hyBase=电站基地,company=公司,stcd=站点';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."DD_CODE" IS '维度编码,根据维度类型对应的基础表所对应的维度编码，比如：行政区SD_ADDVCD_DIC.ADDVCD';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."IMAGE_TYPE" IS '影像类型';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."TETP" IS '种类';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."TETP_EN" IS '种类英文名';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."RGB" IS 'RGB值';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TERGB_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_TERGB_B" IS '陆生生态调查数据影像配色表';

-- ----------------------------
-- Table structure for SD_TERS_R
-- ----------------------------
DROP TABLE "QGC"."SD_TERS_R";
CREATE TABLE "QGC"."SD_TERS_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TE_ID" VARCHAR2(64 BYTE) NOT NULL,
  "LAYER_TYPE" VARCHAR2(255 BYTE),
  "LAYER_NAME" VARCHAR2(255 BYTE),
  "SERVICE_TYPE" VARCHAR2(255 BYTE),
  "ADDRESS" VARCHAR2(3000 BYTE),
  "ADDRESS_THD" VARCHAR2(3000 BYTE),
  "LAYERS" VARCHAR2(255 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TERS_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."TE_ID" IS '生态调查ID, 关联SD_TE_R.ID';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."LAYER_TYPE" IS '图层类型';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."LAYER_NAME" IS '图层名称';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."SERVICE_TYPE" IS '服务类型';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."ADDRESS" IS '二维地址';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."ADDRESS_THD" IS '三维地址';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."LAYERS" IS '三维专用图层标识';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TERS_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_TERS_R" IS '陆生生态调查数据遥感影像GIS图层表';

-- ----------------------------
-- Table structure for SD_TE_R
-- ----------------------------
DROP TABLE "QGC"."SD_TE_R";
CREATE TABLE "QGC"."SD_TE_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "IMAGE_TYPE" VARCHAR2(36 BYTE) NOT NULL,
  "DD_TYPE" VARCHAR2(36 BYTE),
  "DD_CODE" VARCHAR2(36 BYTE),
  "DCPC" VARCHAR2(50 BYTE),
  "TM" DATE NOT NULL,
  "SVYSCP" VARCHAR2(512 BYTE),
  "LGLTTD" VARCHAR2(512 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(100 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "COMPANY" VARCHAR2(100 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TE_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_TE_R"."IMAGE_TYPE" IS '影像类型:1=陆生生态监测情况,2=生物多样性对比,3=生物系统质量';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DD_TYPE" IS '维度类型:basin=流域,district=行政区,hyBase=电站基地,company=公司,stcd=站点';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DD_CODE" IS '维度编码,根据维度类型对应的基础表所对应的维度编码，比如：行政区SD_WBS_B.WBS_CODE';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."SD_TE_R"."TM" IS '调查时间，精确到天';
COMMENT ON COLUMN "QGC"."SD_TE_R"."SVYSCP" IS '调查描述';
COMMENT ON COLUMN "QGC"."SD_TE_R"."LGLTTD" IS '调查范围（经纬度坐标) 各点位间用"-"分隔，如：(120.13,30.45)-(121.22,30.03)-(119.89,31.12)';
COMMENT ON COLUMN "QGC"."SD_TE_R"."FID" IS '附件ID，关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_TE_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TE_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TE_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TE_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TE_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TE_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TE_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_TE_R"."TASK_ID" IS '流程id';
COMMENT ON COLUMN "QGC"."SD_TE_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_TE_R"."COMPANY" IS '调查单位';
COMMENT ON TABLE "QGC"."SD_TE_R" IS '陆生生态调查数据表';

-- ----------------------------
-- Table structure for SD_TMPDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_TMPDAY_S";
CREATE TABLE "QGC"."SD_TMPDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "AT" NUMBER(15,1),
  "AP" NUMBER(16,1),
  "AH" NUMBER(15,1),
  "MXATMP" NUMBER(15,1),
  "MNATMP" NUMBER(15,1),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEWP" NUMBER(15,1),
  "FRSHTT" NUMBER(15,1),
  "SLP" NUMBER(15,1),
  "SNDP" NUMBER(15,1),
  "VISIB" NUMBER(15,1),
  "SWDN" NUMBER(15,2)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."STCD" IS '气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."VISIB" IS '能见度。单位：英里';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S"."SWDN" IS '地面辐射/太阳辐射/地表温度：兆焦每平方米(MJ/m2)';
COMMENT ON TABLE "QGC"."SD_TMPDAY_S" IS '气温气压监测数据天表';

-- ----------------------------
-- Table structure for SD_TMPDAY_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_TMPDAY_S_240725";
CREATE TABLE "QGC"."SD_TMPDAY_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "AT" NUMBER(15,1),
  "AP" NUMBER(16,1),
  "AH" NUMBER(15,1),
  "MXATMP" NUMBER(15,1),
  "MNATMP" NUMBER(15,1),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEWP" NUMBER(15,1),
  "FRSHTT" NUMBER(15,1),
  "SLP" NUMBER(15,1),
  "SNDP" NUMBER(15,1),
  "VISIB" NUMBER(15,1)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."STCD" IS '气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMPDAY_S_240725"."VISIB" IS '能见度。单位：英里';
COMMENT ON TABLE "QGC"."SD_TMPDAY_S_240725" IS '气温气压监测数据天表';

-- ----------------------------
-- Table structure for SD_TMPDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_TMPDRTP_S";
CREATE TABLE "QGC"."SD_TMPDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "AT" NUMBER(15,1),
  "AP" NUMBER(16,1),
  "AH" NUMBER(15,1),
  "MXATMP" NUMBER(15,1),
  "MNATMP" NUMBER(15,1),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEWP" NUMBER(15,1),
  "FRSHTT" NUMBER(15,1),
  "SLP" NUMBER(15,1),
  "SNDP" NUMBER(15,1),
  "VISIB" NUMBER(15,1),
  "TM" DATE,
  "SWDN" NUMBER(15,2)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."STCD" IS '气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."VISIB" IS '能见度。单位：英里';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S"."SWDN" IS '地面辐射/太阳辐射/地表温度：兆焦每平方米(MJ/m2)';
COMMENT ON TABLE "QGC"."SD_TMPDRTP_S" IS '气温气压监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_TMPDRTP_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_TMPDRTP_S_240725";
CREATE TABLE "QGC"."SD_TMPDRTP_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "AT" NUMBER(15,1),
  "AP" NUMBER(16,1),
  "AH" NUMBER(15,1),
  "MXATMP" NUMBER(15,1),
  "MNATMP" NUMBER(15,1),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEWP" NUMBER(15,1),
  "FRSHTT" NUMBER(15,1),
  "SLP" NUMBER(15,1),
  "SNDP" NUMBER(15,1),
  "VISIB" NUMBER(15,1),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."STCD" IS '气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."RECORD_USER" IS '创建人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."MODIFY_USER" IS '修改人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."MODIFY_TIME" IS '修改时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."IS_DELETED" IS '是否已删除 0=否 1=是';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DELETE_USER" IS '删除人';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DEPARTMENT_ID" IS '部门ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."VISIB" IS '能见度。单位：英里';
COMMENT ON COLUMN "QGC"."SD_TMPDRTP_S_240725"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_TMPDRTP_S_240725" IS '气温气压监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_TMP_R
-- ----------------------------
DROP TABLE "QGC"."SD_TMP_R";
CREATE TABLE "QGC"."SD_TMP_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "AT" NUMBER(5,1),
  "AP" NUMBER(6,1),
  "AH" NUMBER(5,1),
  "MXATMP" NUMBER(5,1),
  "MNATMP" NUMBER(5,1),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "DEWP" NUMBER(6,1),
  "FRSHTT" NUMBER(7,1),
  "SLP" NUMBER(6,1),
  "SNDP" NUMBER(6,1),
  "VISIB" NUMBER(6,1),
  "SWDN" NUMBER(6,2)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMP_R"."STCD" IS '测站站码：气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."TM" IS '数据时间精确到小时。';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."VISIB" IS '能见度。单位：英里';
COMMENT ON COLUMN "QGC"."SD_TMP_R"."SWDN" IS '地面辐射/太阳辐射/地表温度：兆焦每平方米(MJ/m2)';
COMMENT ON TABLE "QGC"."SD_TMP_R" IS '气温气压监测数据表';

-- ----------------------------
-- Table structure for SD_TMP_R_240725
-- ----------------------------
DROP TABLE "QGC"."SD_TMP_R_240725";
CREATE TABLE "QGC"."SD_TMP_R_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "AT" NUMBER(5,1),
  "AP" NUMBER(6,1),
  "AH" NUMBER(5,1),
  "MXATMP" NUMBER(5,1),
  "MNATMP" NUMBER(5,1),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "DEWP" NUMBER(6,1),
  "FRSHTT" NUMBER(7,1),
  "SLP" NUMBER(6,1),
  "SNDP" NUMBER(6,1),
  "VISIB" NUMBER(6,1)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."STCD" IS '测站站码：气象站编码';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."TM" IS '数据时间精确到小时。';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."AT" IS '气温：相应时间测站的气温。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."AP" IS '气压：大气压强。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."AH" IS '空气湿度：相对湿度。单位：%';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."MXATMP" IS '最高气温：统计时段内气温最高值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."MNATMP" IS '最低气温：统计时段内气温最低值，计量单位为℃。';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."DEWP" IS '平均露点。单位：℃';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."FRSHTT" IS '发生指标';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."SLP" IS '海平面气压。单位：102Pa';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."SNDP" IS '雪深。单位：英寸';
COMMENT ON COLUMN "QGC"."SD_TMP_R_240725"."VISIB" IS '能见度。单位：英里';
COMMENT ON TABLE "QGC"."SD_TMP_R_240725" IS '气温气压监测数据表';

-- ----------------------------
-- Table structure for SD_VABASIC_B
-- ----------------------------
DROP TABLE "QGC"."SD_VABASIC_B";
CREATE TABLE "QGC"."SD_VABASIC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NAME" NVARCHAR2(255) NOT NULL,
  "NAME_EN" NVARCHAR2(255),
  "ALIAS" NVARCHAR2(255),
  "CODE" NVARCHAR2(200),
  "LOGO" VARCHAR2(255 BYTE),
  "INTRODUCE" NVARCHAR2(1024),
  "INFFILE" VARCHAR2(255 BYTE),
  "FAMILY" NVARCHAR2(20),
  "GENUS" NVARCHAR2(20),
  "SPECIES" NVARCHAR2(20),
  "ORDERS" NVARCHAR2(20),
  "FID" VARCHAR2(1000 BYTE),
  "DESCRIPTION" NVARCHAR2(1024),
  "ENABLE" NUMBER(1,0) DEFAULT 1,
  "INTERNAL" NUMBER(1,0) DEFAULT 0,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PROTECTLVL" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."NAME" IS '动物名称';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."NAME_EN" IS '动物英文名称';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ALIAS" IS '俗名';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."CODE" IS '动物编码';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."LOGO" IS 'LOGO：文件相对路径';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."INTRODUCE" IS '介绍';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."INFFILE" IS '介绍弹窗图片';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."FAMILY" IS '科';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."GENUS" IS '属';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."SPECIES" IS '种';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ORDERS" IS '目';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."FID" IS '附件.关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."ISOLATE_ID" IS '归属的租户ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."SYSTEM_ID" IS '归属的系统ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VABASIC_B"."PROTECTLVL" IS '保护级别';
COMMENT ON TABLE "QGC"."SD_VABASIC_B" IS '动物信息表';

-- ----------------------------
-- Table structure for SD_VADRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_VADRTP_S";
CREATE TABLE "QGC"."SD_VADRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TETP" VARCHAR2(36 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."TETP" IS '动物救助种类';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."TECNT" IS '救助数量。单位：只';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VADRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_VADRTP_S" IS '动物救助站维度统计表';

-- ----------------------------
-- Table structure for SD_VA_R
-- ----------------------------
DROP TABLE "QGC"."SD_VA_R";
CREATE TABLE "QGC"."SD_VA_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TETP" VARCHAR2(100 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "STLC" VARCHAR2(100 BYTE),
  "FPTH" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(1000 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VA_R"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_VA_R"."TM" IS '放生日期';
COMMENT ON COLUMN "QGC"."SD_VA_R"."TETP" IS '陆生生态类型';
COMMENT ON COLUMN "QGC"."SD_VA_R"."TECNT" IS '救助数量。单位：只';
COMMENT ON COLUMN "QGC"."SD_VA_R"."STLC" IS '放生地点';
COMMENT ON COLUMN "QGC"."SD_VA_R"."FPTH" IS '放生照片';
COMMENT ON COLUMN "QGC"."SD_VA_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VA_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VA_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VA_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VA_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VA_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_VA_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_VA_R"."DESCRIPTION" IS '描述';
COMMENT ON TABLE "QGC"."SD_VA_R" IS '动物救助站运行数据表';

-- ----------------------------
-- Table structure for SD_VA_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_VA_R_240812";
CREATE TABLE "QGC"."SD_VA_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "TETP" VARCHAR2(20 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "STLC" VARCHAR2(100 BYTE),
  "FPTH" VARCHAR2(1000 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."TM" IS '放生日期';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."TETP" IS '陆生生态类型';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."TECNT" IS '救助数量。单位：只';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."STLC" IS '放生地点';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."FPTH" IS '放生照片';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_VA_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_VA_R_240812" IS '动物救助站运行数据表';

-- ----------------------------
-- Table structure for SD_VDINFO_R
-- ----------------------------
DROP TABLE "QGC"."SD_VDINFO_R";
CREATE TABLE "QGC"."SD_VDINFO_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FLNM" VARCHAR2(128 BYTE),
  "IMG_PATH" VARCHAR2(255 BYTE),
  "FLPTH" VARCHAR2(255 BYTE),
  "DEVICEINFO" VARCHAR2(255 BYTE),
  "DESCRIBE" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "THUMBNAIL" VARCHAR2(256 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."STCD" IS '视频监控点编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."FLNM" IS '显示名称';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."IMG_PATH" IS '图片路径';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."FLPTH" IS '视频路径';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."DEVICEINFO" IS '设备视频信息：ONLINE=设备正常 404=设备不在线 405=信令传输超时 1008=与VTDU的RTSP链路超时';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."DESCRIBE" IS '设备状态描述';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."FID" IS '附件ID：关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."THUMBNAIL" IS '缩略图';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VDINFO_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_VDINFO_R" IS '视频监控运行数据表';

-- ----------------------------
-- Table structure for SD_VPBASIC_B
-- ----------------------------
DROP TABLE "QGC"."SD_VPBASIC_B";
CREATE TABLE "QGC"."SD_VPBASIC_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "CODE" NVARCHAR2(200) NOT NULL,
  "NAME" NVARCHAR2(255) NOT NULL,
  "NAME_EN" NVARCHAR2(255),
  "ALIAS" NVARCHAR2(255),
  "LOGO" VARCHAR2(255 BYTE),
  "INTRODUCE" NVARCHAR2(1024),
  "INFFILE" VARCHAR2(255 BYTE),
  "ORDERS" NVARCHAR2(20),
  "FAMILY" NVARCHAR2(20),
  "GENUS" NVARCHAR2(20),
  "SPECIES" NVARCHAR2(20),
  "TYPE" NUMBER(1,0),
  "UOM" NVARCHAR2(20),
  "FID" VARCHAR2(1000 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DESCRIPTION" NVARCHAR2(1024),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PROTECTLVL" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."CODE" IS '编码';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."NAME_EN" IS '英文名称';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ALIAS" IS '俗名';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."LOGO" IS 'LOGO：文件相对路径';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."INTRODUCE" IS '介绍';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."INFFILE" IS '介绍弹窗图片';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ORDERS" IS '目';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."FAMILY" IS '科';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."GENUS" IS '属';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."SPECIES" IS '种';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."TYPE" IS '植物类型：1=树 2=花 3=草 4=其他';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."UOM" IS '单位：棵 丛 ㎡';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."FID" IS '附件.关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VPBASIC_B"."PROTECTLVL" IS '保护级别';
COMMENT ON TABLE "QGC"."SD_VPBASIC_B" IS '植物信息表';

-- ----------------------------
-- Table structure for SD_VPDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_VPDRTP_S";
CREATE TABLE "QGC"."SD_VPDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "PLANT_ID" VARCHAR2(200 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "SURNUM" NUMBER(6,0),
  "FID" VARCHAR2(1000 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "DESCRIPTION" NVARCHAR2(1024),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."STCD" IS '植物园编码：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."PLANT_ID" IS '保护种类：关联SD_VPBASIC_B.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."TECNT" IS '总数量';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."SURNUM" IS '存活数量';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."RSTCD" IS '归属电站：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VPDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_VPDRTP_S" IS '植物园数据表';

-- ----------------------------
-- Table structure for SD_VP_R
-- ----------------------------
DROP TABLE "QGC"."SD_VP_R";
CREATE TABLE "QGC"."SD_VP_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "PLANT_ID" VARCHAR2(200 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "SURNUM" NUMBER(6,0),
  "FID" VARCHAR2(1000 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "TYPE" NUMBER(3,0),
  "TEUNT" NUMBER(8,0),
  "PROTLVL" VARCHAR2(16 BYTE),
  "GRTHCND" VARCHAR2(16 BYTE),
  "VPTP" NUMBER(3,0),
  "DESCRIPTION" NVARCHAR2(1024),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TRANSPLANT" NUMBER(6,0),
  "PLANTASK" NUMBER(6,0),
  "STLC" VARCHAR2(255 BYTE),
  "INCREASE" NUMBER(8,0),
  "DECREASE" NUMBER(8,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VP_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."STCD" IS '植物园编码：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."SD_VP_R"."PLANT_ID" IS '保护种类：关联SD_VPBASIC_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TECNT" IS '总数量';
COMMENT ON COLUMN "QGC"."SD_VP_R"."SURNUM" IS '存活数量';
COMMENT ON COLUMN "QGC"."SD_VP_R"."FID" IS '附件ID：关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."RSTCD" IS '归属电站：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TYPE" IS '分类：1=花 2=草 3=树：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TEUNT" IS '单位：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R"."PROTLVL" IS '保护级别：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R"."GRTHCND" IS '生长状况：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R"."VPTP" IS '植物园类型：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_VP_R"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_VP_R"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_VP_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VP_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VP_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VP_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VP_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_VP_R"."TRANSPLANT" IS '移栽规模';
COMMENT ON COLUMN "QGC"."SD_VP_R"."PLANTASK" IS '种植要求';
COMMENT ON TABLE "QGC"."SD_VP_R" IS '植物园数据表';

-- ----------------------------
-- Table structure for SD_VP_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_VP_R_240812";
CREATE TABLE "QGC"."SD_VP_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "PLANT_ID" VARCHAR2(200 BYTE) NOT NULL,
  "TECNT" NUMBER(6,0),
  "SURNUM" NUMBER(6,0),
  "FID" VARCHAR2(1000 BYTE),
  "RSTCD" VARCHAR2(36 BYTE),
  "TYPE" NUMBER(3,0),
  "TEUNT" NUMBER(8,0),
  "PROTLVL" VARCHAR2(16 BYTE),
  "GRTHCND" VARCHAR2(16 BYTE),
  "VPTP" NUMBER(3,0),
  "DESCRIPTION" NVARCHAR2(1024),
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TRANSPLANT" NUMBER(6,0),
  "PLANTASK" NUMBER(6,0),
  "STLC" VARCHAR2(255 BYTE),
  "INCREASE" NUMBER(8,0),
  "DECREASE" NUMBER(8,0)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."STCD" IS '植物园编码：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TM" IS '填报时间';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."PLANT_ID" IS '保护种类：关联SD_VPBASIC_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TECNT" IS '总数量';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."SURNUM" IS '存活数量';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."FID" IS '附件ID：关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."RSTCD" IS '归属电站：关联SD_STBPRP_B.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TYPE" IS '分类：1=花 2=草 3=树：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TEUNT" IS '单位：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."PROTLVL" IS '保护级别：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."GRTHCND" IS '生长状况：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."VPTP" IS '植物园类型：暂时弃用23.5.16';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."DESCRIPTION" IS '描述';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值：字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值：字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."TRANSPLANT" IS '移栽规模';
COMMENT ON COLUMN "QGC"."SD_VP_R_240812"."PLANTASK" IS '种植要求';
COMMENT ON TABLE "QGC"."SD_VP_R_240812" IS '植物园数据表';

-- ----------------------------
-- Table structure for SD_WBS_B
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B";
CREATE TABLE "QGC"."SD_WBS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE) DEFAULT '{}',
  "SYNOPSIS" VARCHAR2(4000 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WBS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_TYPE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD=流域水电一期流域（梯级图使用）';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_CODE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_NAME" IS '节点名称：根据“节点类型”关联目标资源编码，比如节点类型为公司关联SYS_DEPT.NAME，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STNM，节点类型为鱼种类关联SD_FISHDICTORY_B.NAME，节点类型为植物关联SD_VPBASIC_B.NAME，节点类型为动物关联SD_VABASIC_B.NAME，节点类型为所属电站位置存储规则为：电站名称_坝址（或取水口）上游/坝址（或取水口）处/下游，节点类型为所属电站水温断面类型存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."PARENT_ID" IS '所属节点：关联SD_WBS_B.ID；节点类型为水电站基地流域=存所属电站基础节点ID；节点类型为所属电站位置=存所属电站节点ID；节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."OBJ_ID" IS '所属对象ID：根据“节点类型”关联目标资源ID。比如节点类型为公司=存SYS_DEPT.ID，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STCD，节点类型为鱼种类关联SD_FISHDICTORY_B.ID，节点类型为植物关联SD_VPBASIC_B.ID，节点类型为动物关联SD_VABASIC_B.ID，节点类型为水电站基地流域=存所属电站基础节点编码，节点类型为所属电站位置=存所属电站节点编码，节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."TOP_WBS_TYPE" IS '所属顶级节点类型：节点类型为水电站基地流域=PSB，节点类型为所属电站位置=ENG，节点类型为所属电站水温断面类型=ENG';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_SNAME" IS '节点名简称';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_NAME_EN" IS '节点名称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."WBS_SNAME_EN" IS '节点名简称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."LGTD" IS '中心经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."LTTD" IS '中心纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."AREA" IS '面积：单位：km2';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."PERIMETER" IS '周长：单位：m';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."REACH_WWQTG" IS '河段水质目标等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."MAX_ELEV" IS '最高点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."MIN_ELEV" IS '最低点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."DAT_TP" IS '基面类型(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."RV_AG" IS '河流平均比降(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."IF_INN_RV" IS '是否为内流河，存中文(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."SHOW_CONTROL" IS '显示控制';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."SYNOPSIS" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WBS_B"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_WBS_B" IS '6节点信息表';

-- ----------------------------
-- Table structure for SD_WBS_B_240410SP
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B_240410SP";
CREATE TABLE "QGC"."SD_WBS_B_240410SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE) DEFAULT '{}',
  "SYNOPSIS" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_TYPE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD=流域水电一期流域（梯级图使用）';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_CODE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_NAME" IS '节点名称：根据“节点类型”关联目标资源编码，比如节点类型为公司关联SYS_DEPT.NAME，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STNM，节点类型为鱼种类关联SD_FISHDICTORY_B.NAME，节点类型为植物关联SD_VPBASIC_B.NAME，节点类型为动物关联SD_VABASIC_B.NAME，节点类型为所属电站位置存储规则为：电站名称_坝址（或取水口）上游/坝址（或取水口）处/下游，节点类型为所属电站水温断面类型存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."PARENT_ID" IS '所属节点：关联SD_WBS_B.ID；节点类型为水电站基地流域=存所属电站基础节点ID；节点类型为所属电站位置=存所属电站节点ID；节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."OBJ_ID" IS '所属对象ID：根据“节点类型”关联目标资源ID。比如节点类型为公司=存SYS_DEPT.ID，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STCD，节点类型为鱼种类关联SD_FISHDICTORY_B.ID，节点类型为植物关联SD_VPBASIC_B.ID，节点类型为动物关联SD_VABASIC_B.ID，节点类型为水电站基地流域=存所属电站基础节点编码，节点类型为所属电站位置=存所属电站节点编码，节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."TOP_WBS_TYPE" IS '所属顶级节点类型：节点类型为水电站基地流域=PSB，节点类型为所属电站位置=ENG，节点类型为所属电站水温断面类型=ENG';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_SNAME" IS '节点名简称';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_NAME_EN" IS '节点名称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."WBS_SNAME_EN" IS '节点名简称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."LGTD" IS '中心经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."LTTD" IS '中心纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."AREA" IS '面积：单位：km2';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."PERIMETER" IS '周长：单位：m';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."REACH_WWQTG" IS '河段水质目标等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."MAX_ELEV" IS '最高点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."MIN_ELEV" IS '最低点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."DAT_TP" IS '基面类型(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."RV_AG" IS '河流平均比降(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."IF_INN_RV" IS '是否为内流河，存中文(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."SHOW_CONTROL" IS '显示控制';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240410SP"."SYNOPSIS" IS '简介';
COMMENT ON TABLE "QGC"."SD_WBS_B_240410SP" IS '6节点信息表';

-- ----------------------------
-- Table structure for SD_WBS_B_240520SP
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B_240520SP";
CREATE TABLE "QGC"."SD_WBS_B_240520SP" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE),
  "SYNOPSIS" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_WBS_B_240611SP
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B_240611SP";
CREATE TABLE "QGC"."SD_WBS_B_240611SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE) DEFAULT '{}',
  "SYNOPSIS" VARCHAR2(4000 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_TYPE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD=流域水电一期流域（梯级图使用）';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_CODE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_NAME" IS '节点名称：根据“节点类型”关联目标资源编码，比如节点类型为公司关联SYS_DEPT.NAME，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STNM，节点类型为鱼种类关联SD_FISHDICTORY_B.NAME，节点类型为植物关联SD_VPBASIC_B.NAME，节点类型为动物关联SD_VABASIC_B.NAME，节点类型为所属电站位置存储规则为：电站名称_坝址（或取水口）上游/坝址（或取水口）处/下游，节点类型为所属电站水温断面类型存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."PARENT_ID" IS '所属节点：关联SD_WBS_B.ID；节点类型为水电站基地流域=存所属电站基础节点ID；节点类型为所属电站位置=存所属电站节点ID；节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."OBJ_ID" IS '所属对象ID：根据“节点类型”关联目标资源ID。比如节点类型为公司=存SYS_DEPT.ID，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STCD，节点类型为鱼种类关联SD_FISHDICTORY_B.ID，节点类型为植物关联SD_VPBASIC_B.ID，节点类型为动物关联SD_VABASIC_B.ID，节点类型为水电站基地流域=存所属电站基础节点编码，节点类型为所属电站位置=存所属电站节点编码，节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."TOP_WBS_TYPE" IS '所属顶级节点类型：节点类型为水电站基地流域=PSB，节点类型为所属电站位置=ENG，节点类型为所属电站水温断面类型=ENG';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_SNAME" IS '节点名简称';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_NAME_EN" IS '节点名称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."WBS_SNAME_EN" IS '节点名简称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."LGTD" IS '中心经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."LTTD" IS '中心纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."AREA" IS '面积：单位：km2';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."PERIMETER" IS '周长：单位：m';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."REACH_WWQTG" IS '河段水质目标等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."MAX_ELEV" IS '最高点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."MIN_ELEV" IS '最低点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."DAT_TP" IS '基面类型(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."RV_AG" IS '河流平均比降(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."IF_INN_RV" IS '是否为内流河，存中文(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."SHOW_CONTROL" IS '显示控制';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240611SP"."SYNOPSIS" IS '简介';
COMMENT ON TABLE "QGC"."SD_WBS_B_240611SP" IS '6节点信息表';

-- ----------------------------
-- Table structure for SD_WBS_B_240821
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B_240821";
CREATE TABLE "QGC"."SD_WBS_B_240821" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE) DEFAULT '{}',
  "SYNOPSIS" VARCHAR2(4000 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_TYPE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD=流域水电一期流域（梯级图使用）';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_CODE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_NAME" IS '节点名称：根据“节点类型”关联目标资源编码，比如节点类型为公司关联SYS_DEPT.NAME，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STNM，节点类型为鱼种类关联SD_FISHDICTORY_B.NAME，节点类型为植物关联SD_VPBASIC_B.NAME，节点类型为动物关联SD_VABASIC_B.NAME，节点类型为所属电站位置存储规则为：电站名称_坝址（或取水口）上游/坝址（或取水口）处/下游，节点类型为所属电站水温断面类型存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."PARENT_ID" IS '所属节点：关联SD_WBS_B.ID；节点类型为水电站基地流域=存所属电站基础节点ID；节点类型为所属电站位置=存所属电站节点ID；节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."OBJ_ID" IS '所属对象ID：根据“节点类型”关联目标资源ID。比如节点类型为公司=存SYS_DEPT.ID，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STCD，节点类型为鱼种类关联SD_FISHDICTORY_B.ID，节点类型为植物关联SD_VPBASIC_B.ID，节点类型为动物关联SD_VABASIC_B.ID，节点类型为水电站基地流域=存所属电站基础节点编码，节点类型为所属电站位置=存所属电站节点编码，节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."TOP_WBS_TYPE" IS '所属顶级节点类型：节点类型为水电站基地流域=PSB，节点类型为所属电站位置=ENG，节点类型为所属电站水温断面类型=ENG';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_SNAME" IS '节点名简称';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_NAME_EN" IS '节点名称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."WBS_SNAME_EN" IS '节点名简称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."LGTD" IS '中心经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."LTTD" IS '中心纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."AREA" IS '面积：单位：km2';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."PERIMETER" IS '周长：单位：m';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."REACH_WWQTG" IS '河段水质目标等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."MAX_ELEV" IS '最高点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."MIN_ELEV" IS '最低点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."DAT_TP" IS '基面类型(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."RV_AG" IS '河流平均比降(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."IF_INN_RV" IS '是否为内流河，存中文(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."SHOW_CONTROL" IS '显示控制';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."SYNOPSIS" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WBS_B_240821"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_WBS_B_240821" IS '6节点信息表';

-- ----------------------------
-- Table structure for SD_WBS_B_250704dz
-- ----------------------------
DROP TABLE "QGC"."SD_WBS_B_250704dz";
CREATE TABLE "QGC"."SD_WBS_B_250704dz" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WBS_TYPE" VARCHAR2(20 BYTE) NOT NULL,
  "WBS_CODE" VARCHAR2(64 BYTE) NOT NULL,
  "WBS_NAME" NVARCHAR2(200) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "PARENT_ID" VARCHAR2(36 BYTE),
  "FULL_PATH" VARCHAR2(1024 BYTE) NOT NULL,
  "TREE_LEVEL" NUMBER(2,0) NOT NULL,
  "HAS_CHILDREN" NUMBER(1,0) NOT NULL,
  "OBJ_ID" VARCHAR2(36 BYTE),
  "TOP_WBS_TYPE" VARCHAR2(20 BYTE),
  "WBS_SNAME" NVARCHAR2(200),
  "WBS_NAME_EN" NVARCHAR2(200),
  "WBS_SNAME_EN" NVARCHAR2(200),
  "LGTD" NUMBER(10,6),
  "LTTD" NUMBER(10,6),
  "AREA" NUMBER(10,6),
  "PERIMETER" NUMBER(10,6),
  "INTRODUCE" VARCHAR2(4000 BYTE),
  "LOGO" VARCHAR2(255 BYTE),
  "INFFILE" VARCHAR2(255 BYTE),
  "REACH_WWQTG" VARCHAR2(4 BYTE),
  "INTERNAL" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "ORDER_INDEX" NUMBER(5,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "MAX_ELEV" NUMBER(10,2),
  "MIN_ELEV" NUMBER(10,2),
  "DAT_TP" VARCHAR2(32 BYTE),
  "RV_AG" NUMBER(10,2),
  "IF_INN_RV" VARCHAR2(1 BYTE),
  "SHOW_CONTROL" VARCHAR2(255 BYTE) DEFAULT '{}',
  "SYNOPSIS" VARCHAR2(4000 BYTE),
  "VLSR" VARCHAR2(800 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_TYPE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD=流域水电一期流域（梯级图使用）';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_CODE" IS '节点类型：存储字典值大写，字典项为comm.wbs_type。例如：RVCD=流域 RVCDPX=流域月报版 ADDVCD=行政 COMPANY=公司 PSB=水电站基地 PSB_RVCD=水电站基地流域 COUNTRY=国家 REACH=河段 ENG=电站 ST=测站 HABITAT=栖息地 FISH=鱼种类 PLANT=植物 ANIMAL=动物 ENG_LCTN1=所属电站位置坝址或取水口的上游 ENG_LCTN2=所属电站位置坝址或取水口 ENG_LCTN3=所属电站位置坝址或取水口的下游 ENG_IWT=所属电站水温断面类型入库水温 ENG_MWT=所属电站水温断面类型库中水温 ENG_RWT=所属电站水温断面类型坝前水温 ENG_DWT=所属电站水温断面类型下泄水温 LYSD_RVCD';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_NAME" IS '节点名称：根据“节点类型”关联目标资源编码，比如节点类型为公司关联SYS_DEPT.NAME，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STNM，节点类型为鱼种类关联SD_FISHDICTORY_B.NAME，节点类型为植物关联SD_VPBASIC_B.NAME，节点类型为动物关联SD_VABASIC_B.NAME，节点类型为所属电站位置存储规则为：电站名称_坝址（或取水口）上游/坝址（或取水口）处/下游，节点类型为所属电站水温断面类型存储规则为：电站名称_入库水温/库中水温/坝前水温/下泄水温';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."PARENT_ID" IS '所属节点：关联SD_WBS_B.ID；节点类型为水电站基地流域=存所属电站基础节点ID；节点类型为所属电站位置=存所属电站节点ID；节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."FULL_PATH" IS '树全路径：存储编码，中间以逗号分隔,末级要加逗号不加会影响like递归';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."TREE_LEVEL" IS '层级';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."HAS_CHILDREN" IS '是否有子集：0=否 1=有；存储字典值，字典项为comm.has_children';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."OBJ_ID" IS '所属对象ID：根据“节点类型”关联目标资源ID。比如节点类型为公司=存SYS_DEPT.ID，节点类型为电站/测站/栖息地关联SD_STBPRP_B.STCD，节点类型为鱼种类关联SD_FISHDICTORY_B.ID，节点类型为植物关联SD_VPBASIC_B.ID，节点类型为动物关联SD_VABASIC_B.ID，节点类型为水电站基地流域=存所属电站基础节点编码，节点类型为所属电站位置=存所属电站节点编码，节点类型为所属电站水温断面类型=存所属电站节点ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."TOP_WBS_TYPE" IS '所属顶级节点类型：节点类型为水电站基地流域=PSB，节点类型为所属电站位置=ENG，节点类型为所属电站水温断面类型=ENG';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_SNAME" IS '节点名简称';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_NAME_EN" IS '节点名称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."WBS_SNAME_EN" IS '节点名简称(英文)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."LGTD" IS '中心经度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."LTTD" IS '中心纬度：单位：(°)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."AREA" IS '面积：单位：km2';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."PERIMETER" IS '周长：单位：m';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."INTRODUCE" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."LOGO" IS 'LOGO：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."INFFILE" IS '介绍弹窗图片：文件相关路径';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."REACH_WWQTG" IS '河段水质目标等级：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V 存储字典值，字典项为comm.wqlvl';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."INTERNAL" IS '系统内置项：0=否 1=是，默认否；存储字典值，字典项为comm.yn；内置程序不允许删除为归档数据';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."MAX_ELEV" IS '最高点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."MIN_ELEV" IS '最低点高程(m)(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."DAT_TP" IS '基面类型(流域属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."RV_AG" IS '河流平均比降(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."IF_INN_RV" IS '是否为内流河，存中文(河流属性)';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."SHOW_CONTROL" IS '显示控制';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."SYNOPSIS" IS '简介';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WBS_B_250704dz"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_WBS_B_250704dz" IS '6节点信息表';

-- ----------------------------
-- Table structure for SD_WEDETECTION_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEDETECTION_R";
CREATE TABLE "QGC"."SD_WEDETECTION_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(50 BYTE) NOT NULL,
  "DETECTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "DETECTION_DATA" CLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."ID" IS '主键ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."STCD" IS '断面编号, 关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DCPC" IS '批次';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DETECTION_ID" IS '识别结果ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."FID" IS '附件ID: 关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DETECTION_DATA" IS '识别结果数据';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEDETECTION_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEDETECTION_R" IS '水生生态识别结果表';

-- ----------------------------
-- Table structure for SD_WEFISHAI_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHAI_R";
CREATE TABLE "QGC"."SD_WEFISHAI_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(50 BYTE) NOT NULL,
  "DETECTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "DETECTION_DATA" NCLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."STCD" IS '断面编号';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DCPC" IS '批次';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DETECTION_ID" IS '识别结果ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DETECTION_DATA" IS '识别结果数据';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISHAI_R" IS '水生生态调查数据鱼类AI识别表';

-- ----------------------------
-- Table structure for SD_WEFISHAI_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHAI_R_240604SP";
CREATE TABLE "QGC"."SD_WEFISHAI_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(50 BYTE) NOT NULL,
  "DETECTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "DETECTION_DATA" VARCHAR2(4000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."STCD" IS '断面编号';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DCPC" IS '批次';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DETECTION_ID" IS '识别结果ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DETECTION_DATA" IS '识别结果数据';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISHAI_R_240604SP" IS '水生生态调查数据鱼类AI识别表';

-- ----------------------------
-- Table structure for SD_WEFISHAI_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHAI_R_240726SP";
CREATE TABLE "QGC"."SD_WEFISHAI_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(50 BYTE) NOT NULL,
  "DETECTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "DETECTION_DATA" NCLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."STCD" IS '断面编号';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DCPC" IS '批次';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DETECTION_ID" IS '识别结果ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DETECTION_DATA" IS '识别结果数据';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISHAI_R_240726SP" IS '水生生态调查数据鱼类AI识别表';

-- ----------------------------
-- Table structure for SD_WEFISHAI_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHAI_R_240812";
CREATE TABLE "QGC"."SD_WEFISHAI_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "DCPC" VARCHAR2(50 BYTE) NOT NULL,
  "DETECTION_ID" VARCHAR2(64 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "DETECTION_DATA" NCLOB,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."STCD" IS '断面编号';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DCPC" IS '批次';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DETECTION_ID" IS '识别结果ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."FID" IS '文件ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DETECTION_DATA" IS '识别结果数据';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHAI_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISHAI_R_240812" IS '水生生态调查数据鱼类AI识别表';

-- ----------------------------
-- Table structure for SD_WEFISHDET_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHDET_R";
CREATE TABLE "QGC"."SD_WEFISHDET_R" (
  "ID" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WEFISHR_ID" VARCHAR2(36 BYTE) NOT NULL,
  "WER_ID" VARCHAR2(18 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" VARCHAR2(20 BYTE),
  "ST" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(5,0),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."WEFISHR_ID" IS '所属水生生态调查鱼类表id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."STCD" IS '所属水生生态调查断面编码';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WEFISHDET_R" IS '水生生态调查数据鱼类明细表';

-- ----------------------------
-- Table structure for SD_WEFISHDET_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHDET_R_240604SP";
CREATE TABLE "QGC"."SD_WEFISHDET_R_240604SP" (
  "ID" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE,
  "WEFISHR_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(18 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FSZ" VARCHAR2(20 BYTE),
  "FCNT" NUMBER(8,0),
  "FWGH" VARCHAR2(20 BYTE),
  "ST" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."WEFISHR_ID" IS '所属水生生态调查鱼类表id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."STCD" IS '所属水生生态调查断面编码';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISHDET_R_240604SP" IS '水生生态调查数据鱼类明细表';

-- ----------------------------
-- Table structure for SD_WEFISHDET_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHDET_R_240726SP";
CREATE TABLE "QGC"."SD_WEFISHDET_R_240726SP" (
  "ID" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE,
  "WEFISHR_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(18 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FSZ" VARCHAR2(20 BYTE),
  "FCNT" NUMBER(8,0),
  "FWGH" VARCHAR2(20 BYTE),
  "ST" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(5,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."WEFISHR_ID" IS '所属水生生态调查鱼类表id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."STCD" IS '所属水生生态调查断面编码';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240726SP"."ORDER_INDEX" IS '排序';
COMMENT ON TABLE "QGC"."SD_WEFISHDET_R_240726SP" IS '水生生态调查数据鱼类明细表';

-- ----------------------------
-- Table structure for SD_WEFISHDET_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISHDET_R_240812";
CREATE TABLE "QGC"."SD_WEFISHDET_R_240812" (
  "ID" VARCHAR2(18 BYTE) NOT NULL,
  "TM" DATE,
  "WEFISHR_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(18 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FSZ" VARCHAR2(20 BYTE),
  "FCNT" NUMBER(8,0),
  "FWGH" VARCHAR2(20 BYTE),
  "ST" VARCHAR2(500 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(500 BYTE),
  "ORDER_INDEX" NUMBER(5,0)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."WEFISHR_ID" IS '所属水生生态调查鱼类表id';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."STCD" IS '所属水生生态调查断面编码';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_WEFISHDET_R_240812"."ORDER_INDEX" IS '排序';
COMMENT ON TABLE "QGC"."SD_WEFISHDET_R_240812" IS '水生生态调查数据鱼类明细表';

-- ----------------------------
-- Table structure for SD_WEFISH_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISH_R";
CREATE TABLE "QGC"."SD_WEFISH_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(2000 BYTE),
  "FILE_ID" VARCHAR2(2000 BYTE),
  "TAB_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."ID" IS '水生生态调查鱼类表编号';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."TM" IS '时间。单位：年';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FTP" IS '渔获物种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."PS" IS '早期资源量和种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."AVG_FWGT" IS '平均重量';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."AVG_FSZ" IS '平均体长';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FID" IS '关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."TAB_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WEFISH_R" IS '水生生态调查数据鱼类表';

-- ----------------------------
-- Table structure for SD_WEFISH_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISH_R_240604SP";
CREATE TABLE "QGC"."SD_WEFISH_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FTP" VARCHAR2(200 BYTE) NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(2000 BYTE),
  "FILE_ID" VARCHAR2(2000 BYTE),
  "TAB_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."ID" IS '水生生态调查鱼类表编号';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."TM" IS '时间。单位：年';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FTP" IS '渔获物种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."PS" IS '早期资源量和种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."AVG_FWGT" IS '平均重量';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."AVG_FSZ" IS '平均体长';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FID" IS '关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."FILE_ID" IS '附件ID: 关联SD_FILE_B.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."TAB_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFISH_R_240604SP" IS '水生生态调查数据鱼类表';

-- ----------------------------
-- Table structure for SD_WEFISH_R_240624_LW
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISH_R_240624_LW";
CREATE TABLE "QGC"."SD_WEFISH_R_240624_LW" (
  "ID" VARCHAR2(36 BYTE) NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(2000 BYTE),
  "FILE_ID" VARCHAR2(2000 BYTE),
  "TAB_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;

-- ----------------------------
-- Table structure for SD_WEFISH_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISH_R_240726SP";
CREATE TABLE "QGC"."SD_WEFISH_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(2000 BYTE),
  "FILE_ID" VARCHAR2(2000 BYTE),
  "TAB_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."ID" IS '水生生态调查鱼类表编号';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."TM" IS '时间。单位：年';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FTP" IS '渔获物种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."PS" IS '早期资源量和种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."AVG_FWGT" IS '平均重量';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."AVG_FSZ" IS '平均体长';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FID" IS '关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."TAB_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEFISH_R_240726SP" IS '水生生态调查数据鱼类表';

-- ----------------------------
-- Table structure for SD_WEFISH_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEFISH_R_240812";
CREATE TABLE "QGC"."SD_WEFISH_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "TM" DATE NOT NULL,
  "FTP" NVARCHAR2(200) DEFAULT NULL NOT NULL,
  "FSZ" VARCHAR2(20 BYTE) NOT NULL,
  "FCNT" NUMBER(8,0),
  "FWGH" NUMBER(15,6),
  "ST" VARCHAR2(500 BYTE),
  "PS" VARCHAR2(255 BYTE),
  "AVG_FWGT" NUMBER(15,6),
  "AVG_FSZ" NUMBER(8,2),
  "FID" VARCHAR2(2000 BYTE),
  "FILE_ID" VARCHAR2(2000 BYTE),
  "TAB_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."ID" IS '水生生态调查鱼类表编号';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."TM" IS '时间。单位：年';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FTP" IS '渔获物种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FSZ" IS '鱼类规格。单位：cm';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FCNT" IS '渔获物数量。单位：尾';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FWGH" IS '渔获物重量。单位：kg';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."ST" IS '性腺发育期';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."PS" IS '早期资源量和种类';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."AVG_FWGT" IS '平均重量';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."AVG_FSZ" IS '平均体长';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FID" IS '关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."TAB_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFISH_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEFISH_R_240812" IS '水生生态调查数据鱼类表';

-- ----------------------------
-- Table structure for SD_WEFV_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEFV_R";
CREATE TABLE "QGC"."SD_WEFV_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "FLOW_RATE" NUMBER(7,3) NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."ID" IS '水生生态调查-流速数据表编号';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."FLOW_RATE" IS '流速';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."FID" IS '所属文件表FID:关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WEFV_R" IS '水生生态调查数据流速表';

-- ----------------------------
-- Table structure for SD_WEFV_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFV_R_240604SP";
CREATE TABLE "QGC"."SD_WEFV_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "FLOW_RATE" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."ID" IS '水生生态调查-流速数据表编号';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."FLOW_RATE" IS '流速';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."FID" IS '所属文件表FID:关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEFV_R_240604SP" IS '水生生态调查数据流速表';

-- ----------------------------
-- Table structure for SD_WEFV_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEFV_R_240726SP";
CREATE TABLE "QGC"."SD_WEFV_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "FLOW_RATE" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."ID" IS '水生生态调查-流速数据表编号';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."FLOW_RATE" IS '流速';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."FID" IS '所属文件表FID:关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEFV_R_240726SP" IS '水生生态调查数据流速表';

-- ----------------------------
-- Table structure for SD_WEFV_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEFV_R_240812";
CREATE TABLE "QGC"."SD_WEFV_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "FLOW_RATE" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."ID" IS '水生生态调查-流速数据表编号';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."FLOW_RATE" IS '流速';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."FID" IS '所属文件表FID:关联文件表SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEFV_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEFV_R_240812" IS '水生生态调查数据流速表';

-- ----------------------------
-- Table structure for SD_WEWQ_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEWQ_R";
CREATE TABLE "QGC"."SD_WEWQ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "NAME" VARCHAR2(50 BYTE),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(9,1),
  "CODCR" NUMBER(9,1),
  "BOD5" NUMBER(9,1),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(10,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "FID" VARCHAR2(1000 BYTE),
  "PARAMETER" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "WTMP" NUMBER(9,3),
  "TOD" NUMBER(8,2),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NI" NUMBER(9,2),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."STCD" IS '所属水生生态调查断面编码:SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."DOX" IS '溶解氧 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CODMN" IS '高锰酸盐指数 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CODCR" IS '化学需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."BOD5" IS '五日生化需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NH3N" IS '氨氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TP" IS '总磷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TN" IS '总氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CU" IS '铜 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."ZN" IS '锌 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."F" IS '氟化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."SE" IS '硒 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."ARS" IS '砷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."HG" IS '汞 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CD" IS '镉 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CR6" IS '铬(六价) mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."PB" IS '铅 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CN" IS '氰化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."VLPH" IS '挥发酚 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."OIL" IS '石油类 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."LAS" IS '阴离子表面活性剂 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."S2" IS '硫化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."FCG" IS '粪大肠菌群 个/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CL" IS '氯化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."SO4" IS '硫酸盐 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NO3" IS '硝氮/硝酸盐氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."THRD" IS '总硬度 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."COND" IS '电导率 μS/cm';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."FE" IS '铁 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."MN" IS '锰 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."AL" IS '铝 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CHLA" IS '叶绿素a mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CLARITY" IS '透明度 m';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TU" IS '浊度 NTU';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."PARAMETER" IS '水质参数种类,5=五参数&8=八参数&9=九参数&11=十一参数&99=更多';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."NI" IS '镍：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WEWQ_R" IS '水生生态调查数据水质表';

-- ----------------------------
-- Table structure for SD_WEWQ_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEWQ_R_240604SP";
CREATE TABLE "QGC"."SD_WEWQ_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "NAME" VARCHAR2(50 BYTE),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(9,1),
  "CODCR" NUMBER(9,1),
  "BOD5" NUMBER(9,1),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(10,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "FID" VARCHAR2(1000 BYTE),
  "PARAMETER" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "WTMP" NUMBER(9,3),
  "TOD" NUMBER(8,2),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NI" NUMBER(9,2)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."STCD" IS '所属水生生态调查断面编码:SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."DOX" IS '溶解氧 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CODMN" IS '高锰酸盐指数 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CODCR" IS '化学需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."BOD5" IS '五日生化需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NH3N" IS '氨氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TP" IS '总磷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TN" IS '总氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CU" IS '铜 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."ZN" IS '锌 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."F" IS '氟化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."SE" IS '硒 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."ARS" IS '砷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."HG" IS '汞 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CD" IS '镉 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CR6" IS '铬(六价) mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."PB" IS '铅 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CN" IS '氰化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."VLPH" IS '挥发酚 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."OIL" IS '石油类 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."LAS" IS '阴离子表面活性剂 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."S2" IS '硫化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."FCG" IS '粪大肠菌群 个/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CL" IS '氯化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."SO4" IS '硫酸盐 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NO3" IS '硝氮/硝酸盐氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."THRD" IS '总硬度 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."COND" IS '电导率 μS/cm';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."FE" IS '铁 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."MN" IS '锰 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."AL" IS '铝 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CHLA" IS '叶绿素a mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CLARITY" IS '透明度 m';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TU" IS '浊度 NTU';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."PARAMETER" IS '水质参数种类,5=五参数&8=八参数&9=九参数&11=十一参数&99=更多';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240604SP"."NI" IS '镍：单位：mg/L';
COMMENT ON TABLE "QGC"."SD_WEWQ_R_240604SP" IS '水生生态调查数据水质表';

-- ----------------------------
-- Table structure for SD_WEWQ_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEWQ_R_240726SP";
CREATE TABLE "QGC"."SD_WEWQ_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "NAME" VARCHAR2(50 BYTE),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(9,1),
  "CODCR" NUMBER(9,1),
  "BOD5" NUMBER(9,1),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(10,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "FID" VARCHAR2(1000 BYTE),
  "PARAMETER" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "WTMP" NUMBER(9,3),
  "TOD" NUMBER(8,2),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NI" NUMBER(9,2),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."STCD" IS '所属水生生态调查断面编码:SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."DOX" IS '溶解氧 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CODMN" IS '高锰酸盐指数 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CODCR" IS '化学需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."BOD5" IS '五日生化需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NH3N" IS '氨氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TP" IS '总磷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TN" IS '总氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CU" IS '铜 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."ZN" IS '锌 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."F" IS '氟化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."SE" IS '硒 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."ARS" IS '砷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."HG" IS '汞 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CD" IS '镉 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CR6" IS '铬(六价) mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."PB" IS '铅 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CN" IS '氰化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."VLPH" IS '挥发酚 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."OIL" IS '石油类 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."LAS" IS '阴离子表面活性剂 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."S2" IS '硫化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."FCG" IS '粪大肠菌群 个/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CL" IS '氯化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."SO4" IS '硫酸盐 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NO3" IS '硝氮/硝酸盐氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."THRD" IS '总硬度 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."COND" IS '电导率 μS/cm';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."FE" IS '铁 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."MN" IS '锰 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."AL" IS '铝 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CHLA" IS '叶绿素a mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CLARITY" IS '透明度 m';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TU" IS '浊度 NTU';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."PARAMETER" IS '水质参数种类,5=五参数&8=八参数&9=九参数&11=十一参数&99=更多';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."NI" IS '镍：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEWQ_R_240726SP" IS '水生生态调查数据水质表';

-- ----------------------------
-- Table structure for SD_WEWQ_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEWQ_R_240812";
CREATE TABLE "QGC"."SD_WEWQ_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE,
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "NAME" VARCHAR2(50 BYTE),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(9,1),
  "CODCR" NUMBER(9,1),
  "BOD5" NUMBER(9,1),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(10,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "FID" VARCHAR2(1000 BYTE),
  "PARAMETER" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "WTMP" NUMBER(9,3),
  "TOD" NUMBER(8,2),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NI" NUMBER(9,2),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."ID" IS '主键id';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."WER_ID" IS '所属水生生态调查数据表ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."STCD" IS '所属水生生态调查断面编码:SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NAME" IS '名称';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."DOX" IS '溶解氧 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CODMN" IS '高锰酸盐指数 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CODCR" IS '化学需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."BOD5" IS '五日生化需氧量 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NH3N" IS '氨氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TP" IS '总磷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TN" IS '总氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CU" IS '铜 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."ZN" IS '锌 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."F" IS '氟化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."SE" IS '硒 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."ARS" IS '砷 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."HG" IS '汞 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CD" IS '镉 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CR6" IS '铬(六价) mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."PB" IS '铅 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CN" IS '氰化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."VLPH" IS '挥发酚 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."OIL" IS '石油类 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."LAS" IS '阴离子表面活性剂 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."S2" IS '硫化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."FCG" IS '粪大肠菌群 个/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CL" IS '氯化物 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."SO4" IS '硫酸盐 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NO3" IS '硝氮/硝酸盐氮 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."THRD" IS '总硬度 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."COND" IS '电导率 μS/cm';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."FE" IS '铁 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."MN" IS '锰 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."AL" IS '铝 mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CHLA" IS '叶绿素a mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CLARITY" IS '透明度 m';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TU" IS '浊度 NTU';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."PARAMETER" IS '水质参数种类,5=五参数&8=八参数&9=九参数&11=十一参数&99=更多';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."NI" IS '镍：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WEWQ_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEWQ_R_240812" IS '水生生态调查数据水质表';

-- ----------------------------
-- Table structure for SD_WEWT_R
-- ----------------------------
DROP TABLE "QGC"."SD_WEWT_R";
CREATE TABLE "QGC"."SD_WEWT_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3) NOT NULL,
  "WER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "FILE_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."ID" IS '水生生态调查水温表编号';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WEWT_R" IS '水生生态调查数据水温表';

-- ----------------------------
-- Table structure for SD_WEWT_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEWT_R_240604SP";
CREATE TABLE "QGC"."SD_WEWT_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FILE_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."ID" IS '水生生态调查水温表编号';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."FILE_ID" IS '附件ID: 关联SD_FILE_ID.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WEWT_R_240604SP" IS '水生生态调查数据水温表';

-- ----------------------------
-- Table structure for SD_WEWT_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WEWT_R_240726SP";
CREATE TABLE "QGC"."SD_WEWT_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FILE_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."ID" IS '水生生态调查水温表编号';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEWT_R_240726SP" IS '水生生态调查数据水温表';

-- ----------------------------
-- Table structure for SD_WEWT_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WEWT_R_240812";
CREATE TABLE "QGC"."SD_WEWT_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3),
  "WER_ID" VARCHAR2(36 BYTE),
  "STCD" VARCHAR2(36 BYTE),
  "FILE_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."ID" IS '水生生态调查水温表编号';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."STCD" IS '所属水生生态调查断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."FILE_ID" IS '弃用';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."FID" IS '所属文件表FID(关联文件表SD_FILE_B.FID)';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WEWT_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WEWT_R_240812" IS '水生生态调查数据水温表';

-- ----------------------------
-- Table structure for SD_WE_R
-- ----------------------------
DROP TABLE "QGC"."SD_WE_R";
CREATE TABLE "QGC"."SD_WE_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(2000 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WE_R"."ID" IS '水生生态调查表编号';
COMMENT ON COLUMN "QGC"."SD_WE_R"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WE_R"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."SD_WE_R"."TM" IS '调查时间';
COMMENT ON COLUMN "QGC"."SD_WE_R"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."STATUS" IS '状态：（0=暂存&1=完成2=删除）';
COMMENT ON COLUMN "QGC"."SD_WE_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WE_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WE_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WE_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WE_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WE_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WE_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WE_R"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."SD_WE_R" IS '水生生态调查数据表';

-- ----------------------------
-- Table structure for SD_WE_R_240604SP
-- ----------------------------
DROP TABLE "QGC"."SD_WE_R_240604SP";
CREATE TABLE "QGC"."SD_WE_R_240604SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(2000 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."ID" IS '水生生态调查表编号';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."TM" IS '调查时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."STATUS" IS '状态：（0=暂存&1=完成2=删除）';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WE_R_240604SP"."TASK_STATUS" IS '流程状态';
COMMENT ON TABLE "QGC"."SD_WE_R_240604SP" IS '水生生态调查数据表';

-- ----------------------------
-- Table structure for SD_WE_R_240726SP
-- ----------------------------
DROP TABLE "QGC"."SD_WE_R_240726SP";
CREATE TABLE "QGC"."SD_WE_R_240726SP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(2000 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."ID" IS '水生生态调查表编号';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."TM" IS '调查时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."STATUS" IS '状态：（0=暂存&1=完成2=删除）';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_WE_R_240726SP"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WE_R_240726SP" IS '水生生态调查数据表';

-- ----------------------------
-- Table structure for SD_WE_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WE_R_240812";
CREATE TABLE "QGC"."SD_WE_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DCPC" VARCHAR2(100 BYTE),
  "TM" DATE NOT NULL,
  "FID" VARCHAR2(2000 BYTE),
  "STATUS" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."ID" IS '水生生态调查表编号';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."STCD" IS '断面编码:关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."DCPC" IS '调查批次';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."TM" IS '调查时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."FID" IS '所属文件:关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."STATUS" IS '状态：（0=暂存&1=完成2=删除）';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."TASK_STATUS" IS '流程状态';
COMMENT ON COLUMN "QGC"."SD_WE_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON TABLE "QGC"."SD_WE_R_240812" IS '水生生态调查数据表';

-- ----------------------------
-- Table structure for SD_WNDDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_WNDDAY_S";
CREATE TABLE "QGC"."SD_WNDDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "INWV" NUMBER(9,1),
  "INWNDD" NUMBER(9,0),
  "AVWV" NUMBER(9,1),
  "AVWNDD" NUMBER(9,0),
  "MXWV" NUMBER(9,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(9,0),
  "MXMWV" NUMBER(9,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."STCD" IS '测站站码：雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_WNDDAY_S" IS '风速风向天统计表';

-- ----------------------------
-- Table structure for SD_WNDDAY_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_WNDDAY_S_240725";
CREATE TABLE "QGC"."SD_WNDDAY_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "INWV" NUMBER(9,1),
  "INWNDD" NUMBER(9,0),
  "AVWV" NUMBER(9,1),
  "AVWNDD" NUMBER(9,0),
  "MXWV" NUMBER(9,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(9,0),
  "MXMWV" NUMBER(9,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(9,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."STCD" IS '测站站码：雨量站或气象站编码';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WNDDAY_S_240725"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_WNDDAY_S_240725" IS '风速风向天统计表';

-- ----------------------------
-- Table structure for SD_WNDDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_WNDDRTP_S";
CREATE TABLE "QGC"."SD_WNDDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "DT" DATE,
  "INWV" NUMBER(9,1),
  "INWNDD" NUMBER(9,0),
  "AVWV" NUMBER(9,1),
  "AVWNDD" NUMBER(9,0),
  "MXWV" NUMBER(9,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(9,0),
  "MXMWV" NUMBER(9,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(9,0),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DT" IS '日期：存储规则,周维度记录在每周一;上中下旬维度记录在每月1号、11号、21号;月维度记录每月1日;季维度记录在1月1号,4月1号,7月1号,10月1号;年维度记录在1月1号';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WNDDRTP_S" IS '风速风向监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WNDDRTP_S_240725
-- ----------------------------
DROP TABLE "QGC"."SD_WNDDRTP_S_240725";
CREATE TABLE "QGC"."SD_WNDDRTP_S_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "DT" DATE,
  "INWV" NUMBER(9,1),
  "INWNDD" NUMBER(9,0),
  "AVWV" NUMBER(9,1),
  "AVWNDD" NUMBER(9,0),
  "MXWV" NUMBER(9,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(9,0),
  "MXMWV" NUMBER(9,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(9,0),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."STCD" IS '站码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DT" IS '日期：存储规则,周维度记录在每周一;上中下旬维度记录在每月1号、11号、21号;月维度记录每月1日;季维度记录在1月1号,4月1号,7月1号,10月1号;年维度记录在1月1号';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WNDDRTP_S_240725"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WNDDRTP_S_240725" IS '风速风向监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WND_R
-- ----------------------------
DROP TABLE "QGC"."SD_WND_R";
CREATE TABLE "QGC"."SD_WND_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "INWV" NUMBER(4,1),
  "INWNDD" NUMBER(3,0),
  "AVWV" NUMBER(4,1),
  "AVWNDD" NUMBER(3,0),
  "MXWV" NUMBER(4,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(3,0),
  "MXMWV" NUMBER(4,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(3,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WND_R"."STCD" IS '测站站码：气象站编码';
COMMENT ON COLUMN "QGC"."SD_WND_R"."TM" IS '时间：数据的时间，精确到小时。';
COMMENT ON COLUMN "QGC"."SD_WND_R"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WND_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WND_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WND_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WND_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WND_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WND_R"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_WND_R" IS '风速风向监测数据表';

-- ----------------------------
-- Table structure for SD_WND_R_240725
-- ----------------------------
DROP TABLE "QGC"."SD_WND_R_240725";
CREATE TABLE "QGC"."SD_WND_R_240725" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "INWV" NUMBER(4,1),
  "INWNDD" NUMBER(3,0),
  "AVWV" NUMBER(4,1),
  "AVWNDD" NUMBER(3,0),
  "MXWV" NUMBER(4,1),
  "MXWVTM" DATE,
  "MXWVWNDD" NUMBER(3,0),
  "MXMWV" NUMBER(4,1),
  "MXMWVTM" DATE,
  "MXMWVWNDD" NUMBER(3,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "REMARK" VARCHAR2(255 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."STCD" IS '测站站码：气象站编码';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."TM" IS '时间：数据的时间，精确到小时。';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."INWV" IS '瞬时风速：该时刻的瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."INWNDD" IS '瞬时风向：该时刻的瞬时风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."AVWV" IS '平均风速：该时段的平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."AVWNDD" IS '平均风向：该时段的平均风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXWV" IS '最大风速：该时段的最大风速，最大风速是指某个时段内出现的最大10min平均风速值。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXWVTM" IS '最大风速时间：该时段最大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXWVWNDD" IS '最大风速时风向：该时段最大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXMWV" IS '极大风速：该时段的极大风速，极大风速是指某个时段内出现的最大瞬时风速，瞬时风速是指3s平均风速。单位：m/s';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXMWVTM" IS '极大风速时间：该时段极大风速的时间，精确到分钟。';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MXMWVWNDD" IS '极大风速时风向：该时段极大风速时的风向。单位：度';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WND_R_240725"."REMARK" IS '备注';
COMMENT ON TABLE "QGC"."SD_WND_R_240725" IS '风速风向监测数据表';

-- ----------------------------
-- Table structure for SD_WQDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_WQDAY_S";
CREATE TABLE "QGC"."SD_WQDAY_S" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WQGRD" VARCHAR2(16 BYTE),
  "WTMP" NUMBER(15,3),
  "PH" NUMBER(15,2),
  "DOX" NUMBER(15,2),
  "CODMN" NUMBER(15,2),
  "CODCR" NUMBER(15,2),
  "BOD5" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "TP" NUMBER(15,3),
  "TN" NUMBER(15,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(15,5),
  "F" NUMBER(15,2),
  "SE" NUMBER(15,5),
  "ARS" NUMBER(15,6),
  "HG" NUMBER(15,7),
  "CD" NUMBER(15,5),
  "CR6" NUMBER(15,3),
  "PB" NUMBER(15,5),
  "CN" NUMBER(15,6),
  "VLPH" NUMBER(15,6),
  "OIL" NUMBER(15,3),
  "LAS" NUMBER(15,3),
  "S2" NUMBER(15,3),
  "FCG" NUMBER(15,2),
  "CL" NUMBER(15,2),
  "SO4" NUMBER(15,2),
  "NO3" NUMBER(15,3),
  "THRD" NUMBER(15,2),
  "COND" NUMBER(15,2),
  "FE" NUMBER(15,5),
  "MN" NUMBER(15,3),
  "AL" NUMBER(15,4),
  "CHLA" NUMBER(15,4),
  "CLARITY" NUMBER(15,2),
  "TU" NUMBER(15,2),
  "CYANO" NUMBER(15,2),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(15,3)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."WQGRD" IS '水质类别';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."WTMP" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."PH" IS 'PH ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."DOX" IS '溶解氧';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CODMN" IS '高锰酸盐指数';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CODCR" IS '化学需氧量';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."BOD5" IS '五日生化需氧量BODS ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."NH3N" IS '氨氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."TP" IS '总磷';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."TN" IS '总氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CU" IS '铜';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."ZN" IS '锌';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."F" IS '氟化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."SE" IS '硒';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."ARS" IS '砷';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."HG" IS '汞';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CD" IS '镉';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CR6" IS '铬(六价) ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."PB" IS '铅';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CN" IS '氰化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."VLPH" IS '挥发酚';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."OIL" IS '石油类';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."LAS" IS '阴离子表面活性剂';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."S2" IS '硫化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."FCG" IS '粪大肠菌群';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CL" IS '氯化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."SO4" IS '硫酸盐';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."NO3" IS '硝氮/硝酸盐氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."THRD" IS '总硬度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."COND" IS '电导率';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."FE" IS '铁';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."MN" IS '锰';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."AL" IS '铝';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CHLA" IS '叶绿素a ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CLARITY" IS '透明度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."TU" IS '浊度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON TABLE "QGC"."SD_WQDAY_S" IS '水质监测数据日数据表';

-- ----------------------------
-- Table structure for SD_WQDAY_S_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WQDAY_S_240812";
CREATE TABLE "QGC"."SD_WQDAY_S_240812" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WQGRD" VARCHAR2(16 BYTE),
  "WTMP" NUMBER(15,3),
  "PH" NUMBER(15,2),
  "DOX" NUMBER(15,2),
  "CODMN" NUMBER(15,2),
  "CODCR" NUMBER(15,2),
  "BOD5" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "TP" NUMBER(15,3),
  "TN" NUMBER(15,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(15,5),
  "F" NUMBER(15,2),
  "SE" NUMBER(15,5),
  "ARS" NUMBER(15,6),
  "HG" NUMBER(15,7),
  "CD" NUMBER(15,5),
  "CR6" NUMBER(15,3),
  "PB" NUMBER(15,5),
  "CN" NUMBER(15,6),
  "VLPH" NUMBER(15,6),
  "OIL" NUMBER(15,3),
  "LAS" NUMBER(15,3),
  "S2" NUMBER(15,3),
  "FCG" NUMBER(15,2),
  "CL" NUMBER(15,2),
  "SO4" NUMBER(15,2),
  "NO3" NUMBER(15,3),
  "THRD" NUMBER(15,2),
  "COND" NUMBER(15,2),
  "FE" NUMBER(15,5),
  "MN" NUMBER(15,3),
  "AL" NUMBER(15,4),
  "CHLA" NUMBER(15,4),
  "CLARITY" NUMBER(15,2),
  "TU" NUMBER(15,2),
  "CYANO" NUMBER(15,2),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(15,3)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."WQGRD" IS '水质类别';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."WTMP" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."PH" IS 'PH ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."DOX" IS '溶解氧';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CODMN" IS '高锰酸盐指数';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CODCR" IS '化学需氧量';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."BOD5" IS '五日生化需氧量BODS ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."NH3N" IS '氨氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."TP" IS '总磷';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."TN" IS '总氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CU" IS '铜';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."ZN" IS '锌';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."F" IS '氟化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."SE" IS '硒';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."ARS" IS '砷';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."HG" IS '汞';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CD" IS '镉';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CR6" IS '铬(六价) ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."PB" IS '铅';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CN" IS '氰化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."VLPH" IS '挥发酚';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."OIL" IS '石油类';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."LAS" IS '阴离子表面活性剂';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."S2" IS '硫化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."FCG" IS '粪大肠菌群';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CL" IS '氯化物';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."SO4" IS '硫酸盐';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."NO3" IS '硝氮/硝酸盐氮';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."THRD" IS '总硬度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."COND" IS '电导率';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."FE" IS '铁';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."MN" IS '锰';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."AL" IS '铝';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CHLA" IS '叶绿素a ';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CLARITY" IS '透明度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."TU" IS '浊度';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDAY_S_240812"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON TABLE "QGC"."SD_WQDAY_S_240812" IS '水质监测数据日数据表';

-- ----------------------------
-- Table structure for SD_WQDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_WQDRTP_S";
CREATE TABLE "QGC"."SD_WQDRTP_S" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "WQGRD" VARCHAR2(16 BYTE),
  "WTMP" NUMBER(15,3),
  "PH" NUMBER(15,2),
  "DOX" NUMBER(15,2),
  "CODMN" NUMBER(15,2),
  "CODCR" NUMBER(15,2),
  "BOD5" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "TP" NUMBER(15,3),
  "TN" NUMBER(15,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(15,5),
  "F" NUMBER(15,2),
  "SE" NUMBER(15,5),
  "ARS" NUMBER(15,6),
  "HG" NUMBER(15,7),
  "CD" NUMBER(15,5),
  "CR6" NUMBER(15,3),
  "PB" NUMBER(15,5),
  "CN" NUMBER(15,6),
  "VLPH" NUMBER(15,6),
  "OIL" NUMBER(15,3),
  "LAS" NUMBER(15,3),
  "S2" NUMBER(15,3),
  "FCG" NUMBER(15,2),
  "CL" NUMBER(15,2),
  "SO4" NUMBER(15,2),
  "NO3" NUMBER(15,3),
  "THRD" NUMBER(15,2),
  "COND" NUMBER(15,2),
  "FE" NUMBER(15,5),
  "MN" NUMBER(15,3),
  "AL" NUMBER(15,4),
  "CHLA" NUMBER(15,4),
  "CLARITY" NUMBER(15,2),
  "TU" NUMBER(15,2),
  "CYANO" NUMBER(15,2),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(15,3),
  "TM" DATE,
  "TLI_SUM" NUMBER(10,2),
  "TLI_SUM_LEVEL" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."WQGRD" IS '水质类别';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."WTMP" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."PH" IS 'PH ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."DOX" IS '溶解氧';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CODMN" IS '高锰酸盐指数';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CODCR" IS '化学需氧量';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."BOD5" IS '五日生化需氧量BODS ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."NH3N" IS '氨氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TP" IS '总磷';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TN" IS '总氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CU" IS '铜';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."ZN" IS '锌';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."F" IS '氟化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."SE" IS '硒';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."ARS" IS '砷';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."HG" IS '汞';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CD" IS '镉';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CR6" IS '铬(六价) ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."PB" IS '铅';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CN" IS '氰化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."VLPH" IS '挥发酚';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."OIL" IS '石油类';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."LAS" IS '阴离子表面活性剂';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."S2" IS '硫化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."FCG" IS '粪大肠菌群';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CL" IS '氯化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."SO4" IS '硫酸盐';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."NO3" IS '硝氮/硝酸盐氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."THRD" IS '总硬度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."COND" IS '电导率';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."FE" IS '铁';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."MN" IS '锰';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."AL" IS '铝';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CHLA" IS '叶绿素a ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CLARITY" IS '透明度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TU" IS '浊度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TLI_SUM" IS '综合营养状态指数';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S"."TLI_SUM_LEVEL" IS '综合营养状态指数分级';
COMMENT ON TABLE "QGC"."SD_WQDRTP_S" IS '水质等级维度统计表';

-- ----------------------------
-- Table structure for SD_WQDRTP_S_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WQDRTP_S_240812";
CREATE TABLE "QGC"."SD_WQDRTP_S_240812" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "WQGRD" VARCHAR2(16 BYTE),
  "WTMP" NUMBER(15,3),
  "PH" NUMBER(15,2),
  "DOX" NUMBER(15,2),
  "CODMN" NUMBER(15,2),
  "CODCR" NUMBER(15,2),
  "BOD5" NUMBER(15,2),
  "NH3N" NUMBER(15,3),
  "TP" NUMBER(15,3),
  "TN" NUMBER(15,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(15,5),
  "F" NUMBER(15,2),
  "SE" NUMBER(15,5),
  "ARS" NUMBER(15,6),
  "HG" NUMBER(15,7),
  "CD" NUMBER(15,5),
  "CR6" NUMBER(15,3),
  "PB" NUMBER(15,5),
  "CN" NUMBER(15,6),
  "VLPH" NUMBER(15,6),
  "OIL" NUMBER(15,3),
  "LAS" NUMBER(15,3),
  "S2" NUMBER(15,3),
  "FCG" NUMBER(15,2),
  "CL" NUMBER(15,2),
  "SO4" NUMBER(15,2),
  "NO3" NUMBER(15,3),
  "THRD" NUMBER(15,2),
  "COND" NUMBER(15,2),
  "FE" NUMBER(15,5),
  "MN" NUMBER(15,3),
  "AL" NUMBER(15,4),
  "CHLA" NUMBER(15,4),
  "CLARITY" NUMBER(15,2),
  "TU" NUMBER(15,2),
  "CYANO" NUMBER(15,2),
  "SFDB" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT sysdate NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(15,3),
  "TM" DATE,
  "TLI_SUM" NUMBER(10,2),
  "TLI_SUM_LEVEL" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."WQGRD" IS '水质类别';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."WTMP" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."PH" IS 'PH ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."DOX" IS '溶解氧';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CODMN" IS '高锰酸盐指数';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CODCR" IS '化学需氧量';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."BOD5" IS '五日生化需氧量BODS ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."NH3N" IS '氨氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TP" IS '总磷';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TN" IS '总氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CU" IS '铜';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."ZN" IS '锌';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."F" IS '氟化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."SE" IS '硒';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."ARS" IS '砷';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."HG" IS '汞';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CD" IS '镉';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CR6" IS '铬(六价) ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."PB" IS '铅';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CN" IS '氰化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."VLPH" IS '挥发酚';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."OIL" IS '石油类';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."LAS" IS '阴离子表面活性剂';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."S2" IS '硫化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."FCG" IS '粪大肠菌群';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CL" IS '氯化物';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."SO4" IS '硫酸盐';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."NO3" IS '硝氮/硝酸盐氮';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."THRD" IS '总硬度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."COND" IS '电导率';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."FE" IS '铁';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."MN" IS '锰';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."AL" IS '铝';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CHLA" IS '叶绿素a ';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CLARITY" IS '透明度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TU" IS '浊度';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."CYANO" IS '蓝绿藻';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TLI_SUM" IS '综合营养状态指数';
COMMENT ON COLUMN "QGC"."SD_WQDRTP_S_240812"."TLI_SUM_LEVEL" IS '综合营养状态指数分级';
COMMENT ON TABLE "QGC"."SD_WQDRTP_S_240812" IS '水质等级维度统计表';

-- ----------------------------
-- Table structure for SD_WQLST_S
-- ----------------------------
DROP TABLE "QGC"."SD_WQLST_S";
CREATE TABLE "QGC"."SD_WQLST_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WTMP" NUMBER(7,3),
  "PH" NUMBER(4,2),
  "DO" NUMBER(4,2),
  "CODMN" NUMBER(6,1),
  "CODCR" NUMBER(7,1),
  "BOD5" NUMBER(5,1),
  "NH3N" NUMBER(6,3),
  "TP" NUMBER(8,3),
  "TN" NUMBER(6,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(15,5),
  "F" NUMBER(5,2),
  "SE" NUMBER(7,5),
  "ARS" NUMBER(8,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(7,5),
  "CR6" NUMBER(8,6),
  "PB" NUMBER(10,6),
  "CN" NUMBER(8,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(6,3),
  "LAS" NUMBER(6,3),
  "S2" NUMBER(5,2),
  "FCG" NUMBER(10,0),
  "CL" NUMBER(7,2),
  "SO4" NUMBER(7,2),
  "NO3" NUMBER(5,3),
  "THRD" NUMBER(7,2),
  "COND" NUMBER(6,0),
  "FE" NUMBER(15,5),
  "MN" NUMBER(5,3),
  "AL" NUMBER(7,4),
  "CHLA" NUMBER(6,4),
  "CLARITY" NUMBER(5,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(15,3)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."TM" IS '采样时间';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."WTMP" IS '水温单位：℃';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."DO" IS '溶解氧：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CODMN" IS '高锰酸盐指数：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CODCR" IS '化学需氧量：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."BOD5" IS '五日生化需氧量：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."NH3N" IS '氨氮：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."TP" IS '总磷：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."TN" IS '总氮：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CU" IS '铜：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."ZN" IS '锌：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."F" IS '氟化物：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."SE" IS '硒：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."ARS" IS '砷：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."HG" IS '汞：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CD" IS '镉：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CR6" IS '铬(六价)：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."PB" IS '铅：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CN" IS '氰化物：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."VLPH" IS '挥发酚：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."OIL" IS '石油类：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."LAS" IS '阴离子表面活性剂：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."S2" IS '硫化物：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."FCG" IS '粪大肠菌群：个/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CL" IS '氯化物：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."SO4" IS '硫酸盐：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."NO3" IS '硝氮/硝酸盐氮：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."THRD" IS '总硬度：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."COND" IS '电导率：μS/cm';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."FE" IS '铁：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."MN" IS '锰：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."AL" IS '铝：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CHLA" IS '叶绿素a：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."CLARITY" IS '透明度：m';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQLST_S"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON TABLE "QGC"."SD_WQLST_S" IS '水环境最新监测状态表';

-- ----------------------------
-- Table structure for SD_WQWRNDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_WQWRNDAY_S";
CREATE TABLE "QGC"."SD_WQWRNDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "PERIOD" VARCHAR2(16 BYTE),
  "INDX" VARCHAR2(16 BYTE),
  "RLVL" VARCHAR2(16 BYTE),
  "STDVL1" VARCHAR2(16 BYTE),
  "STDVL2" VARCHAR2(16 BYTE),
  "TGTP" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."DT" IS '数据时间：精确到小时，格式：yyyy-mm-dd 00:00:00';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."PERIOD" IS '丰平枯时期';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."INDX" IS '水质要素';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."RLVL" IS '监测数值';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."STDVL1" IS '标准值1';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."STDVL2" IS '标准值2';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."TGTP" IS '依据类型';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."SD_WQWRNDAY_S" IS '水质不达标统计数据表';

-- ----------------------------
-- Table structure for SD_WQWRNDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_WQWRNDRTP_S";
CREATE TABLE "QGC"."SD_WQWRNDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "PERIOD" VARCHAR2(16 BYTE),
  "INDX" VARCHAR2(16 BYTE),
  "RLVL" VARCHAR2(16 BYTE),
  "STDVL1" VARCHAR2(16 BYTE),
  "STDVL2" VARCHAR2(16 BYTE),
  "TGTP" NUMBER(1,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."PERIOD" IS '丰平枯时期';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."INDX" IS '水质要素';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."RLVL" IS '监测数值';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."STDVL1" IS '标准值1';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."STDVL2" IS '标准值2';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."TGTP" IS '依据类型';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_WQWRNDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WQWRNDRTP_S" IS '水质不达标统计数据表';

-- ----------------------------
-- Table structure for SD_WQ_R
-- ----------------------------
DROP TABLE "QGC"."SD_WQ_R";
CREATE TABLE "QGC"."SD_WQ_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WQGRD" VARCHAR2(16 BYTE),
  "PERIOD" VARCHAR2(16 BYTE),
  "SPSTLC" NUMBER(3,0),
  "WTMP" NUMBER(9,3),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(10,2),
  "CODCR" NUMBER(10,2),
  "BOD5" NUMBER(10,2),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "NI" NUMBER(9,2),
  "SFDB" NUMBER(1,0),
  "FID" VARCHAR2(1000 BYTE),
  "VLSR" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TOD" NUMBER(8,2),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "TLI_SUM" NUMBER(10,2),
  "TLI_SUM_LEVEL" VARCHAR2(36 BYTE),
  "WQ_SFDBHN_YS" VARCHAR2(255 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "N_NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(9,3),
  "ORP" NUMBER(4,2),
  "FWGHTEMP" NUMBER(9,2)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQ_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TM" IS '采样时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."WQGRD" IS '水质类别：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."PERIOD" IS '丰平枯时期 1=丰 2=平 3=枯';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SPSTLC" IS '水平位置：1=左岸1 2=右岸 3=河中';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."DOX" IS '溶解氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CODMN" IS '高锰酸盐指数：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CODCR" IS '化学需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."BOD5" IS '五日生化需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."NH3N" IS '氨氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TP" IS '总磷：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TN" IS '总氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CU" IS '铜：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."ZN" IS '锌：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."F" IS '氟化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SE" IS '硒：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."ARS" IS '砷：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."HG" IS '汞：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CD" IS '镉：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CR6" IS '铬(六价)：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."PB" IS '铅：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CN" IS '氰化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."VLPH" IS '挥发酚：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."OIL" IS '石油类：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."LAS" IS '阴离子表面活性剂：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."S2" IS '硫化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."FCG" IS '粪大肠菌群：单位：个/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CL" IS '氯化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SO4" IS '硫酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."NO3" IS '硝氮/硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."THRD" IS '总硬度：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."COND" IS '电导率：单位：μS/cm';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."FE" IS '铁：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."MN" IS '锰：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."AL" IS '铝：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CHLA" IS '叶绿素a：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CLARITY" IS '透明度：单位：m';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CYANO" IS '蓝绿藻：单位：cells/mL';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."NI" IS '镍：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TLI_SUM" IS '综合营养状态指数';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TLI_SUM_LEVEL" IS '综合营养状态指数分级';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."WQ_SFDBHN_YS" IS '水质不达标的要素';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."N_NO2" IS '亚硝酸盐氮：单位：mg/L，弃用查行业规范亚硝酸盐氮列名为：NO2不是N_NO2';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R"."ORP" IS '氧化还原电位：单位：mV';
COMMENT ON TABLE "QGC"."SD_WQ_R" IS '水质监测数据表';

-- ----------------------------
-- Table structure for SD_WQ_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WQ_R_240812";
CREATE TABLE "QGC"."SD_WQ_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WQGRD" VARCHAR2(16 BYTE),
  "PERIOD" VARCHAR2(16 BYTE),
  "SPSTLC" NUMBER(3,0),
  "WTMP" NUMBER(9,3),
  "PH" NUMBER(9,2),
  "DOX" NUMBER(9,2),
  "CODMN" NUMBER(10,2),
  "CODCR" NUMBER(10,2),
  "BOD5" NUMBER(10,2),
  "NH3N" NUMBER(9,3),
  "TP" NUMBER(9,3),
  "TN" NUMBER(9,3),
  "CU" NUMBER(15,5),
  "ZN" NUMBER(10,5),
  "F" NUMBER(9,2),
  "SE" NUMBER(9,5),
  "ARS" NUMBER(9,6),
  "HG" NUMBER(9,7),
  "CD" NUMBER(9,5),
  "CR6" NUMBER(9,3),
  "PB" NUMBER(9,5),
  "CN" NUMBER(9,6),
  "VLPH" NUMBER(10,6),
  "OIL" NUMBER(9,3),
  "LAS" NUMBER(9,3),
  "S2" NUMBER(9,3),
  "FCG" NUMBER(12,2),
  "CL" NUMBER(9,2),
  "SO4" NUMBER(9,2),
  "NO3" NUMBER(9,3),
  "THRD" NUMBER(9,2),
  "COND" NUMBER(11,2),
  "FE" NUMBER(12,5),
  "MN" NUMBER(9,3),
  "AL" NUMBER(9,4),
  "CHLA" NUMBER(9,4),
  "CLARITY" NUMBER(9,2),
  "TU" NUMBER(11,2),
  "CYANO" NUMBER(15,2),
  "NI" NUMBER(9,2),
  "SFDB" NUMBER(1,0),
  "FID" VARCHAR2(1000 BYTE),
  "VLSR" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TOD" NUMBER(8,2),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "TLI_SUM" NUMBER(10,2),
  "TLI_SUM_LEVEL" VARCHAR2(36 BYTE),
  "WQ_SFDBHN_YS" VARCHAR2(255 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "CA" NUMBER(9,3),
  "PO4" NUMBER(9,3),
  "N_NO2" NUMBER(9,3),
  "NA" NUMBER(9,3),
  "K" NUMBER(9,3),
  "TOC" NUMBER(9,3),
  "OPOR" NUMBER(9,3),
  "SS" NUMBER(5,1),
  "NO2" NUMBER(9,3),
  "ORP" NUMBER(4,2),
  "FWGHTEMP" NUMBER(9,2)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TM" IS '采样时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."WQGRD" IS '水质类别：1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."PERIOD" IS '丰平枯时期 1=丰 2=平 3=枯';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SPSTLC" IS '水平位置：1=左岸1 2=右岸 3=河中';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."WTMP" IS '水温：单位：℃';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."PH" IS 'PH';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."DOX" IS '溶解氧：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CODMN" IS '高锰酸盐指数：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CODCR" IS '化学需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."BOD5" IS '五日生化需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."NH3N" IS '氨氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TP" IS '总磷：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TN" IS '总氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CU" IS '铜：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."ZN" IS '锌：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."F" IS '氟化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SE" IS '硒：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."ARS" IS '砷：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."HG" IS '汞：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CD" IS '镉：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CR6" IS '铬(六价)：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."PB" IS '铅：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CN" IS '氰化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."VLPH" IS '挥发酚：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."OIL" IS '石油类：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."LAS" IS '阴离子表面活性剂：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."S2" IS '硫化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."FCG" IS '粪大肠菌群：单位：个/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CL" IS '氯化物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SO4" IS '硫酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."NO3" IS '硝氮/硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."THRD" IS '总硬度：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."COND" IS '电导率：单位：μS/cm';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."FE" IS '铁：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."MN" IS '锰：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."AL" IS '铝：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CHLA" IS '叶绿素a：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CLARITY" IS '透明度：单位：m';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TU" IS '浊度：单位：NTU';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CYANO" IS '蓝绿藻：单位：cells/mL';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."NI" IS '镍：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SFDB" IS '是否达标：0=不达标 1=达标';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TOD" IS '总氧/总需氧量：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TLI_SUM" IS '综合营养状态指数';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TLI_SUM_LEVEL" IS '综合营养状态指数分级';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."WQ_SFDBHN_YS" IS '水质不达标的要素';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."CA" IS '钙：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."PO4" IS '磷酸盐：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."N_NO2" IS '亚硝酸盐氮：单位：mg/L，弃用查行业规范亚硝酸盐氮列名为：NO2不是N_NO2';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."NA" IS '钠：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."K" IS '钾：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."TOC" IS '总有机碳：单位：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."OPOR" IS '有机磷农药：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."SS" IS '悬浮物：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."NO2" IS '亚硝酸盐氮：单位：mg/L';
COMMENT ON COLUMN "QGC"."SD_WQ_R_240812"."ORP" IS '氧化还原电位：单位：mV';
COMMENT ON TABLE "QGC"."SD_WQ_R_240812" IS '水质监测数据表';

-- ----------------------------
-- Table structure for SD_WRT_C
-- ----------------------------
DROP TABLE "QGC"."SD_WRT_C";
CREATE TABLE "QGC"."SD_WRT_C" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "H" NUMBER(5,2) NOT NULL,
  "WR" NUMBER(4,1),
  "VLSR" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WRT_C"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WRT_C"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."SD_WRT_C"."H" IS '净水头：发电的净水头。单位：m';
COMMENT ON COLUMN "QGC"."SD_WRT_C"."WR" IS '综合耗水率：该水头值下的综合耗水率数值。单位：m3/kW*h';
COMMENT ON COLUMN "QGC"."SD_WRT_C"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_WRT_C" IS '水电站综合耗水率曲线表';

-- ----------------------------
-- Table structure for SD_WRT_C_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WRT_C_240812";
CREATE TABLE "QGC"."SD_WRT_C_240812" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "H" NUMBER(5,2) NOT NULL,
  "WR" NUMBER(4,1),
  "VLSR" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WRT_C_240812"."STCD" IS '电站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WRT_C_240812"."TM" IS '数据时间';
COMMENT ON COLUMN "QGC"."SD_WRT_C_240812"."H" IS '净水头：发电的净水头。单位：m';
COMMENT ON COLUMN "QGC"."SD_WRT_C_240812"."WR" IS '综合耗水率：该水头值下的综合耗水率数值。单位：m3/kW*h';
COMMENT ON COLUMN "QGC"."SD_WRT_C_240812"."VLSR" IS '数据来源';
COMMENT ON TABLE "QGC"."SD_WRT_C_240812" IS '水电站综合耗水率曲线表';

-- ----------------------------
-- Table structure for SD_WTNP_B
-- ----------------------------
DROP TABLE "QGC"."SD_WTNP_B";
CREATE TABLE "QGC"."SD_WTNP_B" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WTTP" NUMBER(1,0) NOT NULL,
  "MNTH" NUMBER(2,0) NOT NULL,
  "FRQ" NUMBER(2,0),
  "AVQ" NUMBER(9,3),
  "WT" NUMBER(7,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "VLSR" VARCHAR2(100 BYTE),
  "VLSR_TM" DATE
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."STCD" IS '河道水温监测断面编码';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."WTTP" IS '水温类别：1=天然、2=无措施预测 3=有措施预测';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."MNTH" IS '月份';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."FRQ" IS '对应来水频率';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."AVQ" IS '月均流量';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_WTNP_B"."VLSR_TM" IS '数据来源时间';
COMMENT ON TABLE "QGC"."SD_WTNP_B" IS '天然水温及预测水温信息表';

-- ----------------------------
-- Table structure for SD_WTRVAMEND_S
-- ----------------------------
DROP TABLE "QGC"."SD_WTRVAMEND_S";
CREATE TABLE "QGC"."SD_WTRVAMEND_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WT" NUMBER(15,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRVAMEND_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON TABLE "QGC"."SD_WTRVAMEND_S" IS '河道水温监测数据日统计结果修正表';

-- ----------------------------
-- Table structure for SD_WTRVDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_WTRVDAY_S";
CREATE TABLE "QGC"."SD_WTRVDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WT" NUMBER(15,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON TABLE "QGC"."SD_WTRVDAY_S" IS '河道水温监测数据日统计表';

-- ----------------------------
-- Table structure for SD_WTRVDAY_S_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WTRVDAY_S_240812";
CREATE TABLE "QGC"."SD_WTRVDAY_S_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "WT" NUMBER(15,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRVDAY_S_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON TABLE "QGC"."SD_WTRVDAY_S_240812" IS '河道水温监测数据日统计表';

-- ----------------------------
-- Table structure for SD_WTRVDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_WTRVDRTP_S";
CREATE TABLE "QGC"."SD_WTRVDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WT" NUMBER(15,2),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WTRVDRTP_S" IS '河道水温监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WTRVDRTP_S_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WTRVDRTP_S_240812";
CREATE TABLE "QGC"."SD_WTRVDRTP_S_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "WT" NUMBER(15,2),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."WT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTRVDRTP_S_240812"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WTRVDRTP_S_240812" IS '河道水温监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WTRV_R
-- ----------------------------
DROP TABLE "QGC"."SD_WTRV_R";
CREATE TABLE "QGC"."SD_WTRV_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."ID" IS '编号：水生生态调查水温表编号、水温监测断面';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON TABLE "QGC"."SD_WTRV_R" IS '河道水温监测数据表';

-- ----------------------------
-- Table structure for SD_WTRV_R_240812
-- ----------------------------
DROP TABLE "QGC"."SD_WTRV_R_240812";
CREATE TABLE "QGC"."SD_WTRV_R_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WT" NUMBER(7,3),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."ID" IS '编号：水生生态调查水温表编号、水温监测断面';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."STCD" IS '测站编码：水温站的测站编码';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."WT" IS '温度';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WTRV_R_240812"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON TABLE "QGC"."SD_WTRV_R_240812" IS '河道水温监测数据表';

-- ----------------------------
-- Table structure for SD_WTVTDAY_S
-- ----------------------------
DROP TABLE "QGC"."SD_WTVTDAY_S";
CREATE TABLE "QGC"."SD_WTVTDAY_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "VWT" NUMBER(15,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WTHG" NUMBER(6,2) NOT NULL
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON TABLE "QGC"."SD_WTVTDAY_S" IS '垂向水温监测数据日统计表';

-- ----------------------------
-- Table structure for SD_WTVTDAY_S_240830
-- ----------------------------
DROP TABLE "QGC"."SD_WTVTDAY_S_240830";
CREATE TABLE "QGC"."SD_WTVTDAY_S_240830" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "DT" DATE NOT NULL,
  "VWT" NUMBER(15,2),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WTHG" NUMBER(6,2)
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."DT" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVTDAY_S_240830"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON TABLE "QGC"."SD_WTVTDAY_S_240830" IS '垂向水温监测数据日统计表';

-- ----------------------------
-- Table structure for SD_WTVTDRTP_S
-- ----------------------------
DROP TABLE "QGC"."SD_WTVTDRTP_S";
CREATE TABLE "QGC"."SD_WTVTDRTP_S" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "VWT" NUMBER(15,2),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WTHG" NUMBER(6,2) NOT NULL,
  "TM" DATE NOT NULL
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WTVTDRTP_S" IS '垂向水温监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WTVTDRTP_S_240830
-- ----------------------------
DROP TABLE "QGC"."SD_WTVTDRTP_S_240830";
CREATE TABLE "QGC"."SD_WTVTDRTP_S_240830" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "VWT" NUMBER(15,2),
  "DRTP" VARCHAR2(4 BYTE) NOT NULL,
  "YEAR" NUMBER(4,0) NOT NULL,
  "MONTH" NUMBER(2,0),
  "DR" NUMBER(2,0),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "WTHG" NUMBER(6,2),
  "TM" DATE
)
NOLOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."STCD" IS '测站编码';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."DRTP" IS '维度类型：WEEK=周 TEN=旬 MON=月 QUA=季 YEAR=年；存储字典值，字典项为com.drtp';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."YEAR" IS '年：YYYY';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."MONTH" IS '月：维度类型为周：空，维度类型为旬：1-12分别代表1-12月份，维度类型为月：1-12分别代表1-12月份，维度类型为季：空，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."DR" IS '时段类型：维度类型为周：1-54，维度类型为旬：1-3分别代表上中下旬，维度类型为月：空，维度类型为季：1-4 分别代表1-4季度，维度类型为年：空';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典编码，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTVTDRTP_S_240830"."TM" IS '数据时间：维度类型为周(数据记录在每周一) 维度类型为旬(上中下旬数据分别记录在每月1号，11号，21号) 维度类型为月(数据记录在每月1号) 维度类型为季(1-4季度数据分别记录在每年1月1号，4月1号，7月1号，10月1号) 维度类型为年(数据记录在每年1月1号)';
COMMENT ON TABLE "QGC"."SD_WTVTDRTP_S_240830" IS '垂向水温监测数据维度统计表';

-- ----------------------------
-- Table structure for SD_WTVT_R
-- ----------------------------
DROP TABLE "QGC"."SD_WTVT_R";
CREATE TABLE "QGC"."SD_WTVT_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WTHG" NUMBER(6,2) NOT NULL,
  "VWT" NUMBER(7,2),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "RZ" NUMBER(7,2),
  "HGT" NUMBER(7,2),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(36 BYTE)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."STCD" IS '水温站编码关联SD_ENVPROFINF_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."WTHG" IS '水温深度';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."RZ" IS '坝前水位';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."HGT" IS '测点高程';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON TABLE "QGC"."SD_WTVT_R" IS '垂向水温监测数据表';

-- ----------------------------
-- Table structure for SD_WTVT_R_TEMP
-- ----------------------------
DROP TABLE "QGC"."SD_WTVT_R_TEMP";
CREATE TABLE "QGC"."SD_WTVT_R_TEMP" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" DATE NOT NULL,
  "WTHG" NUMBER(6,2) NOT NULL,
  "VWT" NUMBER(7,2),
  "FID" VARCHAR2(2000 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "IS_TEMP_STORAGE" NUMBER(1,0),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "RZ" NUMBER(7,2),
  "HGT" NUMBER(7,2),
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(255 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "SYSTEM_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "WER_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."STCD" IS '水温站编码关联SD_ENVPROFINF_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."WTHG" IS '水温深度';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."VWT" IS '水温';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."FID" IS '附件ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."RZ" IS '坝前水位';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."HGT" IS '测点高程';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."SYSTEM_ID" IS '系统ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WTVT_R_TEMP"."WER_ID" IS '所属水生生态调查数据表ID:关联SD_WE_R.ID';
COMMENT ON TABLE "QGC"."SD_WTVT_R_TEMP" IS '垂向水温监测数据表(临时创建250707)';

-- ----------------------------
-- Table structure for SD_WVA_R
-- ----------------------------
DROP TABLE "QGC"."SD_WVA_R";
CREATE TABLE "QGC"."SD_WVA_R" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6) NOT NULL,
  "FLNM" VARCHAR2(64 BYTE),
  "IMG_PATH" VARCHAR2(255 BYTE),
  "FLPTH" VARCHAR2(255 BYTE),
  "FID" VARCHAR2(2000 BYTE),
  "DESCRIPTION" VARCHAR2(256 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" TIMESTAMP(6) DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" TIMESTAMP(6),
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" TIMESTAMP(6),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_WVA_R"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."STCD" IS '野生动物监测站编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."FLNM" IS '视频显示名称';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."IMG_PATH" IS '图片路径或者图片ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."FLPTH" IS '视频路径或者视频ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."FID" IS '附件ID：关联SD_FILE_B.FID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_WVA_R"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=不是暂存记录 1=是暂存记录；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_WVA_R" IS '野生动物监测表';

-- ----------------------------
-- Table structure for SD_YRAVG_T
-- ----------------------------
DROP TABLE "QGC"."SD_YRAVG_T";
CREATE TABLE "QGC"."SD_YRAVG_T" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "SITE_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "MONTH" NUMBER(3,0) NOT NULL,
  "DT" DATE NOT NULL,
  "VALUE" NUMBER(20,6) NOT NULL,
  "VLSR" VARCHAR2(100 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "IS_TEMP_STORAGE" NUMBER(1,0)
)
NOLOGGING
NOCOMPRESS

STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."STCD" IS '站码';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."SITE_TYPE" IS '所属站点分类：关联BBI_SITE_DICT.TYPE eng=常规水电站 stinfo=水文站 mm=气象站 env=生态环保 vdinfo=视频监控 psEng=抽水蓄能电站';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."TYPE" IS '数据类型：0=降雨(mm) 1=气温(℃) 2=气压(102Pa) 3=湿度(%) 4=蒸发量(mm) 5=风速(m/s) 6=流量(m3/s) 7=水位(m3/s) 8=含沙量(kg/m3) 9=辐照(W/m2) 10=日照(h) 11=闸上水位(m) 12=闸下水位(m) 13=入库流量(m3/s) 14=出库流量(m3/s) 15=发电量(万kW*h) 16=生态流量(m3/s) 17=枯水期径流量(万m3) 18=水能利用率(%) 19=水量利用率(%) 20=断面来水(%) 21=弃水电量(万KW*h)';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."MONTH" IS '平均类型：-1=多年平均 1=多年1月平均 2=多年2月平均 3=多年3月平均 4=多年4月平均 5=多年5月平均 6=多年6月平均 7=多年7月平均 8=多年8月平均 9=多年9月平均 10=多年10月平均 11=多年11月平均 12=多年12月平均 13=某年平均 14=某年某月平均 15=多年上旬平均 16=多年中旬平均 17=多年下旬平均';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."DT" IS '日期：该表数据量大需要根据DT分区，针对平均类型为“多***平均”，日期固定为：1970-01-01 00:00:00';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."VALUE" IS '数值';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."VLSR" IS '数据来源';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."DEPARTMENT_ID" IS '数据归属的部门ID：关联SYS_DEPT.ID';
COMMENT ON COLUMN "QGC"."SD_YRAVG_T"."IS_TEMP_STORAGE" IS '是否是暂存记录：0=未暂存 1=已暂存；存储字典值，字典项为comm.is_temp_storage';
COMMENT ON TABLE "QGC"."SD_YRAVG_T" IS '枯水期径流量平均统计表';

-- ----------------------------
-- Table structure for SD_ZL_B
-- ----------------------------
DROP TABLE "QGC"."SD_ZL_B";
CREATE TABLE "QGC"."SD_ZL_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "BELONGTYPE" VARCHAR2(255 BYTE),
  "TITLE" VARCHAR2(255 BYTE),
  "TWOTYPE" VARCHAR2(255 BYTE),
  "SITE_TYPE" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE),
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "FID" VARCHAR2(1000 BYTE),
  "CONTENT" CLOB,
  "TASK_ID" VARCHAR2(36 BYTE),
  "TASK_STATUS" VARCHAR2(100 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ZL_B"."ID" IS 'ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."BELONGTYPE" IS '归属类型 ZCTZ:政策文件和通知YB:月报';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."TITLE" IS '标题';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."TWOTYPE" IS '细分类型ZC:政策TZ:通知';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."SITE_TYPE" IS '数据类别 enum：{eng=水能利用&evn=生态环境}';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."FID" IS '附件';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."CONTENT" IS '内容';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."TASK_ID" IS '流程ID';
COMMENT ON COLUMN "QGC"."SD_ZL_B"."TASK_STATUS" IS '流程状态：Standby=处理中 WaitingSubmit=待提交 Approved=同意 Rejected=拒绝 Deleted=删除';
COMMENT ON TABLE "QGC"."SD_ZL_B" IS '资料管理';

-- ----------------------------
-- Table structure for SD_ZVARL_C
-- ----------------------------
DROP TABLE "QGC"."SD_ZVARL_C";
CREATE TABLE "QGC"."SD_ZVARL_C" (
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "TM" TIMESTAMP(6) NOT NULL,
  "PTNO" NUMBER(4,0) NOT NULL,
  "RZ" NUMBER(7,3) NOT NULL,
  "W" NUMBER(10,4),
  "VLSR" VARCHAR2(100 BYTE),
  "AR" NUMBER(12,4)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."STCD" IS '站码。单位：';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."TM" IS '施测时间。单位：';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."PTNO" IS '点序号 。单位：';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."RZ" IS '库水位 。单位：m ';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."W" IS '蓄水量 。单位：108m3';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."VLSR" IS '数据来源。单位：';
COMMENT ON COLUMN "QGC"."SD_ZVARL_C"."AR" IS '面积';
COMMENT ON TABLE "QGC"."SD_ZVARL_C" IS '库(湖)容曲线表用于存储水库(湖)的水位和蓄水量之间的相关关系';

-- ----------------------------
-- Table structure for ST_STBPRP_YS_B
-- ----------------------------
DROP TABLE "QGC"."ST_STBPRP_YS_B";
CREATE TABLE "QGC"."ST_STBPRP_YS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_TB_YS_B_ID" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TIME_RULE" NUMBER(2,0) DEFAULT 1,
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."STTP_TB_YS_B_ID" IS '所属对象业务类型与监测表的要素关联表：关联ST_STTP_TB_YS_B.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."TIME_RULE" IS '要素监测频率(默认1小时),单位：H';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STBPRP_YS_B" IS '5对象(电站/测站/环保站等)与监测要素关联表';

-- ----------------------------
-- Table structure for ST_STBPRP_YS_B_240410
-- ----------------------------
DROP TABLE "QGC"."ST_STBPRP_YS_B_240410";
CREATE TABLE "QGC"."ST_STBPRP_YS_B_240410" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_TB_YS_B_ID" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TIME_RULE" NUMBER(2,0) DEFAULT 1,
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."STTP_TB_YS_B_ID" IS '所属对象业务类型与监测表的要素关联表：关联ST_STTP_TB_YS_B.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."TIME_RULE" IS '要素监测频率(默认1小时),单位：H';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240410"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STBPRP_YS_B_240410" IS '5对象(电站/测站/环保站等)与监测要素关联表';

-- ----------------------------
-- Table structure for ST_STBPRP_YS_B_240611
-- ----------------------------
DROP TABLE "QGC"."ST_STBPRP_YS_B_240611";
CREATE TABLE "QGC"."ST_STBPRP_YS_B_240611" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_TB_YS_B_ID" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TIME_RULE" NUMBER(2,0) DEFAULT 1,
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."STTP_TB_YS_B_ID" IS '所属对象业务类型与监测表的要素关联表：关联ST_STTP_TB_YS_B.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."TIME_RULE" IS '要素监测频率(默认1小时),单位：H';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240611"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STBPRP_YS_B_240611" IS '5对象(电站/测站/环保站等)与监测要素关联表';

-- ----------------------------
-- Table structure for ST_STBPRP_YS_B_240806
-- ----------------------------
DROP TABLE "QGC"."ST_STBPRP_YS_B_240806";
CREATE TABLE "QGC"."ST_STBPRP_YS_B_240806" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_TB_YS_B_ID" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TIME_RULE" NUMBER(2,0) DEFAULT 1,
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."STTP_TB_YS_B_ID" IS '所属对象业务类型与监测表的要素关联表：关联ST_STTP_TB_YS_B.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."TIME_RULE" IS '要素监测频率(默认1小时),单位：H';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240806"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STBPRP_YS_B_240806" IS '5对象(电站/测站/环保站等)与监测要素关联表';

-- ----------------------------
-- Table structure for ST_STBPRP_YS_B_240812
-- ----------------------------
DROP TABLE "QGC"."ST_STBPRP_YS_B_240812";
CREATE TABLE "QGC"."ST_STBPRP_YS_B_240812" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STCD" VARCHAR2(36 BYTE) NOT NULL,
  "STTP_TB_YS_B_ID" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "TIME_RULE" NUMBER(2,0) DEFAULT 1,
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."STCD" IS '所属对象编码：关联SD_STBPRP_B.STCD';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."STTP_TB_YS_B_ID" IS '所属对象业务类型与监测表的要素关联表：关联ST_STTP_TB_YS_B.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."TIME_RULE" IS '要素监测频率(默认1小时),单位：H';
COMMENT ON COLUMN "QGC"."ST_STBPRP_YS_B_240812"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STBPRP_YS_B_240812" IS '5对象(电站/测站/环保站等)与监测要素关联表';

-- ----------------------------
-- Table structure for ST_STTP_TB_YS_B
-- ----------------------------
DROP TABLE "QGC"."ST_STTP_TB_YS_B";
CREATE TABLE "QGC"."ST_STTP_TB_YS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "STTP_ID" VARCHAR2(36 BYTE) NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "IS_SHOW" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "DESCRIPTION" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."STTP_ID" IS '对象业务类型：关联SD_STTP_B.ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."IS_SHOW" IS '是否显示：0=不显示 1=显示，默认显示；存储字典值，字典项为comm.show';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_STTP_TB_YS_B"."DESCRIPTION" IS '备注';
COMMENT ON TABLE "QGC"."ST_STTP_TB_YS_B" IS '4对象业务类型(站类)与监测表要素关联表';

-- ----------------------------
-- Table structure for ST_TB_B
-- ----------------------------
DROP TABLE "QGC"."ST_TB_B";
CREATE TABLE "QGC"."ST_TB_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TB" VARCHAR2(30 BYTE) NOT NULL,
  "TB_NAME" VARCHAR2(100 BYTE) NOT NULL,
  "TB_CODE" VARCHAR2(30 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "DATA_SOURCE_ID" VARCHAR2(36 BYTE),
  "STAT_TB" VARCHAR2(30 BYTE),
  "DAY_TB" VARCHAR2(30 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "LAST_TB" VARCHAR2(20 BYTE) DEFAULT NULL,
  "HOUR_TB" VARCHAR2(20 BYTE) DEFAULT NULL,
  "TB_DATA_TYPE" VARCHAR2(4 BYTE),
  "STCD_MAPPING" VARCHAR2(36 BYTE),
  "TM_MAPPING" VARCHAR2(36 BYTE),
  "STATISTIC_HOUR" NUMBER(2,0),
  "INTV_TB" VARCHAR2(32 BYTE),
  "INTV_CONFIG" VARCHAR2(64 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_TB_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_TB_B"."TB" IS '真实表名';
COMMENT ON COLUMN "QGC"."ST_TB_B"."TB_NAME" IS '显示表名';
COMMENT ON COLUMN "QGC"."ST_TB_B"."TB_CODE" IS '表编码：必需唯一并且大写';
COMMENT ON COLUMN "QGC"."ST_TB_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."ST_TB_B"."DATA_SOURCE_ID" IS '所属数据源：关联GEN_DATASOURCE_CONF.ID';
COMMENT ON COLUMN "QGC"."ST_TB_B"."STAT_TB" IS '统计表表名';
COMMENT ON COLUMN "QGC"."ST_TB_B"."DAY_TB" IS '日统计表名：不填则不统计';
COMMENT ON COLUMN "QGC"."ST_TB_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_TB_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_TB_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_TB_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_TB_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."ST_TB_B"."LAST_TB" IS '最新数据表表名';
COMMENT ON COLUMN "QGC"."ST_TB_B"."HOUR_TB" IS '统计小时表';
COMMENT ON COLUMN "QGC"."ST_TB_B"."TB_DATA_TYPE" IS '数据类型：R=实时表 H=小时表 D=天统计表 DRTP=时间维度统计表 LAST=最新数据监测表';
COMMENT ON COLUMN "QGC"."ST_TB_B"."STCD_MAPPING" IS 'STCD映射字段';
COMMENT ON COLUMN "QGC"."ST_TB_B"."TM_MAPPING" IS 'TM映射字段';
COMMENT ON COLUMN "QGC"."ST_TB_B"."STATISTIC_HOUR" IS '统计小时时段';
COMMENT ON COLUMN "QGC"."ST_TB_B"."INTV_TB" IS '时段表真实表名';
COMMENT ON COLUMN "QGC"."ST_TB_B"."INTV_CONFIG" IS '时段统计配置：用,隔开；单位为小时；按国标定义包括0.05,0.1,0.15,0.3,1,2,3,6,12';
COMMENT ON TABLE "QGC"."ST_TB_B" IS '2监测表信息表';

-- ----------------------------
-- Table structure for ST_TB_YS_B
-- ----------------------------
DROP TABLE "QGC"."ST_TB_YS_B";
CREATE TABLE "QGC"."ST_TB_YS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "TB_ID" VARCHAR2(36 BYTE) NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "YS_SHOW_NAME" NVARCHAR2(100) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "SHOW_CONTROL" NVARCHAR2(255),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "ORDER_INDEX" NUMBER(4,0),
  "FILTER_CONTENT" VARCHAR2(255 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."TB_ID" IS '所属监测表：关联ST_TB_B.ID';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."YS" IS '要素编码：关联ST_YS_B.YS';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."YS_SHOW_NAME" IS '监测要素显示名称：默认为ST_YS_B表中的显示名称';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."SHOW_CONTROL" IS '显示控制：json格式数据';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."ORDER_INDEX" IS '排序';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."FILTER_CONTENT" IS '过滤内容';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_TB_YS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."ST_TB_YS_B" IS '3监测要素与监测表关联表';

-- ----------------------------
-- Table structure for ST_YS_B
-- ----------------------------
DROP TABLE "QGC"."ST_YS_B";
CREATE TABLE "QGC"."ST_YS_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "YS" VARCHAR2(36 BYTE) NOT NULL,
  "YS_NAME" NVARCHAR2(100) NOT NULL,
  "YS_SHOW_NAME" NVARCHAR2(100) NOT NULL,
  "DESCRIPTION" VARCHAR2(500 BYTE),
  "SAVE_MODE" VARCHAR2(10 BYTE) NOT NULL,
  "SUMMARY_MODE" VARCHAR2(20 BYTE),
  "STANDARD_UOM_ID" VARCHAR2(36 BYTE),
  "DATA_TYPE" VARCHAR2(10 BYTE) NOT NULL,
  "DICT_ID" VARCHAR2(36 BYTE),
  "ENABLE" NUMBER(1,0) DEFAULT 1 NOT NULL,
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."ST_YS_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."ST_YS_B"."YS" IS '监测要素编码：全局唯一';
COMMENT ON COLUMN "QGC"."ST_YS_B"."YS_NAME" IS '监测要素名称';
COMMENT ON COLUMN "QGC"."ST_YS_B"."YS_SHOW_NAME" IS '前端页面显示名称';
COMMENT ON COLUMN "QGC"."ST_YS_B"."DESCRIPTION" IS '备注';
COMMENT ON COLUMN "QGC"."ST_YS_B"."SAVE_MODE" IS '保存方式：cover=覆盖';
COMMENT ON COLUMN "QGC"."ST_YS_B"."SUMMARY_MODE" IS '汇总方式：AVG=平均 SUM=求和 MAX=最大值 MIN=最小值 LAST=最新；存储字典值大写，字典项为comm.summary_mode';
COMMENT ON COLUMN "QGC"."ST_YS_B"."STANDARD_UOM_ID" IS '所属计量单位：关联MS_UOM_B.ID';
COMMENT ON COLUMN "QGC"."ST_YS_B"."DATA_TYPE" IS '数据类型：STR=字符串 NUMBER=数字 DATETIME=日期时间 DATE=日期 TIME=时间；存储字典值大写，字典项为comm.data_type';
COMMENT ON COLUMN "QGC"."ST_YS_B"."DICT_ID" IS '字典：关联字典表.ID';
COMMENT ON COLUMN "QGC"."ST_YS_B"."ENABLE" IS '是否启用：0=禁用 1=启用，默认启用；存储字典值，字典项为comm.enabled';
COMMENT ON COLUMN "QGC"."ST_YS_B"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_YS_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."ST_YS_B"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_YS_B"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."ST_YS_B"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."ST_YS_B"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."ST_YS_B"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."ST_YS_B"."ISOLATE_ID" IS '隔离ID';
COMMENT ON TABLE "QGC"."ST_YS_B" IS '1监测要素信息表';

-- ----------------------------
-- Table structure for SYS_SQLPATCH_B
-- ----------------------------
DROP TABLE "QGC"."SYS_SQLPATCH_B";
CREATE TABLE "QGC"."SYS_SQLPATCH_B" (
  "ID" VARCHAR2(64 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "PATCH_FILE" VARCHAR2(100 BYTE) NOT NULL,
  "DESCRIPTION" VARCHAR2(255 BYTE) DEFAULT NULL,
  "RECORD_USER" VARCHAR2(20 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "SOURCE" VARCHAR2(100 BYTE) NOT NULL
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."PATCH_FILE" IS '脚本文件';
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."DESCRIPTION" IS '脚本描述';
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."RECORD_USER" IS '创建者';
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."SYS_SQLPATCH_B"."SOURCE" IS '来源';
COMMENT ON TABLE "QGC"."SYS_SQLPATCH_B" IS '系统SQL补丁记录表';

-- ----------------------------
-- Table structure for TEMP_BASETABLEKV_B
-- ----------------------------
DROP TABLE "QGC"."TEMP_BASETABLEKV_B";
CREATE TABLE "QGC"."TEMP_BASETABLEKV_B" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "NO" NUMBER(4,0),
  "SOURCE" VARCHAR2(100 BYTE),
  "STTP" VARCHAR2(50 BYTE),
  "STTP_STRS" VARCHAR2(1024 BYTE),
  "TABLE_NAME" VARCHAR2(30 BYTE),
  "TABLE_DESC" VARCHAR2(300 BYTE),
  "COL_NAME" VARCHAR2(30 BYTE),
  "COL_NAME_NEW" VARCHAR2(30 BYTE),
  "COL_DESC" VARCHAR2(200 BYTE),
  "OP_WAY" NUMBER(1,0),
  "COL_SORT" NUMBER(3,0),
  "COL_TYPE_LEN" VARCHAR2(10 BYTE),
  "NULLABLE" NUMBER(1,0),
  "UOM" NVARCHAR2(100),
  "PK" VARCHAR2(5 BYTE),
  "COL_CM_NEW" VARCHAR2(1024 BYTE),
  "COL_CATEGORY" VARCHAR2(100 BYTE),
  "STCD_COL_NAME" VARCHAR2(10 BYTE) DEFAULT 'STCD',
  "STNM_COL_NAME" VARCHAR2(10 BYTE) DEFAULT 'STNM',
  "BLPRD_COL_NAME" VARCHAR2(10 BYTE) DEFAULT 'BLPRD',
  "COL_VLSR_NAME" VARCHAR2(10 BYTE) DEFAULT 'VLSR',
  "IS_VERTICAL_TAB" NUMBER(1,0) DEFAULT 1
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."NO" IS '序号';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."SOURCE" IS '来源';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."STTP" IS '站类';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."STTP_STRS" IS '各站类都有的字段：以逗号分隔';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."TABLE_NAME" IS '表名';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."TABLE_DESC" IS '表名说明';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_NAME" IS '字段标识';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_NAME_NEW" IS '新的字段标识';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_DESC" IS '字段说明';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."OP_WAY" IS '操作方式：1=主表 2=入KV 3=关联表 4=废弃字段 5=排除该来源字段';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_SORT" IS '字段序号';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_TYPE_LEN" IS '类型及长度';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."NULLABLE" IS '是否允许空值 0=否 1=是';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."UOM" IS '计量单位';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."PK" IS '主键序号';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_CM_NEW" IS '各字段说明';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_CATEGORY" IS '分类';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."STCD_COL_NAME" IS '站码列名：一定要配置';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."STNM_COL_NAME" IS '站名列名：一定要配置';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."BLPRD_COL_NAME" IS '阶段列名：为空即代表没有该列';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."COL_VLSR_NAME" IS '数据来源列名：为空即代表没有该列';
COMMENT ON COLUMN "QGC"."TEMP_BASETABLEKV_B"."IS_VERTICAL_TAB" IS '是否是纵表：0=否 1=是';
COMMENT ON TABLE "QGC"."TEMP_BASETABLEKV_B" IS '临时处理基础kv配置表';

-- ----------------------------
-- Table structure for TEMP_EQMN_RAT_S
-- ----------------------------
DROP TABLE "QGC"."TEMP_EQMN_RAT_S";
CREATE TABLE "QGC"."TEMP_EQMN_RAT_S" (
  "STCD" NVARCHAR2(18) NOT NULL,
  "ENNM" NVARCHAR2(50),
  "TM" TIMESTAMP(6) NOT NULL,
  "QI" NUMBER(9,4),
  "QE" NUMBER(9,4),
  "QE_LIM" NUMBER(7,3),
  "IS_HBB" NUMBER(1,0),
  "FLOAT_RAT" NUMBER(6,3),
  "FLOAT_VAL" NUMBER(9,4),
  "QI_RAT" NUMBER(9,4),
  "LIM_RAT" NUMBER(9,4),
  "CMPRH" NUMBER(9,4)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."ENNM" IS '电站名';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."TM" IS '时间';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."QI" IS '入库流量';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."QE" IS '生态流量';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."QE_LIM" IS '生态流量限值';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."IS_HBB" IS '是否为环保部要求，1为环保部，2为水利部';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."FLOAT_RAT" IS '浮动率';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."FLOAT_VAL" IS '浮动值';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."QI_RAT" IS '入库流量达标';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."LIM_RAT" IS '限值达标';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_RAT_S"."CMPRH" IS '综合达标';
COMMENT ON TABLE "QGC"."TEMP_EQMN_RAT_S" IS '生态流量达标率浮动计算表';

-- ----------------------------
-- Table structure for TEMP_EQMN_STAT
-- ----------------------------
DROP TABLE "QGC"."TEMP_EQMN_STAT";
CREATE TABLE "QGC"."TEMP_EQMN_STAT" (
  "STCD" VARCHAR2(18 BYTE) NOT NULL,
  "RVCD_NAME" VARCHAR2(30 BYTE),
  "RIVER_NAME" VARCHAR2(30 BYTE),
  "ENNM" VARCHAR2(24 BYTE),
  "ECOLMT" VARCHAR2(500 BYTE),
  "IS_MONITOR" NUMBER,
  "IS_ECOREQ" NUMBER,
  "DAY_STA" NUMBER,
  "HOUR_STA" NUMBER,
  "BACKING_FILE" VARCHAR2(500 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."RVCD_NAME" IS '流域名称';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."RIVER_NAME" IS '河流名称';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."ENNM" IS '水电站名称';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."ECOLMT" IS '生态流量限值';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."IS_MONITOR" IS '是否纳入监测';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."IS_ECOREQ" IS '是否有环保要求';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."DAY_STA" IS '日达标率%';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."HOUR_STA" IS '小时达标率%';
COMMENT ON COLUMN "QGC"."TEMP_EQMN_STAT"."BACKING_FILE" IS '依据文件';
COMMENT ON TABLE "QGC"."TEMP_EQMN_STAT" IS '生态流量限值统计结果2024年，带有依据文件及限值';

-- ----------------------------
-- Table structure for TEMP_TAB_META
-- ----------------------------
DROP TABLE "QGC"."TEMP_TAB_META";
CREATE TABLE "QGC"."TEMP_TAB_META" (
  "TABLE_NAME" VARCHAR2(64 BYTE) NOT NULL,
  "TABLE_COMMENTS" NVARCHAR2(1024),
  "TABLE_TYPE" VARCHAR2(64 BYTE),
  "COLUMN_ID" NUMBER(4,0) NOT NULL,
  "COLUMN_NAME" VARCHAR2(64 BYTE) NOT NULL,
  "COLUMN_COMMENTS" NVARCHAR2(1024),
  "DATA_KIND" VARCHAR2(64 BYTE),
  "DATA_TYPE_LEN" VARCHAR2(64 BYTE) NOT NULL,
  "NULLABLE" VARCHAR2(64 BYTE),
  "DATA_DEFAULT" VARCHAR2(64 BYTE),
  "DATA_TYPE" VARCHAR2(64 BYTE) NOT NULL,
  "DATA_LENGTH" NUMBER,
  "DATA_PRECISION" NUMBER,
  "DATA_SCALE" VARCHAR2(64 BYTE),
  "COLUMN_COMMENTS_ORI" NVARCHAR2(1024),
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DATA_UQ" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "UNIT" NVARCHAR2(100),
  "TABLE_PARTITIONED" VARCHAR2(10 BYTE),
  "TABLE_NUM_ROWS" NUMBER(15,0),
  "TABLE_LAST_ANALYZED" DATE,
  "TABLE_ROW_MOVEMENT" VARCHAR2(20 BYTE),
  "TABLE_LOCK" VARCHAR2(20 BYTE),
  "DATA_COL_TYPE" VARCHAR2(30 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_NAME" IS '表名';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_COMMENTS" IS '表注释';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_TYPE" IS '表类型：TABLE=表 VIEW=视图';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."COLUMN_ID" IS '列序号';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."COLUMN_NAME" IS '列名';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."COLUMN_COMMENTS" IS '列注释';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_KIND" IS '数据种类：0=测站编码列 1=时序列(非时序表即代表更新时间) 11=电站编码 2=数据列 3=主键列 4=站码替换列 5=附件列 51=流域水电SD_FILE_B关联 6=鱼种类 61=鱼种类字典表SD_FISH_DIC 7=植物种类 8=动物种类 9=鱼池列';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_TYPE_LEN" IS '类型及长度';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."NULLABLE" IS '是否允许空值：N=不允许，空或Y为允许';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_DEFAULT" IS '默认值';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_TYPE" IS '数据类型';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_LENGTH" IS '数据长度';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_PRECISION" IS '数据整数位';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_SCALE" IS '数据小数位';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."COLUMN_COMMENTS_ORI" IS '原始列注释';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_UQ" IS '是否唯一约束：0=否 1=是';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."UNIT" IS '单位';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_PARTITIONED" IS '表分区';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_NUM_ROWS" IS '表数据行数';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_LAST_ANALYZED" IS '上次分析时间';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_ROW_MOVEMENT" IS '行移动';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."TABLE_LOCK" IS '表锁定';
COMMENT ON COLUMN "QGC"."TEMP_TAB_META"."DATA_COL_TYPE" IS '数据列的数据类型 string=字符串 number=数字 datetime=日期时间 nstring=特殊字符串(NCHAR或NVARCHAR) clob=CLOB字段 nclob=NCLOB字段';
COMMENT ON TABLE "QGC"."TEMP_TAB_META" IS '表元信息';

-- ----------------------------
-- Table structure for USER_SYNC_RECORD
-- ----------------------------
DROP TABLE "QGC"."USER_SYNC_RECORD";
CREATE TABLE "QGC"."USER_SYNC_RECORD" (
  "ID" VARCHAR2(36 BYTE) DEFAULT SYS_GUID() NOT NULL,
  "FK_USER_ID" VARCHAR2(36 BYTE) NOT NULL,
  "ACCOUNT" VARCHAR2(100 BYTE),
  "USER_NAME" VARCHAR2(200 BYTE),
  "PASSWORD" VARCHAR2(1000 BYTE),
  "ORGANIZATION_ID" VARCHAR2(36 BYTE),
  "LOCK_FLAG" NUMBER(1,0),
  "STATUS" VARCHAR2(36 BYTE),
  "REMARK" VARCHAR2(200 BYTE),
  "RECORD_USER" VARCHAR2(36 BYTE) NOT NULL,
  "RECORD_TIME" DATE DEFAULT SYSDATE NOT NULL,
  "MODIFY_USER" VARCHAR2(36 BYTE),
  "MODIFY_TIME" DATE,
  "IS_DELETED" NUMBER(1,0) DEFAULT 0 NOT NULL,
  "DELETE_USER" VARCHAR2(36 BYTE),
  "DELETE_TIME" DATE,
  "ISOLATE_ID" VARCHAR2(36 BYTE),
  "PLATFORM_ID" VARCHAR2(36 BYTE),
  "DEPARTMENT_ID" VARCHAR2(36 BYTE)
)
LOGGING
NOCOMPRESS
PCTFREE 10
INITRANS 1
STORAGE (
  BUFFER_POOL DEFAULT
)
PARALLEL 1
NOCACHE
DISABLE ROW MOVEMENT
;
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."ID" IS '主键';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."FK_USER_ID" IS '外部的用户ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."ACCOUNT" IS '账号';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."USER_NAME" IS '姓名';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."PASSWORD" IS '密码';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."ORGANIZATION_ID" IS '归属组织的ID，即部门id';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."LOCK_FLAG" IS '账号状态，是否已经锁定:0=未锁定1=已锁定';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."STATUS" IS '用户状态 正常:NORMAL 过期:OUTDATED 禁用:FORBIDDEN  黑名单:BLACKLIST 离职 RESIGN 退场 EXIT';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."REMARK" IS '备注';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."RECORD_USER" IS '创建人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."RECORD_TIME" IS '创建时间';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."MODIFY_USER" IS '更新人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."MODIFY_TIME" IS '更新时间';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."IS_DELETED" IS '是否已删除：0=未删除 1=已删除；存储字典值，字典项为comm.is_deleted';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."DELETE_USER" IS '删除人：关联SYS_USER.ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."DELETE_TIME" IS '删除时间';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."ISOLATE_ID" IS '隔离ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."PLATFORM_ID" IS '平台ID';
COMMENT ON COLUMN "QGC"."USER_SYNC_RECORD"."DEPARTMENT_ID" IS '数据归属的部门ID';
COMMENT ON TABLE "QGC"."USER_SYNC_RECORD" IS '用户同步记录表';

-- ----------------------------
-- View structure for SD_EQMN_B
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."SD_EQMN_B" AS SELECT mst.STCD         AS STCD,
       mst.STNM         AS STNM,
       A.TM             AS TM,
       NULL             AS PTNO,
       A.BEGIN_TIME     AS BGMD,
       A.END_TIME       AS EDMD,
       A.MIN_VAL        AS MNEQ,
       A.ALWYRQST       AS ALWYRQST,
       A.ELAEQ          AS ELAEQ,
       A.QECSC          AS C,
       A.VLSR           AS VLSR,
       A.VLSR_TM        AS VLSR_TM,
       A.DESCRIPTION    AS DESCRIPTION,
       mwrb.VLSR        AS RULE_VLSR,
       mwrb.VLSR_TM     AS RULE_VLSR_TM,
       mwrb.DESCRIPTION AS RULE_DESCRIPTION,
       mwrb.ID          AS RULE_ID,
       A.ID             AS ID
FROM ( SELECT *
       FROM MS_WARN_RULE_DETAIL_B
       WHERE IS_DELETED = 0
         AND RULE_ID IN ( SELECT ID FROM MS_WARN_RULE_B WHERE IS_DELETED = 0 AND RULE_TYPE IN ('EQMN') )
         AND TB_ID IN ( SELECT ID FROM ST_TB_B WHERE IS_DELETED = 0 AND TB = 'SD_QEC_R' )
         AND YS IN ('QEC') ) A
         LEFT JOIN MS_WARN_RULE_STBPRP_B MWRSB ON A.RULE_ID = MWRSB.RULE_ID AND MWRSB.IS_DELETED = 0
         LEFT JOIN MS_STBPRP_T MST
                   ON MST.STCD = MWRSB.STCD AND MST.STTP_CODE = 'ENG' AND MWRSB.IS_DELETED = 0 AND MST.IS_DELETED = 0
         LEFT JOIN MS_WARN_RULE_B mwrb ON A.RULE_ID = mwrb.ID
WHERE mst.STCD IS NOT NULL;
COMMENT ON TABLE "QGC"."SD_EQMN_B" IS '电站生态流量泄放限值信息表(环保部)';

-- ----------------------------
-- View structure for SD_EQMN_MWR_B
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."SD_EQMN_MWR_B" AS SELECT mst.STCD         AS STCD,
       mst.STNM         AS STNM,
       A.TM             AS TM,
       NULL             AS PTNO,
       A.BEGIN_TIME     AS BGMD,
       A.END_TIME       AS EDMD,
       A.MIN_VAL        AS MNEQ,
       A.ALWYRQST       AS ALWYRQST,
       A.ELAEQ          AS ELAEQ,
       A.QECSC          AS C,
       A.VLSR           AS VLSR,
       A.VLSR_TM        AS VLSR_TM,
       A.DESCRIPTION    AS DESCRIPTION,
       mwrb.VLSR        AS RULE_VLSR,
       mwrb.VLSR_TM     AS RULE_VLSR_TM,
       mwrb.DESCRIPTION AS RULE_DESCRIPTION,
       mwrb.ID          AS RULE_ID,
       A.ID             AS ID
FROM ( SELECT *
       FROM MS_WARN_RULE_DETAIL_B
       WHERE IS_DELETED = 0
         AND RULE_ID IN ( SELECT ID FROM MS_WARN_RULE_B WHERE IS_DELETED = 0 AND RULE_TYPE IN ('EQMNMWR') )
         AND TB_ID IN ( SELECT ID FROM ST_TB_B WHERE IS_DELETED = 0 AND TB = 'SD_QEC_R' )
         AND YS IN ('QEC') ) A
         LEFT JOIN MS_WARN_RULE_STBPRP_B MWRSB ON A.RULE_ID = MWRSB.RULE_ID AND MWRSB.IS_DELETED = 0
         LEFT JOIN MS_STBPRP_T MST
                   ON MST.STCD = MWRSB.STCD AND MST.STTP_CODE = 'ENG' AND MWRSB.IS_DELETED = 0 AND MST.IS_DELETED = 0
         LEFT JOIN MS_WARN_RULE_B mwrb ON A.RULE_ID = mwrb.ID
WHERE mst.STCD IS NOT NULL;
COMMENT ON TABLE "QGC"."SD_EQMN_MWR_B" IS '电站生态流量泄放限值信息表(水利部)';

-- ----------------------------
-- View structure for SD_RSVRFSR_B
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."SD_RSVRFSR_B" AS SELECT mst.STCD         AS STCD,
       mst.STNM         AS STNM,
       A.TM             AS TM,
       NULL             AS PTNO,
       A.BEGIN_TIME     AS BGMD,
       A.END_TIME       AS EDMD,
       A.MAX_VAL        AS FSLTMXRZ, --汛限高水位/汛限水位
       A.MIN_VAL        AS FSLTMNRZ, --汛限低水位
       A.FLDCP          AS FLDCP,    --防洪库容
       A.FLDCPMN        AS FLDCPMN,  --汛限低水位对应的防洪库容
       NULL             AS FSLTMXQO, --最大出库
       NULL             AS FSLTMNQO, --最小出库
       NULL             AS FSLTMXP,  --最大出力
       NULL             AS FSLTMNP,  --最小出力
       NULL             AS FSLTMXDZ, --最高尾水位
       NULL             AS FSLTMNDZ, --最低尾水位
       NULL             AS FSLTWLS,  --流量损失
       NULL             AS FSTP,     --汛期类别
       A.VLSR           AS VLSR,
       A.VLSR_TM        AS VLSR_TM,
       A.DESCRIPTION    AS DESCRIPTION,
       mwrb.VLSR        AS RULE_VLSR,
       mwrb.VLSR_TM     AS RULE_VLSR_TM,
       mwrb.DESCRIPTION AS RULE_DESCRIPTION,
       mwrb.ID          AS RULE_ID,
       A.ID             AS ID
FROM ( SELECT *
       FROM MS_WARN_RULE_DETAIL_B
       WHERE IS_DELETED = 0
         AND RULE_ID IN ( SELECT ID FROM MS_WARN_RULE_B WHERE IS_DELETED = 0 AND RULE_TYPE IN ('RSVRFSR') )
         AND TB_ID IN ( SELECT ID FROM ST_TB_B WHERE IS_DELETED = 0 AND TB = 'SD_HYDROPW_R' )
         AND YS IN ('RZ') ) A
         LEFT JOIN MS_WARN_RULE_STBPRP_B MWRSB ON A.RULE_ID = MWRSB.RULE_ID AND MWRSB.IS_DELETED = 0
         LEFT JOIN MS_STBPRP_T MST
                   ON MST.STCD = MWRSB.STCD AND MST.STTP_CODE = 'ENG' AND MWRSB.IS_DELETED = 0 AND MST.IS_DELETED = 0
         LEFT JOIN MS_WARN_RULE_B mwrb ON A.RULE_ID = mwrb.ID
WHERE mst.STCD IS NOT NULL;
COMMENT ON TABLE "QGC"."SD_RSVRFSR_B" IS '水电站(水库、湖泊)汛限约束信息表';

-- ----------------------------
-- View structure for SD_WQLVL_B
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."SD_WQLVL_B" AS SELECT a.YS              AS KEY,
       tbys.YS_SHOW_NAME AS KEY_NAME,
       A.TM              AS TM,
       A.LVL             AS LVL,
       A.MAX_VAL         AS MN, --汛限高水位/汛限水位
       A.MIN_VAL         AS MX, --汛限低水位
       A.VLSR            AS VLSR,
       A.VLSR_TM         AS VLSR_TM,
       A.DESCRIPTION     AS DESCRIPTION,
       mwrb.VLSR         AS RULE_VLSR,
       mwrb.VLSR_TM      AS RULE_VLSR_TM,
       mwrb.DESCRIPTION  AS RULE_DESCRIPTION,
       mwrb.ID          AS RULE_ID,
       A.ID             AS ID
FROM ( SELECT *
       FROM MS_WARN_RULE_DETAIL_B
       WHERE IS_DELETED = 0
         AND RULE_ID IN ( SELECT ID FROM MS_WARN_RULE_B WHERE IS_DELETED = 0 AND RULE_TYPE IN ('WQLVL') )
         AND TB_ID IN ( SELECT ID FROM ST_TB_B WHERE IS_DELETED = 0 AND TB = 'SD_WQ_R' )
         AND STTY = 'N' ) A
         LEFT JOIN MS_WARN_RULE_B mwrb ON A.RULE_ID = mwrb.ID
         LEFT JOIN ST_TB_YS_B tbys ON tbys.TB_ID = a.TB_ID AND tbys.YS = a.YS;
COMMENT ON TABLE "QGC"."SD_WQLVL_B" IS '地表水环境质量标准基本项目标准限值表';

-- ----------------------------
-- View structure for V_ENG_RSVRFSR_EQMN
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_ENG_RSVRFSR_EQMN" AS SELECT SEBH.STCD, SEBH.STNM, AVQ
     , c.VAL AS EQMN_STR, c.TM AS EQMN_TM , c.VLSR AS EQMN_VLSR, c.VLSR_TM AS EQMN_VLSR_TM, c.ALL_VAL as EQMN_STR_ALL
     , d.VAL AS EQMNMWR_STR, d.TM AS EQMNMWR_TM , d.VLSR AS EQMNMWR_VLSR, d.VLSR_TM AS EQMNMWR_VLSR_TM, d.ALL_VAL as EQMNMWR_STR_ALL
     , a.VAL AS FSLTDZ_STR, a.TM AS FSLTDZ_TM , a.VLSR AS FSLTDZ_VLSR, a.VLSR_TM AS FSLTDZ_VLSR_TM, a.ALL_VAL as FSLTDZ_STR_ALL
     , b.VAL AS FLDCP_STR, b.TM AS FLDCP_TM , b.VLSR AS FLDCP_VLSR, b.VLSR_TM AS FLDCP_VLSR_TM, b.ALL_VAL as FLDCP_STR_ALL
FROM (
SELECT stcd,STNM,AVQ FROM MS_STBPRP_T WHERE STTP_CODE = 'ENG'  AND IS_DELETED = 0) SEBH
LEFT JOIN(

        --汛限水位
        SELECT STCD
             , MAX(CASE WHEN RN = 1 THEN TM END)                AS TM
             , MAX(CASE WHEN RN = 1 THEN VAL END)               AS VAL
             , MAX(VLSR)                                        AS VLSR
             , MAX(VLSR_TM)                                     AS VLSR_TM
             , LISTAGG('起始时间' || TO_CHAR(TM, 'YYYY-MM-DD') || '（' || VAL || '）' ||
                       CASE WHEN VLSR IS NOT NULL THEN '来源' || VLSR ELSE '' END ||
                       CASE WHEN VLSR_TM IS NOT NULL THEN '，来源时间' || TO_CHAR(VLSR_TM, 'YYYY-MM-DD') ELSE '' END,
                       CHR(10)) WITHIN GROUP (ORDER BY TM DESC) AS ALL_VAL
        FROM ( SELECT STCD
                    , TM
                    , MAX(VLSR)                  AS                          VLSR
                    , MAX(VLSR_TM)               AS                          VLSR_TM
                    , LISTAGG(
                    SUBSTR(BGMD, 0, 2) || '月' || SUBSTR(BGMD, 3, 2) || '日' || '~' || SUBSTR(EDMD, 0, 2) || '月' ||
                    SUBSTR(EDMD, 3, 2) || '日' || '限值为' ||
                    (CASE WHEN FSLTMNRZ IS NOT NULL THEN (FSLTMNRZ || '~' || fsltmxrz) ELSE TO_CHAR(fsltmxrz) END), '，')
                    WITHIN GROUP (ORDER BY BGMD) AS                          VAL
                    , ROW_NUMBER() OVER (PARTITION BY STCD ORDER BY TM DESC) RN
               FROM SD_RSVRFSR_B
               WHERE BGMD IS NOT NULL
                 AND EDMD IS NOT NULL
                 AND fsltmxrz IS NOT NULL
                 AND fsltmxrz != '0'
               GROUP BY STCD, TM ) temp
        GROUP BY STCD

) A ON A.STCD = SEBH.STCD
 LEFT JOIN (

        --防洪库容
        SELECT STCD
             , MAX(CASE WHEN RN = 1 THEN TM END)                AS TM
             , MAX(CASE WHEN RN = 1 THEN VAL END)               AS VAL
             , MAX(VLSR)                                        AS VLSR
             , MAX(VLSR_TM)                                     AS VLSR_TM
             , LISTAGG('起始时间' || TO_CHAR(TM, 'YYYY-MM-DD') || '（' || VAL || '）' ||
                       CASE WHEN VLSR IS NOT NULL THEN '来源' || VLSR ELSE '' END ||
                       CASE WHEN VLSR_TM IS NOT NULL THEN '，来源时间' || TO_CHAR(VLSR_TM, 'YYYY-MM-DD') ELSE '' END,
                       CHR(10)) WITHIN GROUP (ORDER BY TM DESC) AS ALL_VAL
        FROM ( SELECT STCD
                    , TM
                    , MAX(VLSR)                                                       AS VLSR
                    , MAX(VLSR_TM)                                                    AS VLSR_TM
                    , LISTAGG(
                    SUBSTR(BGMD, 0, 2) || '月' || SUBSTR(BGMD, 3, 2) || '日' || '~' || SUBSTR(EDMD, 0, 2) || '月' ||
                    SUBSTR(EDMD, 3, 2) || '日' || '限值为' ||
                    (CASE WHEN FLDCPMN IS NOT NULL THEN (DECODE(SUBSTR(FLDCPMN, 1, 1), '.', '0' || FLDCPMN, FLDCPMN) ||
                                                         '~' || DECODE(SUBSTR(FLDCP, 1, 1), '.', '0' || FLDCP, FLDCP))
                          ELSE TO_CHAR(FLDCP) END), '，') WITHIN GROUP (ORDER BY BGMD) AS VAL
                    , ROW_NUMBER() OVER (PARTITION BY STCD ORDER BY TM DESC)             RN
               FROM SD_RSVRFSR_B
               WHERE BGMD IS NOT NULL
                 AND EDMD IS NOT NULL
                 AND FLDCPMN IS NOT NULL
                 AND FLDCPMN > 0
               GROUP BY STCD, TM ) temp
        GROUP BY STCD

) b ON b.STCD = SEBH.STCD
LEFT JOIN (

        --生态流量环保部
        SELECT STCD
             , MAX(CASE WHEN RN = 1 THEN TM END)                AS TM
             , MAX(CASE WHEN RN = 1 THEN VAL END)               AS VAL
             , MAX(VLSR)                                        AS VLSR
             , MAX(VLSR_TM)                                     AS VLSR_TM
             , LISTAGG('起始时间' || TO_CHAR(TM, 'YYYY-MM-DD') || '（' || VAL || '）' ||
                       CASE WHEN VLSR IS NOT NULL THEN '来源' || VLSR ELSE '' END ||
                       CASE WHEN VLSR_TM IS NOT NULL THEN '，来源时间' || TO_CHAR(VLSR_TM, 'YYYY-MM-DD') ELSE '' END,
                       CHR(10)) WITHIN GROUP (ORDER BY TM DESC) AS ALL_VAL
        FROM ( SELECT STCD,
                      TM,
                      MAX(VLSR)                                                                                       AS VLSR,
                      MAX(VLSR_TM)                                                                                    AS VLSR_TM,
                      LISTAGG(SUBSTR(BGMD, 0, 2) || '月' || SUBSTR(BGMD, 3, 2) || '日' || '~' || SUBSTR(EDMD, 0, 2) ||
                              '月' || SUBSTR(EDMD, 3, 2) || '日' || '限值为' ||
                              RTRIM(TO_CHAR(MNEQ, 'FM999990D99'), TO_CHAR(0, 'D')), '，')
                              WITHIN GROUP (ORDER BY BGMD)                                                            AS VAL,
                      ROW_NUMBER() OVER (PARTITION BY STCD ORDER BY TM DESC)                                             RN
               FROM SD_EQMN_B
               WHERE BGMD IS NOT NULL
                 AND EDMD IS NOT NULL
               GROUP BY STCD, TM )
        GROUP BY STCD

) c ON c.STCD = SEBH.STCD
LEFT JOIN (

        --生态流量水利部
        SELECT STCD
             , MAX(CASE WHEN RN = 1 THEN TM END)                AS TM
             , MAX(CASE WHEN RN = 1 THEN VAL END)               AS VAL
             , MAX(VLSR)                                        AS VLSR
             , MAX(VLSR_TM)                                     AS VLSR_TM
             , LISTAGG('起始时间' || TO_CHAR(TM, 'YYYY-MM-DD') || '（' || VAL || '）' ||
                       CASE WHEN VLSR IS NOT NULL THEN '来源' || VLSR ELSE '' END ||
                       CASE WHEN VLSR_TM IS NOT NULL THEN '，来源时间' || TO_CHAR(VLSR_TM, 'YYYY-MM-DD') ELSE '' END,
                       CHR(10)) WITHIN GROUP (ORDER BY TM DESC) AS ALL_VAL
        FROM ( SELECT STCD,
                      TM,
                      MAX(VLSR)                                                                                       AS VLSR,
                      MAX(VLSR_TM)                                                                                    AS VLSR_TM,
                      LISTAGG(SUBSTR(BGMD, 0, 2) || '月' || SUBSTR(BGMD, 3, 2) || '日' || '~' || SUBSTR(EDMD, 0, 2) ||
                              '月' || SUBSTR(EDMD, 3, 2) || '日' || '限值为' ||
                              RTRIM(TO_CHAR(MNEQ, 'FM999990D99'), TO_CHAR(0, 'D')), '，')
                              WITHIN GROUP (ORDER BY BGMD)                                                            AS VAL,
                      ROW_NUMBER() OVER (PARTITION BY STCD ORDER BY TM DESC)                                             RN
               FROM SD_EQMN_MWR_B
               WHERE BGMD IS NOT NULL
                 AND EDMD IS NOT NULL
               GROUP BY STCD, TM ) temp
        GROUP BY STCD

) d ON d.STCD = SEBH.STCD;
COMMENT ON TABLE "QGC"."V_ENG_RSVRFSR_EQMN" IS '电站最新预警规则详情视图(汛限水位+防洪库容汛限约束+生态流量限值)用于维护对象宽表相关属性';

-- ----------------------------
-- View structure for V_FILEINFO_HHQGC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_FILEINFO_HHQGC" AS SELECT ID,NAME,EXT,FID,FTPURL,VIDEOLOGO,TARGET_TABLE,REMARK,APP_STATUS,UPTM,FILETYPE,UPUSER,TN,DIR,STNAME,FISHFRO,BUSSTP,WTRQTP,THUMBNAIL
FROM SD_FILE_B@HHQGC168;
COMMENT ON TABLE "QGC"."V_FILEINFO_HHQGC" IS '附件信息(黄河全过程)，临时使用不作业务系统调用';

-- ----------------------------
-- View structure for V_FILEINFO_LYSD
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_FILEINFO_LYSD" AS SELECT ID,NAME,EXT,FID,FTPURL,VIDEOLOGO,TARGET_TABLE,REMARK,APP_STATUS,UPTM,FILETYPE,UPUSER,TN,DIR,STNAME,FISHFRO,BUSSTP,WTRQTP,THUMBNAIL
FROM SD_FILE_B@DL_SDLY162;
COMMENT ON TABLE "QGC"."V_FILEINFO_LYSD" IS '附件信息(流域水电)，临时使用不作业务系统调用';

-- ----------------------------
-- View structure for V_FILEINFO_ZNY
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_FILEINFO_ZNY" AS SELECT "Id" as Id, "ServerPath" as ServerPath, "Name" as Name, "Size" as FileSize, "Ext" as Ext, "Path" as Path, "UserId" as UserId, "Secrecy" as Secrecy, "MD5" as MD5, "SourceFileSize" as SourceFileSize, "IsPublic" as IsPublic, "CorrelationPath" as CorrelationPath, "IsolateId" as IsolateId, "PlatformId" as PlatformId, "OrderIndex" as OrderIndex, "IsTempStorage" as IsTempStorage, "FilterContent" as FilterContent, "IsDeleted" as IsDeleted, "DeletedUser" as DeletedUser, "DeletedTime" as DeletedTime, "ModifyUser" as ModifyUser, "ModifyTime" as ModifyTime, "RecordUser" as RecordUser, "RecordTime" as RecordTime, "DepartmentId" as DepartmentId
FROM "UploadFileInfo"@DL_QGC_FILE;
COMMENT ON TABLE "QGC"."V_FILEINFO_ZNY" IS '附件信息(中南院附件服务)，临时使用不作业务系统调用';

-- ----------------------------
-- View structure for V_MS_STBPRP_STINDX_T
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_MS_STBPRP_STINDX_T" AS SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX, b.RSTCD, b.ENNM, b.HYCD, b.HYNM, b.RVCD, b.RVCD_NAME, b.BASE_ID, b.BASE_NAME
FROM (
    SELECT * FROM (
        -- 水电站
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                WHEN YS_SHOW_NAME = '坝上水位' OR YS_SHOW_NAME = '库水位' THEN 11
                WHEN YS_SHOW_NAME = '蓄水量' THEN 21
                WHEN YS_SHOW_NAME = '坝下水位' THEN 31
                WHEN YS_SHOW_NAME = '入库流量' THEN 41
                WHEN YS_SHOW_NAME = '出库流量' THEN 51
                WHEN YS_SHOW_NAME = '生态流量' THEN 52
                WHEN YS_SHOW_NAME = '发电流量' THEN 61
                WHEN YS_SHOW_NAME = '泄流量' THEN 62
                WHEN YS_SHOW_NAME = '发电量' THEN 71
                WHEN YS_SHOW_NAME = '平均出力' THEN 81
                WHEN YS_SHOW_NAME = '灌溉流量' THEN 91
                WHEN YS_SHOW_NAME in ('距离预想出力还可发电量','泄洪水量折算电量','到达满发还可引用发电流量') THEN 999
                ELSE 998 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE in('ENG') AND TB in('SD_HYDROPW_R')) GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 水质站
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                WHEN lower(YS_SHOW_NAME) LIKE '%ph%' THEN 11
                WHEN YS_SHOW_NAME LIKE '%浊度%' THEN 21
                WHEN YS_SHOW_NAME LIKE '溶解氧%' THEN 31
                WHEN YS_SHOW_NAME LIKE '水温' THEN 41
                WHEN YS_SHOW_NAME LIKE '电导率%' THEN 51
                WHEN YS_SHOW_NAME LIKE '化学需氧量%' THEN 61
                WHEN YS_SHOW_NAME LIKE '总氮%' THEN 71
                WHEN YS_SHOW_NAME LIKE '氨氮%' THEN 81
                WHEN YS_SHOW_NAME LIKE '总磷%' THEN 91
                WHEN YS_SHOW_NAME LIKE '高锰酸盐指数%' THEN 101
                ELSE 998 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE in('WQ','WQFB') AND TB in('SD_WQ_R')) GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 河道水位或流量站
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                WHEN YS_SHOW_NAME LIKE '%水位%' THEN 1
                WHEN YS_SHOW_NAME LIKE '%流量%' THEN 2
                WHEN YS_SHOW_NAME LIKE '%流速%' THEN 3
                ELSE 998 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE in('ZZ','ZQ') AND TB in('SD_RIVER_R')) GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 水库站
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                WHEN YS_SHOW_NAME LIKE '%库水位%' THEN 11
                WHEN YS_SHOW_NAME LIKE '%入库流量%' THEN 21
                WHEN YS_SHOW_NAME LIKE '%蓄水量%' THEN 31
                WHEN YS_SHOW_NAME LIKE '%库下水位%' THEN 41
                WHEN YS_SHOW_NAME LIKE '%出库流量%' THEN 51
                ELSE 998 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE in('RR') AND TB in('SD_RSVR_R')) GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 气象站
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                WHEN YS_SHOW_NAME = '降雨量' or YS_SHOW_NAME = '降水量' THEN 11
                WHEN YS_SHOW_NAME = '气温' THEN 21
                WHEN YS_SHOW_NAME = '气压' THEN 31
                WHEN YS_SHOW_NAME = '空气湿度' or YS_SHOW_NAME = '湿度' THEN 41
                WHEN YS_SHOW_NAME = '平均风向' or YS_SHOW_NAME = '风向' THEN 51
                WHEN YS_SHOW_NAME = '平均风速' or YS_SHOW_NAME = '风速' THEN 61
                ELSE 998 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE in('MM') AND TB in('SD_PPTN_R','SD_WND_R','SD_TMP_R')) GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 雨量站
        SELECT STCD, STNM, STTP_CODE, STTP_NAME, STTP_FULL_PATH, STINDX AS OLD_STINDX, '降雨量' AS NEW_STINDX from MS_STBPRP_T WHERE STTP_CODE = 'PP'
    ) UNION ALL (
        -- 视频站
        SELECT STCD, STNM, STTP_CODE, STTP_NAME, STTP_FULL_PATH, STINDX AS OLD_STINDX, '实时视频' AS NEW_STINDX from MS_STBPRP_T WHERE STTP_FULL_PATH LIKE 'VD,%'
    ) UNION ALL (
        -- 河道水温站
        SELECT STCD, STNM, STTP_CODE, STTP_NAME, STTP_FULL_PATH, STINDX AS OLD_STINDX, '温度' AS NEW_STINDX from MS_STBPRP_T WHERE STTP_CODE = 'WTRV'
    ) UNION ALL (
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX AS OLD_STINDX
             --, '温度,水深('||WTHG_STR||')' AS NEW_STINDX
             , '温度' AS NEW_STINDX
        FROM (
                 SELECT STCD, (LISTAGG(CASE WHEN WTHG > 0 and WTHG < 1 THEN '0'|| WTHG ELSE '' || WTHG END || 'm' ,',') WITHIN GROUP ( ORDER BY WTHG)) AS WTHG_STR
                 FROM (
                          SELECT DISTINCT STCD, WTHG FROM SD_WTVT_R WHERE IS_DELETED = 0
                          AND STCD IN(SELECT STCD FROM MS_STBPRP_T WHERE STTP_CODE = 'WTVT')
                      )
                 GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    ) UNION ALL (
        -- 其他站(除以上明确的站)
        SELECT a.STCD, b.STNM, b.STTP_CODE, b.STTP_NAME, b.STTP_FULL_PATH, b.STINDX, a.NEW_STINDX
        FROM (
            SELECT stcd, (LISTAGG(to_char(YS_SHOW_NAME), ',') WITHIN GROUP (ORDER BY YS_SHOW_NAME_SORT,to_char(YS_SHOW_NAME))) AS NEW_STINDX
            FROM (SELECT DISTINCT STCD, YS_SHOW_NAME, CASE
                    WHEN YS_SHOW_NAME LIKE '%水位%' THEN 2
                    WHEN YS_SHOW_NAME LIKE '%流量%' THEN 3
                    WHEN YS_SHOW_NAME LIKE '%流速%' THEN 4
                    WHEN YS_SHOW_NAME LIKE '%高程%' THEN 5
                    WHEN YS_SHOW_NAME IN('铝','砷','五日生化需氧量','钙','镉','叶绿素a','氯化物','透明度','氰化物','化学需氧量','高锰酸盐指数','电导率','铬','铜','蓝绿藻','溶解氧','溶解氧','氟化物','粪大肠菌群','铁','汞','钾','阴离子表面活性剂','锰','钠','氨氮','镍','亚硝酸盐氮','硝酸盐氮','亚硝酸盐氮','石油类','有机磷农药','铅','丰平枯时期','pH','磷酸盐','硫化物','硒','是否达标','硫酸盐','水平位置','悬浮物','总硬度','综合营养状态指数','综合营养状态指数分级','总氮','总有机碳','总氧','总磷','浊度','挥发酚','水质类别','水质不达标的要素','水温','锌') THEN 6
                    WHEN lower(YS_SHOW_NAME) = 'ph' THEN 6
                    WHEN YS_SHOW_NAME LIKE '%温度%' THEN 6
                    ELSE 1 END YS_SHOW_NAME_SORT FROM V_MS_STBPRP_YS_T
                WHERE STTP_CODE NOT IN ('ENG','WQ','WQFB','ZZ','ZQ','RR','MM','PP','WTRV','WTVT') AND STTP_FULL_PATH NOT LIKE 'VD,%') GROUP BY STCD
        ) a LEFT JOIN MS_STBPRP_T b ON a.STCD = b.STCD
    )
) a left join V_MS_STBPRP_T b on a.stcd = b.STCD;
COMMENT ON TABLE "QGC"."V_MS_STBPRP_STINDX_T" IS '对象监测指标信息视图(基于“对象所有监测要素视图”根据业务需求提练监测指标信息)用于维护对象宽表STINDX属性';

-- ----------------------------
-- View structure for V_MS_STBPRP_T
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_MS_STBPRP_T" AS SELECT "ID","STCD","STNM","STTP","STTP_CODE","STTP_NAME","STTP_FULL_PATH","STTP_TREE_LEVEL","BLPRD_ID","BLPRD_CODE","BLPRD_NAME","BLPRD_CCODE","BLPRD_CNAME","LGTD","LTTD","STLC","DTMNM","DTMEL","DTPR","FRGRD","ESSTYM","BGFRYM","ATCUNIT","ADMAUTH","LOCALITY","STBK","STAZT","DSTRVM","DRNA","PHCD","USFL","COMMENTS","ORDER_INDEX","FILTER_CONTENT","RECORD_USER","RECORD_TIME","MODIFY_USER","MODIFY_TIME","IS_DELETED","DELETE_USER","DELETE_TIME","ISOLATE_ID","DEPARTMENT_ID","SYSTEM_ID","PLATFORM_ID","IS_TEMP_STORAGE","RSTCD","ENNM","ENG_LCTN1_CODE","ENG_LCTN1_NAME","ENG_LCTN2_CODE","ENG_LCTN2_NAME","ENG_LCTN3_CODE","ENG_LCTN3_NAME","ENG_IWT_CODE","ENG_IWT_NAME","ENG_MWT_CODE","ENG_MWT_NAME","ENG_RWT_CODE","ENG_RWT_NAME","ENG_DWT_CODE","ENG_DWT_NAME","BASE_ID","BASE_NAME","HBRVCD","HBRVCD_NAME","RVCD","RVCD_NAME","RVCD_FULL_PATH","RVCDPX","RVCDPX_NAME","RVCDPX_FULL_PATH","ADDVCD","ADDVCD_NAME","ADDVCD_FULL_PATH","HYCD","HYNM","HYCD_FULL_PATH","COUNTRY","COUNTRY_NAME","REACHCD","REACHCD_NAME","REACHCD_WWQTG","ST_CODE","ST_NAME","FHSTCD","FHSTNM","STDSDT","PSTSTDT","PESSTDT","STSTDT","JCDT","STWDDT","INTRODUCE","LOGO","INFFILE","STSR","MWAY","DTIN","DTIN_SRC","DTIN_TYPE","DTIN_TM","TB_WAY","TB_FREQUENCY","IS_BRIEFING","BLDSTT","BLDSTT_CCODE","INV","INVINMN","WATP","WWQTG","WT_DEVICE_TYPE","STTPSUB","STTP_MM_TYPE","THEMATIC_MAP","SCHEDULEPA","LSDWRSN","ENGTP","TTPWR","PRSC","SCRSC","PRGR","FN","BSSSIN","FRSSIN","ADJUST_ENG","DMAT","ISHVBRRG","MONTH_REPORT","BLSYS","RGCP","DMTP","DVTP","HLSTP","CNTP","CHNGRD","EQMN_STR","EQMNMWR_STR","FSLTDZ_STR","FLDCP_STR","DTIN_ENV","MEASTRG_CNT","MEASIMPL_CNT","RUN_STATE","STD_STATE","K","PX","TP","AVQ","AVS","AVW","BOX","CLO","CNT","DDZ","DTZ","FID","GAP","GEQ","HTZ","SGQ","SRC","URL","WSC","ZTZ","APTL","AREA","ATTM","AVSD","BHHD","BHHL","CFTP","CKW3","CNUN","CPSC","DDCP","DDST","DDZM","DDZS","DSHL","DSUN","DSW1","DSW3","FDAR","FDCZ","FDFW","FDGD","FDGL","FDLD","FDLL","FDQT","FDRK","FDXS","FDYD","FDZS","GAPM","GAPS","GEQM","GEQS","GNTP","HHRZ","HLRZ","HMXQ","HMXW","HPDW","JLDT","LSDW","MARK","MXSN","PREN","PROV","ROLL","RSTP","RVGR","SORT","SPUN","SYJQ","THGM","THNL","THTP","TTCP","USHR","UZFC","VAST","XNTP","YDXS","YRGE","ZBBH","ZXZW","ACTCP","AIODT","ANGLE","AVQ01","AVQ02","AVQ03","AVQ04","AVQ05","AVQ06","AVQ07","AVQ08","AVQ09","AVQ10","AVQ11","AVQ12","AVYRP","AVYRQ","CANED","CELLS","CHFLW","CHMXQ","CKFLZ","DDZGQ","DMLEN","DSAVQ","DSELQ","DSFLZ","DSMXQ","DTSRC","DYNTZ","DZLMT","EDTTM","EDTUN","EXCEL","FBMHG","FLDCP","FZRPJ","GNCNT","HZLMT","JSKGC","JSKTP","MNGAP","MXGAP","MXGEQ","MXHLS","MZLMT","NMZCP","NORMZ","NRAVH","NRAVZ","NRZAR","OBMNQ","OBMXQ","OBMXS","PAIXU","PIODT","PITCH","PSTCD","RANGE","RCFFR","RUNTM","RVLEN","RVSFQ","SCALE","SGYGE","SLOPE","SSWDT","STAGE","SWSDT","SYJHG","SYJSZ","TTSHG","UNITS","UNYGE","WIRRG","XSWTP","YDCSV","YDJKZ","YDZCD","YRGEB","ACIMEL","ADJCPM","ADJCPS","ARIRRG","BCKLEN","CHFELQ","CHFLDR","CHRCIN","CNTRAR","CNTRSC","DLMCNT","DMCREL","DMRKTP","DNAVWT","DSIMEL","DSNSTT","DSRCIN","FBMCNT","FSLTDZ","GRNTRT","GSMQCD","GSMQCL","GSMQKD","HEIGHT","HHRZTM","HJJLDW","HLRZTM","HMNINQ","HMXINQ","HMXOTQ","HNTJZL","HPSPRQ","JBTXCS","JHFDGK","KSQXYZ","LSDWLC","MXDMHG","NRAVWT","NRUPAR","OBMXW3","OUTCNT","RDMDIS","RSVRTP","SGUSHR","STINDX","STJZNQ","SYJCNT","SYJWDP","TTPWRB","TTPWRM","TTPWRS","TTSCNT","UNUSHR","WQTYPE","WR_AVG","WSCHGC","WSPPLY","WVTPEL","YDCSCD","YDCSKD","YDCSPD","YDJKHG","YDOWNZ","YDYYXS","YMBQRK","YMBQXZ","YMSCRK","YSDLEN","ZJXYDZ","ZZFLAR","ZZFLDX","ZZFLGY","ZZFLRW","ZZFLTM","CHNLNTH","CKFQFQR","DSTCRVR","DTFRQCY","FBMDBGC","FZRDMXZ","FZRJKHG","FZRTDSZ","GEMAXRQ","GRNTPWR","HEADING","HLSCOEF","JYYJYFS","JYYYYFS","KSQADJQ","MINTEMP","MXDMHGL","MXDMHGR","MXSHPTN","OPRTNUN","OUTELEV","PROTOBJ","PROTTYP","QUALITY","QXDBHCD","QXDBHFW","QXDBHMJ","RVCDTOW","SRCUNIT","STJZYSQ","SYJYYFS","TTSZDSS","UPDCKLC","UPDCKTP","WT_TYPE","YDCSCNT","YDJKCNT","YRCPCTY","YRGENSA","ZZFLCNT","ZZFLLVL","BOUNDARY","BUILDING","CKFLZFRQ","CKFLZMXQ","CKFLZXYZ","CUT_TIME","DCSQSKGS","DLMMXWDP","DNMNAVWT","DNMXAVWT","DSFLZFRQ","DSFLZMXQ","DSFLZXYZ","DSNFQFRQ","EIARPTID","ENG_SORT","EQRRATIO","ESTRYDIS","FBMMXWDP","FZRYXWDP","GRNTPWRM","GRNTPWRS","HLSCONST","HMNINQTM","HMXINQTM","HMXOTQTM","IMPDSTRZ","JGHBYSRQ","JGJDSBYS","JLJDSBYS","JWUPDATE","JYYJYYTM","LAG_TIME","MXGEQXYZ","MYAVMNAT","NRMNAVWT","NRMXAVWT","OUTDSGNZ","PASSWORD","PROTMTHD","PROTOCOL","PSFISHTM","SBFASCRQ","SKYMBCTZ","STYPHPSP","SYJJYYFS","USERNAME","XSJDHBYS","XSJDSBYS","YMBQRKNC","ZTGCSGDW","ZTGCSJDW","ZZFLBJFS","ZZFLFLLC","ZZFLJSLC","ZZFLYZMS","DOWNDCKLC","DOWNDCKTP","EQREVIEWM","FISHLURMV","FPSSMNMON","FREQUENCY","FRNTWLLHG","GRNTPWRMN","GRNTPWRMX","OP_HEIGHT","PERIMETER","PSFISHCNT","PSFISHTYP","QXDBHHXCD","QXDBHWWCD","RESTPLCNT","STSTICINV","SZHLJSJHL","THRSMDAYS","AI_ENABLED","CHANNEL_NO","EIADTFRQCY","FH_LAST_WT","FH_LAST_ZQ","FRAME_RATE","FRNTWLLTYP","GRNTPWRNSA","OSGBTITLES","OUTFLRELEV","AI_EXT_CODE","AI_EXT_NAME","AVERAGETEMP","CENTER_ELEV","CENTER_LGTD","CENTER_LTTD","DESCRIPTION","WT_HGT_TYPE","AI_FREQUENCY","CENTER1_ELEV","CENTER1_LGTD","CENTER1_LTTD","INTRANET_URL","WT_FIRST_HGT","CHIEFBASINENG","DEVICE_SERIAL","CLIPPING_PLANES","DESTINATION_ELEV","DESTINATION_LGTD","DESTINATION_LTTD","DESTINATION_TYPE","ORIENTATION_ROLL","REVISE_SITE_ELEV","Z_VARIATION_DMAX","Z_VARIATION_HMAX","ORIENTATION_PITCH","ORIENTATION_HEADING","DESTINATION_ELEV_WCS","DESTINATION_LGTD_WCS","DESTINATION_LTTD_WCS","DESTINATION_ELEV_WGS84","DESTINATION_LGTD_WGS84","DESTINATION_LTTD_WGS84","REVISE_SITE_ELEV_FACTOR","COENVW_STATE","WTS","PLAY_WAY","UZFCCP","DATA_STATE","STD_SSTATE","RGCP_CODE","LOCATION","ACCURACY","ENGINEERING_TITLE","ENGINEERING_CONTENT","ENGINEERING_PICTURE","WARN_STATE","ACCESS_WAY","CHANNEL_NAME","TRANSMODE","STORAGE_WAY","IS_VD_CONTROL","CONTROL_MODE","PRECIS","GBCHANNEL","OCR_WAY","DEVICE_INFO","TS_DURATION","STNM_ALIAS","VLSR","ICON_ROTATE","VLSR_TM","RUN_REQUIRE","FLKSZ","FLKQ","DCSHG","DLMHG","ACCURAY","FZRV","CRSCWD","WTDP","SUBSTRATE","BANK_STABILITY","PLANT_DIVERSITY","RIPARIAN_LANDUSE_TYPE","Q","TOP_HYCD","TOP_HYNM","AVQ_C","RVCDSTEPSORT","RSTCDSTEPSORT","SITESTEPSORT","BASESTEPSORT"
FROM (
         select a.*
              ,b.ORDER_INDEX rvcdStepSort  -- 流域排序
              ,c.SORT rstcdStepSort -- 电站排序
              ,d.SORT siteStepSort -- 站点排序
              ,e.ORDER_INDEX baseStepSort -- 基地排序
         from MS_STBPRP_T a
                  left join MS_ALONG_B b on a.HBRVCD=b.RVCD and b.CODE='common' and b.IS_DELETED = 0
                  left join (select c.SORT,d.RVCD,c.STCD from MS_ALONGDET_B c inner join MS_ALONG_B d on c.ALONG_ID=d.ID where c.IS_DELETED=0 and d.IS_DELETED=0 and d.CODE='common') c on c.RVCD=a.HBRVCD and c.stcd=a.RSTCD
                  left join (select c.SORT,d.RVCD,c.STCD from MS_ALONGDET_B c inner join MS_ALONG_B d on c.ALONG_ID=d.ID where c.IS_DELETED=0 and d.IS_DELETED=0 and d.CODE='common') d on d.RVCD=a.HBRVCD and d.stcd=a.STCD
                  left join SD_WBS_B e on e.WBS_CODE = a.BASE_ID and e.WBS_TYPE='PSB' and e.IS_DELETED=0
     );
COMMENT ON TABLE "QGC"."V_MS_STBPRP_T" IS '对象基础沿程排序视图(对象基础横表MS_STBPRP_T+沿程配置表MS_ALONG_B)用于梯级排序';

-- ----------------------------
-- View structure for V_MS_STBPRP_YS_T
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_MS_STBPRP_YS_T" AS SELECT STB.ID AS TB_ID --监测表主键
     ,STB.TB
     ,STB.TB_CODE
     ,STB.TB_NAME
     ,STB.TB_DATA_TYPE
     ,STB.HOUR_TB
     ,STB.DAY_TB
     ,STB.STAT_TB
     ,STYB.ID AS TB_YS_ID --监测要素与监测表关联表主键
     ,STYB.YS
     ,STYB.YS_SHOW_NAME
     ,STYB.SHOW_CONTROL
     ,SSTYB.ID AS STTP_TB_YS_ID --对象业务类型(站类)与监测表要素关联表主键
     ,SSYB.ID AS STBPRP_YS_ID --对象业务类型(站类)与监测表要素关联表主键
     ,STBPRP."ID",STBPRP."STCD",STBPRP."STNM",STBPRP."STTP",STBPRP."STTP_CODE",STBPRP."STTP_NAME",STBPRP."STTP_FULL_PATH",STBPRP."STTP_TREE_LEVEL",STBPRP."BLPRD_ID",STBPRP."BLPRD_CODE",STBPRP."BLPRD_NAME",STBPRP."BLPRD_CCODE",STBPRP."BLPRD_CNAME",STBPRP."LGTD",STBPRP."LTTD",STBPRP."STLC",STBPRP."DTMNM",STBPRP."DTMEL",STBPRP."DTPR",STBPRP."FRGRD",STBPRP."ESSTYM",STBPRP."BGFRYM",STBPRP."ATCUNIT",STBPRP."ADMAUTH",STBPRP."LOCALITY",STBPRP."STBK",STBPRP."STAZT",STBPRP."DSTRVM",STBPRP."DRNA",STBPRP."PHCD",STBPRP."USFL",STBPRP."COMMENTS",STBPRP."ORDER_INDEX",STBPRP."FILTER_CONTENT",STBPRP."RECORD_USER",STBPRP."RECORD_TIME",STBPRP."MODIFY_USER",STBPRP."MODIFY_TIME",STBPRP."IS_DELETED",STBPRP."DELETE_USER",STBPRP."DELETE_TIME",STBPRP."ISOLATE_ID",STBPRP."DEPARTMENT_ID",STBPRP."SYSTEM_ID",STBPRP."PLATFORM_ID",STBPRP."IS_TEMP_STORAGE",STBPRP."RSTCD",STBPRP."ENNM",STBPRP."ENG_LCTN1_CODE",STBPRP."ENG_LCTN1_NAME",STBPRP."ENG_LCTN2_CODE",STBPRP."ENG_LCTN2_NAME",STBPRP."ENG_LCTN3_CODE",STBPRP."ENG_LCTN3_NAME",STBPRP."ENG_IWT_CODE",STBPRP."ENG_IWT_NAME",STBPRP."ENG_MWT_CODE",STBPRP."ENG_MWT_NAME",STBPRP."ENG_RWT_CODE",STBPRP."ENG_RWT_NAME",STBPRP."ENG_DWT_CODE",STBPRP."ENG_DWT_NAME",STBPRP."BASE_ID",STBPRP."BASE_NAME",STBPRP."HBRVCD",STBPRP."HBRVCD_NAME",STBPRP."RVCD",STBPRP."RVCD_NAME",STBPRP."RVCD_FULL_PATH",STBPRP."RVCDPX",STBPRP."RVCDPX_NAME",STBPRP."RVCDPX_FULL_PATH",STBPRP."ADDVCD",STBPRP."ADDVCD_NAME",STBPRP."ADDVCD_FULL_PATH",STBPRP."HYCD",STBPRP."HYNM",STBPRP."HYCD_FULL_PATH",STBPRP."COUNTRY",STBPRP."COUNTRY_NAME",STBPRP."REACHCD",STBPRP."REACHCD_NAME",STBPRP."REACHCD_WWQTG",STBPRP."ST_CODE",STBPRP."ST_NAME",STBPRP."FHSTCD",STBPRP."FHSTNM",STBPRP."STDSDT",STBPRP."PSTSTDT",STBPRP."PESSTDT",STBPRP."STSTDT",STBPRP."JCDT",STBPRP."STWDDT",STBPRP."INTRODUCE",STBPRP."LOGO",STBPRP."INFFILE",STBPRP."STSR",STBPRP."MWAY",STBPRP."DTIN",STBPRP."DTIN_SRC",STBPRP."DTIN_TYPE",STBPRP."DTIN_TM",STBPRP."TB_WAY",STBPRP."TB_FREQUENCY",STBPRP."IS_BRIEFING",STBPRP."BLDSTT",STBPRP."BLDSTT_CCODE",STBPRP."INV",STBPRP."INVINMN",STBPRP."WATP",STBPRP."WWQTG",STBPRP."WT_DEVICE_TYPE",STBPRP."STTPSUB",STBPRP."STTP_MM_TYPE",STBPRP."THEMATIC_MAP",STBPRP."SCHEDULEPA",STBPRP."LSDWRSN",STBPRP."ENGTP",STBPRP."TTPWR",STBPRP."PRSC",STBPRP."SCRSC",STBPRP."PRGR",STBPRP."FN",STBPRP."BSSSIN",STBPRP."FRSSIN",STBPRP."ADJUST_ENG",STBPRP."DMAT",STBPRP."ISHVBRRG",STBPRP."MONTH_REPORT",STBPRP."BLSYS",STBPRP."RGCP",STBPRP."DMTP",STBPRP."DVTP",STBPRP."HLSTP",STBPRP."CNTP",STBPRP."CHNGRD",STBPRP."EQMN_STR",STBPRP."EQMNMWR_STR",STBPRP."FSLTDZ_STR",STBPRP."FLDCP_STR",STBPRP."DTIN_ENV",STBPRP."MEASTRG_CNT",STBPRP."MEASIMPL_CNT",STBPRP."RUN_STATE",STBPRP."STD_STATE",STBPRP."K",STBPRP."PX",STBPRP."TP",STBPRP."AVQ",STBPRP."AVS",STBPRP."AVW",STBPRP."BOX",STBPRP."CLO",STBPRP."CNT",STBPRP."DDZ",STBPRP."DTZ",STBPRP."FID",STBPRP."GAP",STBPRP."GEQ",STBPRP."HTZ",STBPRP."SGQ",STBPRP."SRC",STBPRP."URL",STBPRP."WSC",STBPRP."ZTZ",STBPRP."APTL",STBPRP."AREA",STBPRP."ATTM",STBPRP."AVSD",STBPRP."BHHD",STBPRP."BHHL",STBPRP."CFTP",STBPRP."CKW3",STBPRP."CNUN",STBPRP."CPSC",STBPRP."DDCP",STBPRP."DDST",STBPRP."DDZM",STBPRP."DDZS",STBPRP."DSHL",STBPRP."DSUN",STBPRP."DSW1",STBPRP."DSW3",STBPRP."FDAR",STBPRP."FDCZ",STBPRP."FDFW",STBPRP."FDGD",STBPRP."FDGL",STBPRP."FDLD",STBPRP."FDLL",STBPRP."FDQT",STBPRP."FDRK",STBPRP."FDXS",STBPRP."FDYD",STBPRP."FDZS",STBPRP."FLKQ",STBPRP."FZRV",STBPRP."GAPM",STBPRP."GAPS",STBPRP."GEQM",STBPRP."GEQS",STBPRP."GNTP",STBPRP."HHRZ",STBPRP."HLRZ",STBPRP."HMXQ",STBPRP."HMXW",STBPRP."HPDW",STBPRP."JLDT",STBPRP."LSDW",STBPRP."MARK",STBPRP."MXSN",STBPRP."PREN",STBPRP."PROV",STBPRP."ROLL",STBPRP."RSTP",STBPRP."RVGR",STBPRP."SORT",STBPRP."SPUN",STBPRP."SYJQ",STBPRP."THGM",STBPRP."THNL",STBPRP."THTP",STBPRP."TTCP",STBPRP."USHR",STBPRP."UZFC",STBPRP."VAST",STBPRP."XNTP",STBPRP."YDXS",STBPRP."YRGE",STBPRP."ZBBH",STBPRP."ZXZW",STBPRP."ACTCP",STBPRP."AIODT",STBPRP."ANGLE",STBPRP."AVQ01",STBPRP."AVQ02",STBPRP."AVQ03",STBPRP."AVQ04",STBPRP."AVQ05",STBPRP."AVQ06",STBPRP."AVQ07",STBPRP."AVQ08",STBPRP."AVQ09",STBPRP."AVQ10",STBPRP."AVQ11",STBPRP."AVQ12",STBPRP."AVYRP",STBPRP."AVYRQ",STBPRP."CANED",STBPRP."CELLS",STBPRP."CHFLW",STBPRP."CHMXQ",STBPRP."CKFLZ",STBPRP."DCSHG",STBPRP."DDZGQ",STBPRP."DLMHG",STBPRP."DMLEN",STBPRP."DSAVQ",STBPRP."DSELQ",STBPRP."DSFLZ",STBPRP."DSMXQ",STBPRP."DTSRC",STBPRP."DYNTZ",STBPRP."DZLMT",STBPRP."EDTTM",STBPRP."EDTUN",STBPRP."EXCEL",STBPRP."FBMHG",STBPRP."FLDCP",STBPRP."FLKSZ",STBPRP."FZRPJ",STBPRP."GNCNT",STBPRP."HZLMT",STBPRP."JSKGC",STBPRP."JSKTP",STBPRP."MNGAP",STBPRP."MXGAP",STBPRP."MXGEQ",STBPRP."MXHLS",STBPRP."MZLMT",STBPRP."NMZCP",STBPRP."NORMZ",STBPRP."NRAVH",STBPRP."NRAVZ",STBPRP."NRZAR",STBPRP."OBMNQ",STBPRP."OBMXQ",STBPRP."OBMXS",STBPRP."PAIXU",STBPRP."PIODT",STBPRP."PITCH",STBPRP."PSTCD",STBPRP."RANGE",STBPRP."RCFFR",STBPRP."RUNTM",STBPRP."RVLEN",STBPRP."RVSFQ",STBPRP."SCALE",STBPRP."SGYGE",STBPRP."SLOPE",STBPRP."SSWDT",STBPRP."STAGE",STBPRP."SWSDT",STBPRP."SYJHG",STBPRP."SYJSZ",STBPRP."TTSHG",STBPRP."UNITS",STBPRP."UNYGE",STBPRP."WIRRG",STBPRP."XSWTP",STBPRP."YDCSV",STBPRP."YDJKZ",STBPRP."YDZCD",STBPRP."YRGEB",STBPRP."ACIMEL",STBPRP."ADJCPM",STBPRP."ADJCPS",STBPRP."ARIRRG",STBPRP."BCKLEN",STBPRP."CHFELQ",STBPRP."CHFLDR",STBPRP."CHRCIN",STBPRP."CNTRAR",STBPRP."CNTRSC",STBPRP."DLMCNT",STBPRP."DMCREL",STBPRP."DMRKTP",STBPRP."DNAVWT",STBPRP."DSIMEL",STBPRP."DSNSTT",STBPRP."DSRCIN",STBPRP."FBMCNT",STBPRP."FSLTDZ",STBPRP."GRNTRT",STBPRP."GSMQCD",STBPRP."GSMQCL",STBPRP."GSMQKD",STBPRP."HEIGHT",STBPRP."HHRZTM",STBPRP."HJJLDW",STBPRP."HLRZTM",STBPRP."HMNINQ",STBPRP."HMXINQ",STBPRP."HMXOTQ",STBPRP."HNTJZL",STBPRP."HPSPRQ",STBPRP."JBTXCS",STBPRP."JHFDGK",STBPRP."KSQXYZ",STBPRP."LSDWLC",STBPRP."MXDMHG",STBPRP."NRAVWT",STBPRP."NRUPAR",STBPRP."OBMXW3",STBPRP."OUTCNT",STBPRP."RDMDIS",STBPRP."RSVRTP",STBPRP."SGUSHR",STBPRP."STINDX",STBPRP."STJZNQ",STBPRP."SYJCNT",STBPRP."SYJWDP",STBPRP."TTPWRB",STBPRP."TTPWRM",STBPRP."TTPWRS",STBPRP."TTSCNT",STBPRP."UNUSHR",STBPRP."WQTYPE",STBPRP."WR_AVG",STBPRP."WSCHGC",STBPRP."WSPPLY",STBPRP."WVTPEL",STBPRP."YDCSCD",STBPRP."YDCSKD",STBPRP."YDCSPD",STBPRP."YDJKHG",STBPRP."YDOWNZ",STBPRP."YDYYXS",STBPRP."YMBQRK",STBPRP."YMBQXZ",STBPRP."YMSCRK",STBPRP."YSDLEN",STBPRP."ZJXYDZ",STBPRP."ZZFLAR",STBPRP."ZZFLDX",STBPRP."ZZFLGY",STBPRP."ZZFLRW",STBPRP."ZZFLTM",STBPRP."CHNLNTH",STBPRP."CKFQFQR",STBPRP."DSTCRVR",STBPRP."DTFRQCY",STBPRP."FBMDBGC",STBPRP."FZRDMXZ",STBPRP."FZRJKHG",STBPRP."FZRTDSZ",STBPRP."GEMAXRQ",STBPRP."GRNTPWR",STBPRP."HEADING",STBPRP."HLSCOEF",STBPRP."JYYJYFS",STBPRP."JYYYYFS",STBPRP."KSQADJQ",STBPRP."MINTEMP",STBPRP."MXDMHGL",STBPRP."MXDMHGR",STBPRP."MXSHPTN",STBPRP."OPRTNUN",STBPRP."OUTELEV",STBPRP."PROTOBJ",STBPRP."PROTTYP",STBPRP."QUALITY",STBPRP."QXDBHCD",STBPRP."QXDBHFW",STBPRP."QXDBHMJ",STBPRP."RVCDTOW",STBPRP."SRCUNIT",STBPRP."STJZYSQ",STBPRP."SYJYYFS",STBPRP."TTSZDSS",STBPRP."UPDCKLC",STBPRP."UPDCKTP",STBPRP."WT_TYPE",STBPRP."YDCSCNT",STBPRP."YDJKCNT",STBPRP."YRCPCTY",STBPRP."YRGENSA",STBPRP."ZZFLCNT",STBPRP."ZZFLLVL",STBPRP."BOUNDARY",STBPRP."BUILDING",STBPRP."CKFLZFRQ",STBPRP."CKFLZMXQ",STBPRP."CKFLZXYZ",STBPRP."CUT_TIME",STBPRP."DCSQSKGS",STBPRP."DLMMXWDP",STBPRP."DNMNAVWT",STBPRP."DNMXAVWT",STBPRP."DSFLZFRQ",STBPRP."DSFLZMXQ",STBPRP."DSFLZXYZ",STBPRP."DSNFQFRQ",STBPRP."EIARPTID",STBPRP."ENG_SORT",STBPRP."EQRRATIO",STBPRP."ESTRYDIS",STBPRP."FBMMXWDP",STBPRP."FZRYXWDP",STBPRP."GRNTPWRM",STBPRP."GRNTPWRS",STBPRP."HLSCONST",STBPRP."HMNINQTM",STBPRP."HMXINQTM",STBPRP."HMXOTQTM",STBPRP."IMPDSTRZ",STBPRP."JGHBYSRQ",STBPRP."JGJDSBYS",STBPRP."JLJDSBYS",STBPRP."JWUPDATE",STBPRP."JYYJYYTM",STBPRP."LAG_TIME",STBPRP."MXGEQXYZ",STBPRP."MYAVMNAT",STBPRP."NRMNAVWT",STBPRP."NRMXAVWT",STBPRP."OUTDSGNZ",STBPRP."PASSWORD",STBPRP."PROTMTHD",STBPRP."PROTOCOL",STBPRP."PSFISHTM",STBPRP."SBFASCRQ",STBPRP."SKYMBCTZ",STBPRP."STYPHPSP",STBPRP."SYJJYYFS",STBPRP."USERNAME",STBPRP."XSJDHBYS",STBPRP."XSJDSBYS",STBPRP."YMBQRKNC",STBPRP."ZTGCSGDW",STBPRP."ZTGCSJDW",STBPRP."ZZFLBJFS",STBPRP."ZZFLFLLC",STBPRP."ZZFLJSLC",STBPRP."ZZFLYZMS",STBPRP."DOWNDCKLC",STBPRP."DOWNDCKTP",STBPRP."EQREVIEWM",STBPRP."FISHLURMV",STBPRP."FPSSMNMON",STBPRP."FREQUENCY",STBPRP."FRNTWLLHG",STBPRP."GRNTPWRMN",STBPRP."GRNTPWRMX",STBPRP."OP_HEIGHT",STBPRP."PERIMETER",STBPRP."PSFISHCNT",STBPRP."PSFISHTYP",STBPRP."QXDBHHXCD",STBPRP."QXDBHWWCD",STBPRP."RESTPLCNT",STBPRP."STSTICINV",STBPRP."SZHLJSJHL",STBPRP."THRSMDAYS",STBPRP."AI_ENABLED",STBPRP."CHANNEL_NO",STBPRP."EIADTFRQCY",STBPRP."FH_LAST_WT",STBPRP."FH_LAST_ZQ",STBPRP."FRAME_RATE",STBPRP."FRNTWLLTYP",STBPRP."GRNTPWRNSA",STBPRP."OSGBTITLES",STBPRP."OUTFLRELEV",STBPRP."AI_EXT_CODE",STBPRP."AI_EXT_NAME",STBPRP."AVERAGETEMP",STBPRP."CENTER_ELEV",STBPRP."CENTER_LGTD",STBPRP."CENTER_LTTD",STBPRP."DESCRIPTION",STBPRP."WT_HGT_TYPE",STBPRP."AI_FREQUENCY",STBPRP."CENTER1_ELEV",STBPRP."CENTER1_LGTD",STBPRP."CENTER1_LTTD",STBPRP."INTRANET_URL",STBPRP."WT_FIRST_HGT",STBPRP."CHIEFBASINENG",STBPRP."DEVICE_SERIAL",STBPRP."CLIPPING_PLANES",STBPRP."DESTINATION_ELEV",STBPRP."DESTINATION_LGTD",STBPRP."DESTINATION_LTTD",STBPRP."DESTINATION_TYPE",STBPRP."ORIENTATION_ROLL",STBPRP."REVISE_SITE_ELEV",STBPRP."Z_VARIATION_DMAX",STBPRP."Z_VARIATION_HMAX",STBPRP."ORIENTATION_PITCH",STBPRP."ORIENTATION_HEADING",STBPRP."DESTINATION_ELEV_WCS",STBPRP."DESTINATION_LGTD_WCS",STBPRP."DESTINATION_LTTD_WCS",STBPRP."DESTINATION_ELEV_WGS84",STBPRP."DESTINATION_LGTD_WGS84",STBPRP."DESTINATION_LTTD_WGS84",STBPRP."REVISE_SITE_ELEV_FACTOR",STBPRP."COENVW_STATE",STBPRP."WTS",STBPRP."PLAY_WAY",STBPRP."UZFCCP",STBPRP."DATA_STATE",STBPRP."STD_SSTATE",STBPRP."RGCP_CODE",STBPRP."LOCATION",STBPRP."ACCURACY",STBPRP."ENGINEERING_TITLE",STBPRP."ENGINEERING_CONTENT",STBPRP."ENGINEERING_PICTURE",STBPRP."WARN_STATE",STBPRP."ACCESS_WAY",STBPRP."CHANNEL_NAME",STBPRP."TRANSMODE",STBPRP."STORAGE_WAY",STBPRP."IS_VD_CONTROL",STBPRP."CONTROL_MODE",STBPRP."PRECIS",STBPRP."GBCHANNEL",STBPRP."OCR_WAY",STBPRP."DEVICE_INFO",STBPRP."TS_DURATION",STBPRP."STNM_ALIAS",STBPRP."RVCDSTEPSORT",STBPRP."RSTCDSTEPSORT",STBPRP."SITESTEPSORT"
FROM (SELECT * FROM ST_STBPRP_YS_B WHERE IS_DELETED = 0 AND IS_SHOW = 1) SSYB
LEFT JOIN ST_STTP_TB_YS_B SSTYB ON SSYB.STTP_TB_YS_B_ID = SSTYB.ID AND SSTYB.IS_DELETED = 0 and SSTYB.IS_SHOW = 1
LEFT JOIN ST_TB_B STB ON STB.ID = SSTYB.TB_ID AND STB.IS_DELETED = 0
LEFT JOIN ST_TB_YS_B STYB ON STYB.TB_ID = SSTYB.TB_ID AND STYB.YS = SSTYB.YS AND STYB.IS_DELETED = 0 and STYB.ENABLE = 1
LEFT JOIN V_MS_STBPRP_T STBPRP ON STBPRP.STCD = SSYB.STCD AND STBPRP.STTP = SSTYB.STTP_ID AND STBPRP.IS_DELETED = 0
WHERE STB.TB IS NOT NULL AND STB.TB_CODE IS NOT NULL AND STYB.YS IS NOT NULL AND STBPRP.STCD IS NOT NULL;
COMMENT ON TABLE "QGC"."V_MS_STBPRP_YS_T" IS '对象所有监测要素视图(对象基础横表MS_STBPRP_T+沿程配置表MS_ALONG_B+监测要素相关表)用于查询各测站有哪些监测要素';

-- ----------------------------
-- View structure for V_SD_FISHDICTORY_B
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_SD_FISHDICTORY_B" AS SELECT DISTINCT t1.FISH_ID,
                t1.RVCD,
                t2.ID AS ZY_FISH_ID,
                t2.CODE,
                t2.NAME,
                t2.NAME_EN,
                t2.ALIAS,
                t2.LOGO,
                t2.INTRODUCE,
                t2.INFFILE,
                t2.ORDERS,
                t2.FAMILY,
                t2.GENUS,
                t2.SPECIES,
                t2.TYPE,
                t2.FSZ,
                t2.RARE,
                t2.SPEC_ORIGIN,
                t2.PTYPE,
                t2.HABIT_MIGRAT,
                t2.FEEDING_HABIT,
                t2.SPAWN_CHARACT,
                t2.FOOD,
                t2.TIME_FEED,
                t2.ORIGN_DATE,
                t2.PRETEMP,
                t2.FLOW_RATE,
                t2.DEPTH,
                t2.BOTM_MATER,
                t2.WQTQ,
                t2.HABITAT,
                t2.SITUATION,
                t2.RESOURCE_TYPE,
                t2.SHAPEDESC,
                t2.PROTECTLVL,
                t2.HABITATION,
                t2.FID,
                t2.DESCRIPTION,
                t2.ENABLE,
                t2.INTERNAL,
                t2.ORDER_INDEX,
                t2.FILTER_CONTENT,
                t2.RECORD_USER,
                t2.RECORD_TIME,
                t2.MODIFY_USER,
                t2.MODIFY_TIME,
                t2.IS_DELETED,
                t2.DELETE_USER,
                t2.DELETE_TIME,
                t2.ISOLATE_ID,
                t2.DEPARTMENT_ID,
                t2.SYSTEM_ID,
                t2.PLATFORM_ID,
                t2.IS_TEMP_STORAGE
FROM SD_FISHDICTORY_RLTN_B  t1
         LEFT JOIN SD_FISHDICTORY_B t2 ON t1.ZY_FISH_ID = t2.ID
WHERE t1.IS_DELETED = 0
  AND t2.IS_DELETED = 0
  AND (t1.FISH_ID != t1.ZY_FISH_ID  OR t1.RVCD='ZY');
COMMENT ON TABLE "QGC"."V_SD_FISHDICTORY_B" IS '鱼类信息流域和总院映射视图(鱼类信息流域映射关系表SD_FISHDICTORY_RLTN_B+鱼类字典表SD_FISHDICTORY_B)用于总院鱼类信息查询';

-- ----------------------------
-- View structure for V_SD_FISHDICTORY_STATS
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_SD_FISHDICTORY_STATS" AS select id, code, name,sfrb.rvcd as rvcd, sfrb.rvcd_name as rvcd_name, name_en, alias, logo, introduce, inffile, orders, family, genus, species, type, fsz, rare, spec_origin
     , ptype, habit_migrat, feeding_habit, spawn_charact, food, time_feed, orign_date, pretemp, flow_rate, depth, botm_mater, wqtq, habitat, situation, resource_type, shapedesc, protectlvl, habitation, fid, description, enable, internal, order_index, filter_content, record_user, record_time, modify_user, modify_time, is_deleted, delete_user, delete_time, isolate_id, department_id, system_id, platform_id, is_temp_storage
from sd_fishdictory_b sfb
left join (
        select zy_fish_id
             , listagg(to_char(wbs_name), ',') within group (order by to_char(swb.full_path) desc) as rvcd_name
             , listagg(to_char(rvcd), ',') within group (order by to_char(swb.full_path) desc) as rvcd
        from (select distinct rvcd,zy_fish_id from sd_fishdictory_rltn_b where is_deleted = 0 and rvcd not in ('ZY')) a
        left join sd_wbs_b swb on swb.wbs_type = 'PSB_RVCD' and is_deleted = 0 and swb.wbs_code = a.rvcd
        group by zy_fish_id
) sfrb on sfb.id = sfrb.zy_fish_id;
COMMENT ON TABLE "QGC"."V_SD_FISHDICTORY_STATS" IS '每种鱼有哪些流域行聚合视图(基于“鱼类信息表”和“鱼类信息流域映射关系表”将各鱼所有关联流域拼接起来)临时统计依赖oracle特定语法，程序不能使用该视图';

-- ----------------------------
-- View structure for V_TAB_META
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_TAB_META" AS SELECT COL.TABLE_NAME, to_nchar(TABC.COMMENTS) TABLE_COMMENTS, TABC.TABLE_TYPE
     , COL.COLUMN_ID
     , COL.COLUMN_NAME
     , to_nchar(TRIM(CASE WHEN COLC.COMMENTS IS NULL OR LENGTH(COLC.COMMENTS) < 1 THEN COL.COLUMN_NAME WHEN INSTR(REGEXP_REPLACE(COLC.COMMENTS, '\(|（|：|:|，|,|。|\.|ext\{*.}', ' '), ' ') > 0 THEN SUBSTR(REGEXP_REPLACE(COLC.COMMENTS, '\(|（|：|:|，|,|。|\.|ext\{*.}', ' '), 0, INSTR(REGEXP_REPLACE(COLC.COMMENTS, '\(|（|：|:|，|,|。|\.|ext\{*.}', ' '), ' ') - 1) ELSE COLC.COMMENTS END)) AS COLUMN_COMMENTS
     , CASE
        WHEN DATA_TYPE = 'CHAR' THEN 'VC(' || DATA_LENGTH || ')'
        WHEN DATA_TYPE = 'VARCHAR' THEN 'VC(' || DATA_LENGTH || ')'
        WHEN DATA_TYPE = 'VARCHAR2' THEN 'VC(' || DATA_LENGTH || ')'
        WHEN DATA_TYPE = 'NVARCHAR2' THEN 'NVC(' || DATA_LENGTH || ')'
        WHEN DATA_TYPE = 'DATE' THEN 'DATE'
        WHEN DATA_TYPE LIKE 'TIMESTAMP%' THEN 'DATE'
        WHEN DATA_TYPE = 'NUMBER' AND DATA_PRECISION IS NULL THEN 'N(*)'
        WHEN DATA_TYPE = 'NUMBER' AND DATA_PRECISION IS NOT NULL AND DATA_SCALE IS NULL THEN 'N(' || DATA_PRECISION || ')'
        WHEN DATA_TYPE = 'NUMBER' AND DATA_PRECISION IS NOT NULL AND DATA_SCALE IS NOT NULL THEN 'N(' || DATA_PRECISION || ',' || DATA_SCALE || ')'
        WHEN DATA_TYPE = 'FLOAT' THEN 'N(' || DATA_LENGTH || ')'
        ELSE DATA_TYPE END      DATA_TYPE_LEN
     , COL.NULLABLE
     , COL.DATA_DEFAULT
     , COL.DATA_TYPE, COL.DATA_LENGTH, COL.DATA_PRECISION, COL.DATA_SCALE
     , CASE
       WHEN DATA_TYPE IN ('CHAR', 'VARCHAR', 'VARCHAR2') THEN LOWER('string')
       WHEN DATA_TYPE IN ('NCHAR', 'NVARCHAR2') THEN LOWER('nstring')
       WHEN DATA_TYPE IN ('CLOB') THEN LOWER('clob')
       WHEN DATA_TYPE IN ('NCLOB') THEN LOWER('nclob')
       WHEN DATA_TYPE IN ('NUMBER', 'FLOAT', 'DECIMAL', 'NUMERIC', 'DOUBLE', 'INT') OR DATA_TYPE LIKE 'INT%' OR DATA_TYPE LIKE 'DOUBLE%' THEN LOWER('number')
       WHEN DATA_TYPE IN ('DATE') or DATA_TYPE like 'TIMESTAMP%' THEN 'datetime'
       ELSE DATA_TYPE END DATA_COL_TYPE
     , to_nchar(COLC.COMMENTS) COLUMN_COMMENTS_ORI
     , TAB.PARTITIONED as TABLE_PARTITIONED, TAB.NUM_ROWS as TABLE_NUM_ROWS, TAB.LAST_ANALYZED as TABLE_LAST_ANALYZED, TAB.ROW_MOVEMENT as TABLE_ROW_MOVEMENT, TAB.TABLE_LOCK as TABLE_LOCK
FROM USER_TAB_COLUMNS COL
         LEFT JOIN USER_TABLES TAB ON TAB.TABLE_NAME = COL.TABLE_NAME
         LEFT JOIN USER_TAB_COMMENTS TABC ON TABC.TABLE_NAME = COL.TABLE_NAME
         LEFT JOIN USER_COL_COMMENTS COLC ON COLC.TABLE_NAME = COL.TABLE_NAME AND COLC.COLUMN_NAME = COL.COLUMN_NAME
ORDER BY COL.TABLE_NAME, COL.COLUMN_ID;
COMMENT ON TABLE "QGC"."V_TAB_META" IS '表元信息视图，基于oracle的USER_TAB_COLUMNS，USER_TABLES，USER_TAB_COMMENTS，USER_COL_COMMENTS';

-- ----------------------------
-- View structure for V_WBS_ADDVCD_DIC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_WBS_ADDVCD_DIC" AS SELECT ID                                                                   AS id,
       WBS_CODE                                                             AS code,
       WBS_NAME                                                             AS name,
       WBS_SNAME                                                            AS SNAME,
       ENABLE                                                               AS ENABLE,
       PARENT_ID                                                            AS PARENT_ID,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_CODE, ','), 2) || ','                 AS FULL_PATH,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_NAME, ','), 2) || ','                 AS FULL_PATH_NAME,
       LENGTH(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',') -
       LENGTH(REPLACE(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',', ',')) AS TREE_LEVEL,
       SUBSTR(SYS_CONNECT_BY_PATH(id, ','), 2) || ','                       AS FULL_ID,
       HAS_CHILDREN                                                         AS HAS_CHILDREN,
       ORDER_INDEX                                                          AS ORDER_INDEX,
       VLSR                                                                 AS VLSR,
       VLSR_TM                                                              AS VLSR_TM,
       DESCRIPTION                                                          AS DESCRIPTION,
       INTRODUCE                                                            AS INTRODUCE,
       SYNOPSIS                                                             AS SYNOPSIS,
       LOGO                                                                 AS LOGO,
       INFFILE                                                              AS INFFILE,
       LGTD                                                                 AS LGTD,
       LTTD                                                                 AS LTTD,
       AREA                                                                 AS AREA,
       PERIMETER                                                            AS PERIMETER,
       FILTER_CONTENT                                                       AS FILTER_CONTENT,
       RECORD_USER                                                          AS RECORD_USER,
       RECORD_TIME                                                          AS RECORD_TIME,
       MODIFY_USER                                                          AS MODIFY_USER,
       MODIFY_TIME                                                          AS MODIFY_TIME,
       IS_DELETED                                                           AS IS_DELETED,
       DELETE_USER                                                          AS DELETE_USER,
       DELETE_TIME                                                          AS DELETE_TIME,
       ISOLATE_ID                                                           AS ISOLATE_ID,
       DEPARTMENT_ID                                                        AS DEPARTMENT_ID,
       SYSTEM_ID                                                            AS SYSTEM_ID,
       PLATFORM_ID                                                          AS PLATFORM_ID,
       IS_TEMP_STORAGE                                                      AS IS_TEMP_STORAGE
FROM SD_WBS_B
WHERE WBS_TYPE IN ('ADDVCD')
  AND IS_DELETED = 0
START WITH ID IN ( SELECT ID FROM SD_WBS_B WHERE PARENT_ID IS NULL )
CONNECT BY PRIOR ID = PARENT_ID
ORDER BY FULL_PATH_NAME;
COMMENT ON TABLE "QGC"."V_WBS_ADDVCD_DIC" IS '行政区信息视图(基于SD_WBS_B表且节点类型：ADDVCD=行政)';

-- ----------------------------
-- View structure for V_WBS_COMPANY_DIC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_WBS_COMPANY_DIC" AS SELECT ID                                                                   AS id,
       WBS_CODE                                                             AS code,
       WBS_NAME                                                             AS name,
       WBS_SNAME                                                            AS SNAME,
       ENABLE                                                               AS ENABLE,
       PARENT_ID                                                            AS PARENT_ID,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_CODE, ','), 2) || ','                 AS FULL_PATH,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_NAME, ','), 2) || ','                 AS FULL_PATH_NAME,
       LENGTH(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',') -
       LENGTH(REPLACE(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',', ',')) AS TREE_LEVEL,
       SUBSTR(SYS_CONNECT_BY_PATH(id, ','), 2) || ','                       AS FULL_ID,
       HAS_CHILDREN                                                         AS HAS_CHILDREN,
       ORDER_INDEX                                                          AS ORDER_INDEX,
       VLSR                                                                 AS VLSR,
       VLSR_TM                                                              AS VLSR_TM,
       DESCRIPTION                                                          AS DESCRIPTION,
       INTRODUCE                                                            AS INTRODUCE,
       SYNOPSIS                                                             AS SYNOPSIS,
       LOGO                                                                 AS LOGO,
       INFFILE                                                              AS INFFILE,
       LGTD                                                                 AS LGTD,
       LTTD                                                                 AS LTTD,
       AREA                                                                 AS AREA,
       PERIMETER                                                            AS PERIMETER,
       FILTER_CONTENT                                                       AS FILTER_CONTENT,
       RECORD_USER                                                          AS RECORD_USER,
       RECORD_TIME                                                          AS RECORD_TIME,
       MODIFY_USER                                                          AS MODIFY_USER,
       MODIFY_TIME                                                          AS MODIFY_TIME,
       IS_DELETED                                                           AS IS_DELETED,
       DELETE_USER                                                          AS DELETE_USER,
       DELETE_TIME                                                          AS DELETE_TIME,
       ISOLATE_ID                                                           AS ISOLATE_ID,
       DEPARTMENT_ID                                                        AS DEPARTMENT_ID,
       SYSTEM_ID                                                            AS SYSTEM_ID,
       PLATFORM_ID                                                          AS PLATFORM_ID,
       IS_TEMP_STORAGE                                                      AS IS_TEMP_STORAGE
FROM SD_WBS_B
WHERE WBS_TYPE IN ('COMPANY')
  AND IS_DELETED = 0
START WITH ID IN ( SELECT ID FROM SD_WBS_B WHERE PARENT_ID IS NULL )
CONNECT BY PRIOR ID = PARENT_ID
ORDER BY FULL_PATH_NAME;
COMMENT ON TABLE "QGC"."V_WBS_COMPANY_DIC" IS '公司信息视图(基于SD_WBS_B表且节点类型：COMPANY=公司)';

-- ----------------------------
-- View structure for V_WBS_LYSD_RVCD_DIC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_WBS_LYSD_RVCD_DIC" AS SELECT ID                                                                   AS id,
       WBS_CODE                                                             AS code,
       WBS_NAME                                                             AS name,
       WBS_SNAME                                                            AS SNAME,
       ENABLE                                                               AS ENABLE,
       PARENT_ID                                                            AS PARENT_ID,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_CODE, ','), 2) || ','                 AS FULL_PATH,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_NAME, ','), 2) || ','                 AS FULL_PATH_NAME,
       LENGTH(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',') -
       LENGTH(REPLACE(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',', ',')) AS TREE_LEVEL,
       SUBSTR(SYS_CONNECT_BY_PATH(id, ','), 2) || ','                       AS FULL_ID,
       HAS_CHILDREN                                                         AS HAS_CHILDREN,
       ORDER_INDEX                                                          AS ORDER_INDEX,
       VLSR                                                                 AS VLSR,
       VLSR_TM                                                              AS VLSR_TM,
       DESCRIPTION                                                          AS DESCRIPTION,
       INTRODUCE                                                            AS INTRODUCE,
       SYNOPSIS                                                             AS SYNOPSIS,
       LOGO                                                                 AS LOGO,
       INFFILE                                                              AS INFFILE,
       LGTD                                                                 AS LGTD,
       LTTD                                                                 AS LTTD,
       AREA                                                                 AS AREA,
       PERIMETER                                                            AS PERIMETER,
       FILTER_CONTENT                                                       AS FILTER_CONTENT,
       RECORD_USER                                                          AS RECORD_USER,
       RECORD_TIME                                                          AS RECORD_TIME,
       MODIFY_USER                                                          AS MODIFY_USER,
       MODIFY_TIME                                                          AS MODIFY_TIME,
       IS_DELETED                                                           AS IS_DELETED,
       DELETE_USER                                                          AS DELETE_USER,
       DELETE_TIME                                                          AS DELETE_TIME,
       ISOLATE_ID                                                           AS ISOLATE_ID,
       DEPARTMENT_ID                                                        AS DEPARTMENT_ID,
       SYSTEM_ID                                                            AS SYSTEM_ID,
       PLATFORM_ID                                                          AS PLATFORM_ID,
       IS_TEMP_STORAGE                                                      AS IS_TEMP_STORAGE
FROM SD_WBS_B
WHERE WBS_TYPE IN ('LYSD_RVCD')
  AND IS_DELETED = 0
START WITH ID IN ( SELECT ID FROM SD_WBS_B WHERE PARENT_ID IS NULL )
CONNECT BY PRIOR ID = PARENT_ID
ORDER BY FULL_PATH_NAME;
COMMENT ON TABLE "QGC"."V_WBS_LYSD_RVCD_DIC" IS '流域水电一期流域信息视图(基于SD_WBS_B表且节点类型：LYSD_RVCD=流域水电一期流域（梯级图使用）)';

-- ----------------------------
-- View structure for V_WBS_PSB_RVCD_DIC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_WBS_PSB_RVCD_DIC" AS SELECT ID                                                                   AS id,
       WBS_CODE                                                             AS code,
       WBS_NAME                                                             AS name,
       WBS_SNAME                                                            AS SNAME,
       ENABLE                                                               AS ENABLE,
       PARENT_ID                                                            AS PARENT_ID,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_CODE, ','), 2) || ','                 AS FULL_PATH,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_NAME, ','), 2) || ','                 AS FULL_PATH_NAME,
       LENGTH(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',') -
       LENGTH(REPLACE(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',', ',')) AS TREE_LEVEL,
       SUBSTR(SYS_CONNECT_BY_PATH(id, ','), 2) || ','                       AS FULL_ID,
       HAS_CHILDREN                                                         AS HAS_CHILDREN,
       ORDER_INDEX                                                          AS ORDER_INDEX,
       VLSR                                                                 AS VLSR,
       VLSR_TM                                                              AS VLSR_TM,
       DESCRIPTION                                                          AS DESCRIPTION,
       INTRODUCE                                                            AS INTRODUCE,
       SYNOPSIS                                                             AS SYNOPSIS,
       LOGO                                                                 AS LOGO,
       INFFILE                                                              AS INFFILE,
       LGTD                                                                 AS LGTD,
       LTTD                                                                 AS LTTD,
       AREA                                                                 AS AREA,
       PERIMETER                                                            AS PERIMETER,
       FILTER_CONTENT                                                       AS FILTER_CONTENT,
       RECORD_USER                                                          AS RECORD_USER,
       RECORD_TIME                                                          AS RECORD_TIME,
       MODIFY_USER                                                          AS MODIFY_USER,
       MODIFY_TIME                                                          AS MODIFY_TIME,
       IS_DELETED                                                           AS IS_DELETED,
       DELETE_USER                                                          AS DELETE_USER,
       DELETE_TIME                                                          AS DELETE_TIME,
       ISOLATE_ID                                                           AS ISOLATE_ID,
       DEPARTMENT_ID                                                        AS DEPARTMENT_ID,
       SYSTEM_ID                                                            AS SYSTEM_ID,
       PLATFORM_ID                                                          AS PLATFORM_ID,
       IS_TEMP_STORAGE                                                      AS IS_TEMP_STORAGE
FROM ( SELECT a.id,
              a.wbs_type,
              a.wbs_code,
              a.wbs_name,
              a.description,
              a.enable,
              CASE WHEN a.WBS_TYPE = 'PSB_RVCD' AND a.parent_id IS NULL THEN b.id ELSE a.PARENT_ID END AS parent_id,
              a.full_path,
              a.tree_level,
              a.has_children,
              a.obj_id,
              a.top_wbs_type,
              a.wbs_sname,
              a.wbs_name_en,
              a.wbs_sname_en,
              a.lgtd,
              a.lttd,
              a.area,
              a.perimeter,
              a.introduce,
              a.logo,
              a.inffile,
              a.reach_wwqtg,
              a.internal,
              a.order_index,
              a.filter_content,
              a.record_user,
              a.record_time,
              a.modify_user,
              a.modify_time,
              a.is_deleted,
              a.delete_user,
              a.delete_time,
              a.isolate_id,
              a.department_id,
              a.system_id,
              a.platform_id,
              a.is_temp_storage,
              a.max_elev,
              a.min_elev,
              a.dat_tp,
              a.rv_ag,
              a.if_inn_rv,
              a.show_control,
              a.synopsis,
              a.vlsr,
              a.vlsr_tm
       FROM ( SELECT * FROM SD_WBS_B WHERE WBS_TYPE IN ('PSB', 'PSB_RVCD') AND IS_DELETED = 0 ) a
                LEFT JOIN SD_WBS_B b ON a.obj_id = b.WBS_CODE AND b.WBS_TYPE = 'PSB' )
START WITH ID IN ( SELECT ID
                   FROM SD_WBS_B
                   WHERE (WBS_TYPE IN ('PSB') AND PARENT_ID IS NULL)
                      OR (WBS_TYPE IN ('PSB_RVCD') AND PARENT_ID IS NOT NULL) )
CONNECT BY PRIOR ID = PARENT_ID
ORDER BY FULL_PATH;
COMMENT ON TABLE "QGC"."V_WBS_PSB_RVCD_DIC" IS '水电基地以及流域信息视图(基于SD_WBS_B表且节点类型：PSB=水电基地，PSB_RVCD=水电站基地流域)';

-- ----------------------------
-- View structure for V_WBS_RVCD_DIC
-- ----------------------------
CREATE OR REPLACE VIEW "QGC"."V_WBS_RVCD_DIC" AS SELECT ID                                                                   AS id,
       WBS_CODE                                                             AS code,
       WBS_NAME                                                             AS name,
       WBS_SNAME                                                            AS SNAME,
       ENABLE                                                               AS ENABLE,
       PARENT_ID                                                            AS PARENT_ID,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_CODE, ','), 2) || ','                 AS FULL_PATH,
       SUBSTR(SYS_CONNECT_BY_PATH(WBS_NAME, ','), 2) || ','                 AS FULL_PATH_NAME,
       LENGTH(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',') -
       LENGTH(REPLACE(SUBSTR(SYS_CONNECT_BY_PATH(ID, ','), 2) || ',', ',')) AS TREE_LEVEL,
       SUBSTR(SYS_CONNECT_BY_PATH(id, ','), 2) || ','                       AS FULL_ID,
       HAS_CHILDREN                                                         AS HAS_CHILDREN,
       ORDER_INDEX                                                          AS ORDER_INDEX,
       VLSR                                                                 AS VLSR,
       VLSR_TM                                                              AS VLSR_TM,
       DESCRIPTION                                                          AS DESCRIPTION,
       INTRODUCE                                                            AS INTRODUCE,
       SYNOPSIS                                                             AS SYNOPSIS,
       LOGO                                                                 AS LOGO,
       INFFILE                                                              AS INFFILE,
       LGTD                                                                 AS LGTD,
       LTTD                                                                 AS LTTD,
       AREA                                                                 AS AREA,
       PERIMETER                                                            AS PERIMETER,
       FILTER_CONTENT                                                       AS FILTER_CONTENT,
       RECORD_USER                                                          AS RECORD_USER,
       RECORD_TIME                                                          AS RECORD_TIME,
       MODIFY_USER                                                          AS MODIFY_USER,
       MODIFY_TIME                                                          AS MODIFY_TIME,
       IS_DELETED                                                           AS IS_DELETED,
       DELETE_USER                                                          AS DELETE_USER,
       DELETE_TIME                                                          AS DELETE_TIME,
       ISOLATE_ID                                                           AS ISOLATE_ID,
       DEPARTMENT_ID                                                        AS DEPARTMENT_ID,
       SYSTEM_ID                                                            AS SYSTEM_ID,
       PLATFORM_ID                                                          AS PLATFORM_ID,
       IS_TEMP_STORAGE                                                      AS IS_TEMP_STORAGE
FROM SD_WBS_B
WHERE WBS_TYPE IN ('RVCD')
  AND IS_DELETED = 0
START WITH ID IN ( SELECT ID FROM SD_WBS_B WHERE PARENT_ID IS NULL )
CONNECT BY PRIOR ID = PARENT_ID
ORDER BY FULL_PATH_NAME;
COMMENT ON TABLE "QGC"."V_WBS_RVCD_DIC" IS '流域信息视图(基于SD_WBS_B表且节点类型：RVCD=流域)';

-- ----------------------------
-- Function structure for CALCULATE_WQ_SFDB_STATS
-- ----------------------------
CREATE OR REPLACE
PROCEDURE "QGC"."CALCULATE_WQ_SFDB_STATS" AS
BEGIN
    -- 创建临时表来保存水质等级及达标结果
    EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE TEMP_WQ_SFDB_STATS (
        ID VARCHAR2(60),
        STCD VARCHAR2(50),
        TM TIMESTAMP,
        SFDB NUMBER(1),
        SFDBHNYS VARCHAR2(200)
    ) ON COMMIT PRESERVE ROWS';

    -- 清空表内容
    EXECUTE IMMEDIATE 'TRUNCATE TABLE TEMP_WQ_SFDB_STATS';
    -- 只处理启用的要素.
    V_ENABLE :=1;
    -- 第一层循环：读取每条水质数据
    FOR WQ_DATA_ROW IN WQ_DATA_CURSOR LOOP
            V_WQ_LVL :=0; -- 水质等级
            V_WQ_SFDB :=0; -- 水质达标状态
            DBMS_OUTPUT.PUT_LINE('当前站点:'+WQ_DATA_ROW.STCD+',数据监测时间:'+WQ_DATA_ROW.TM);
            -- 第二层循环：查找水质站关联的要素列表.
            FOR YS_ROW IN STBPRP_YS_CURSOR(WQ_DATA_ROW.STCD) LOOP
                V_WQ_SFDBHN_YS :=''; -- 不达标水质要素
                V_WQ_YS_SFDB := 0; -- 水质要素达标状态
                V_WQ_YS_LVL := 0; -- 水质要素等级
                -- 取YS的监测值
                B := DBMS_SQL.OPEN_CURSOR;
                DBMS_SQL.PARSE(B,'select '+YS_ROW.YS+' from SD_WQ_R where is_deleted=0 and STCD=:STCD AND TM=:TM', DBMS_SQL.NATIVE);
                -- 绑定参数
                DBMS_SQL.BIND_VARIABLE(B, ':STCD', WQ_DATA_ROW.STCD);
                DBMS_SQL.BIND_VARIABLE(B, ':TM', WQ_DATA_ROW.TM);
                -- 定义列类型
                DBMS_SQL.DEFINE_COLUMN(B, 1, COL_YS_VAL);--要素值
                IF DBMS_SQL.FETCH_ROWS(B) > 0 THEN
                    -- 获取列值 (水质监测的要素实际值)
                    DBMS_SQL.COLUMN_VALUE(B, 1, COL_YS_VAL);--要素值
                    DBMS_OUTPUT.PUT_LINE('当前要素:'+YS_ROW.YS+'('+YS_ROW.YS_SHOW_NAME+'),其监测值为:'+COL_YS_VAL);
                    IF COL_YS_VAL IS NOT NULL THEN
                        YS_ROW_COUNT :=0; --默认要素规则条数为0.
                        -- 获取要素条数
                        EXECUTE IMMEDIATE 'select count(1) from (select MWRDB.* from MS_WARN_RULE_B MWRB ' ||
                                          'inner join MS_WARN_RULE_DETAIL_B MWRDB on MWRB.ID = MWRDB.RULE_ID ' ||
                                          'where instr(YS, ''_RSVR'') <= 0 and (MWRDB.ELAEQ is null or MWRDB.ELAEQ != 0) ' ||
                                          'and MWRB.rule_type = ''WQLVL'' order by MWRDB.YS,MWRDB.LVL) MWR WHERE MWR.YS = :P_YS'  INTO YS_ROW_COUNT using YS_ROW.YS;
                        DBMS_OUTPUT.PUT_LINE('要素Total rows: ' || YS_ROW_COUNT);
                        -- 打开动态游标
                        C := DBMS_SQL.OPEN_CURSOR;
                        -- 构建查询语句，使用动态 SQL 获取指定字段的值
                        DBMS_SQL.PARSE(C,'select MWR.YS,MWR.TM,MWR.MIN_VAL,MWR.MAX_VAL,MWR.LVL,MWR.STTY,MWR.ELAEQ,MWR.QECSC from ' ||
                                         '(select MWRDB.* from MS_WARN_RULE_B MWRB ' ||
                                            'inner join MS_WARN_RULE_DETAIL_B MWRDB on MWRB.ID=MWRDB.RULE_ID ' ||
                                            'where instr(YS,''_RSVR'')<=0 and (MWRDB.ELAEQ is null or MWRDB.ELAEQ !=0) and MWRB.rule_type=''WQLVL'' order by MWRDB.YS,MWRDB.LVL) MWR ' ||
                                         'WHERE MWR.YS=:P_YS order by MWR.LVL', DBMS_SQL.NATIVE);
                        -- 绑定参数
                        DBMS_SQL.BIND_VARIABLE(C, ':P_YS', YS_ROW.YS);--水质要素
                        -- 定义列类型
                        DBMS_SQL.DEFINE_COLUMN(C, 1, COL_YS, 50);--要素
                        DBMS_SQL.DEFINE_COLUMN(C, 2, COL_TM);--要素生效时间
                        DBMS_SQL.DEFINE_COLUMN(C, 3, COL_MIN);--要素规则-最小值
                        DBMS_SQL.DEFINE_COLUMN(C, 4, COL_MAX);--要素规则-最大值
                        DBMS_SQL.DEFINE_COLUMN(C, 5, COL_LVL);--要素规则-等级
                        DBMS_SQL.DEFINE_COLUMN(C, 6, COL_STTY, 20);--要素规则-???
                        DBMS_SQL.DEFINE_COLUMN(C, 7, COL_ELAEQ);--要素规则-是否环评要求
                        DBMS_SQL.DEFINE_COLUMN(C, 8, COL_QECSC);--要素规则-系数
                        IF YS_ROW_COUNT = 1 THEN
                            IF DBMS_SQL.FETCH_ROWS(C) > 0 THEN
                                -- 获取列值
                                DBMS_SQL.COLUMN_VALUE(C, 3, COL_MIN);
                                DBMS_SQL.COLUMN_VALUE(C, 4, COL_MAX);
                                DBMS_SQL.COLUMN_VALUE(C, 5, COL_LVL);
                                DBMS_SQL.COLUMN_VALUE(C, 8, COL_QECSC);
                                -- 如果实际值 大于最小值且小于最大值,则不达标
                                IF COL_YS_VAL >= COL_MIN and COL_YS_VAL <= COL_MAX  THEN  -- 在范围内,要素达标
                                    V_WQ_YS_LVL := COL_LVL;
                                END IF;
                            END IF;
                        ELSE
                            LOOP
                                IF DBMS_SQL.FETCH_ROWS(C) > 0 THEN
                                    -- 获取列值
                                    DBMS_SQL.COLUMN_VALUE(C, 3, COL_MIN);
                                    DBMS_SQL.COLUMN_VALUE(C, 4, COL_MAX);
                                    DBMS_SQL.COLUMN_VALUE(C, 5, COL_LVL);
                                    DBMS_SQL.COLUMN_VALUE(C, 8, COL_QECSC);
                                    -- 如果实际值 大于最小值且小于最大值,则不达标
                                    IF COL_YS_VAL >= COL_MIN AND COL_YS_VAL <= COL_MAX  THEN  -- 在范围内,要素达标
                                        V_WQ_YS_LVL := COL_LVL;
                                        EXIT;
                                    END IF;
                                ELSE
                                    EXIT;  -- 没有更多行则退出循环
                                END IF;
                            END LOOP;
                            -- 如果当前水质等级 小于 当前水质要素等级,则水质等级 = 水质要素等级
                            IF V_WQ_LVL < V_WQ_YS_LVL THEN
                                V_WQ_LVL := V_WQ_YS_LVL;
                            END IF;
                        END IF;
                        -- 如果实际水质等级不为0 且 目标水质等级大于等级实际水质等级,则此水质要素达标.
                        IF V_WQ_LVL =0 OR (WQ_DATA_ROW.WWQTG IS NOT null and WQ_DATA_ROW.WWQTG < V_WQ_LVL ) THEN
                            V_WQ_SFDBHN_YS := V_WQ_SFDBHN_YS || YS_ROW.YS || ','; -- 保存不达标要素
                        END IF;
                        -- 关闭游标
                        DBMS_SQL.CLOSE_CURSOR(C);
                    END IF;
                ELSE
                    EXIT;  -- 没有更多行则退出循环
                END IF;
            END LOOP;
            -- ;否则水质不达标.
            IF WQ_DATA_ROW.WWQTG IS NULL OR V_WQ_LVL = 0 THEN -- 如果水质规则的或者无目标水质等级,则设置达标为null;
                V_WQ_LVL := NULL;
                V_WQ_SFDB := NULL;
            ELSE
                IF V_WQ_LVL > WQ_DATA_ROW.WWQTG THEN -- 如果水质实际等级>水质目标等级,则不达标
                    V_WQ_SFDB := 0;
                ELSE -- 如果实际水质等级<=目标水质等级,则水质达标
                    V_WQ_SFDB := 1;
                END IF;
            END IF;
            -- 保存当前水质达标状态.
            INSERT INTO TEMP_WQ_SFDB_STATS (ID,SFDB,SFDBHNYS) VALUES (WQ_DATA_ROW.ID,V_WQ_SFDB,V_WQ_SFDBHN_YS);
            -- 关闭游标
            DBMS_SQL.CLOSE_CURSOR(B);
        END LOOP;
    -- 返回结果集
    OPEN P_OUTPUT_CURSOR FOR
        SELECT * FROM TEMP_WQ_SFDB_STATS;
END CALCULATE_WQ_SFDB_STATS;
/

-- ----------------------------
-- Function structure for MD5
-- ----------------------------
CREATE OR REPLACE
FUNCTION "QGC"."MD5" AS
BEGIN
    IF STR IS NULL THEN RETURN NULL; END IF;
    RETVAL := lower(UTL_RAW.CAST_TO_RAW(DBMS_OBFUSCATION_TOOLKIT.MD5(INPUT_STRING => STR)));
    RETURN RETVAL;
END;
/

-- ----------------------------
-- Function structure for MD5_36
-- ----------------------------
CREATE OR REPLACE
FUNCTION "QGC"."MD5_36" AS
BEGIN
    IF STR IS NULL THEN RETURN NULL; END IF;
    RETVAL := UTL_RAW.CAST_TO_RAW(DBMS_OBFUSCATION_TOOLKIT.MD5(INPUT_STRING => STR));
    -- 59B466FD-9316-4953-E56B-DD1358DC0044
    -- 8-4-4-4-12
    RETVAL := SUBSTR(RETVAL, 1, 8) || '-' || SUBSTR(RETVAL, 9, 4) || '-' || SUBSTR(RETVAL, 13, 4) || '-' || SUBSTR(RETVAL, 17, 4) || '-' || SUBSTR(RETVAL, 21, 12);
    RETURN RETVAL;
END;
/

-- ----------------------------
-- Function structure for PR_RTABLE_YS
-- ----------------------------
CREATE OR REPLACE
PROCEDURE "QGC"."PR_RTABLE_YS" AS
BEGIN
    V_INNER_EXCLUDE_COLS :=
                ',ID,ORDER_INDEX,FILTER_CONTENT,RECORD_USER,RECORD_TIME,MODIFY_USER,MODIFY_TIME,IS_DELETED,DELETE_USER,DELETE_TIME,ISOLATE_ID,DEPARTMENT_ID,SYSTEM_ID,PLATFORM_ID,IS_TEMP_STORAGE,TASK_ID,TASK_STATUS,' ||
                ',STCD,TM,DT,DRTP,YEAR,MONTH,DR,REMARK,FID,VLSR,';
    IF IN_EXCLUDE_COLS IS NOT NULL AND LENGTH(IN_EXCLUDE_COLS) > 1 THEN
        V_USER_EXCLUDE_COLS :=  ',' || IN_EXCLUDE_COLS || ',';
        V_USER_EXCLUDE_COLS := REPLACE(V_USER_EXCLUDE_COLS, ',,', ',');
        V_USER_EXCLUDE_COLS := REPLACE(V_USER_EXCLUDE_COLS, ',,', ',');
    END IF;
    IF IN_LOG = 1 THEN
        DBMS_OUTPUT.PUT_LINE('TABLE=' || IN_TABLE || ',TB_DATA_TYPE=' || IN_TB_DATA_TYPE || ',TABLE_CODE=' || IN_TABLE_CODE || ',DAY_TB=' || IN_DAY_TB || ',STAT_TB=' || IN_STAT_TB);
        DBMS_OUTPUT.PUT_LINE('INNER_EXCLUDE_COLS=' || V_INNER_EXCLUDE_COLS);
        DBMS_OUTPUT.PUT_LINE('USER_EXCLUDE_COLS=' || V_USER_EXCLUDE_COLS);
    END IF;


    SELECT COUNT(*) INTO V_NUM FROM V_TAB_META WHERE TABLE_NAME = IN_TABLE;
    IF V_NUM < 1 THEN
        DBMS_OUTPUT.PUT_LINE('当前'||IN_TABLE||'表不存在,跳过.');
        RETURN;
    END IF;

    --ST_YS_B 监测要素全局声明表
    MERGE INTO ST_YS_B T
    USING (
            SELECT a.*, to_char(TABLE_NAME || ',' || TABLE_COMMENTS) AS DESCRIPTION
            FROM (
                SELECT * FROM V_TAB_META
                --WHERE TABLE_NAME IN('SD_WQ_R')
                WHERE TABLE_NAME IN (IN_TABLE) AND V_INNER_EXCLUDE_COLS NOT LIKE '%,' || COLUMN_NAME || ',%'
            ) a
    ) S
    ON (T.YS = S.COLUMN_NAME)
    WHEN NOT MATCHED THEN
        INSERT (ID, YS, YS_NAME, YS_SHOW_NAME, DESCRIPTION, SAVE_MODE, SUMMARY_MODE, DATA_TYPE, DICT_ID,STANDARD_UOM_ID, ENABLE, RECORD_USER)
        VALUES (MD5_36(S.COLUMN_NAME), S.COLUMN_NAME, S.COLUMN_NAME, S.COLUMN_NAME, S.DESCRIPTION, 'cover', NULL, S.DATA_COL_TYPE, NULL, NULL, 1, 'A62AB110-D4EC-FF3E-F293-140AB60CAE61')
    WHEN MATCHED THEN
        UPDATE SET T.DESCRIPTION = CASE WHEN T.DESCRIPTION IS NOT NULL THEN T.DESCRIPTION ELSE S.DESCRIPTION END;

    -- ST_TB_B 监测表信息表
    MERGE INTO ST_TB_B T
    USING (
            SELECT DISTINCT TABLE_NAME as TABLE_NAME, CASE WHEN TABLE_COMMENTS IS NOT NULL THEN to_char(TABLE_COMMENTS) else TABLE_NAME END as TABLE_COMMENTS
            FROM V_TAB_META
            --WHERE TABLE_NAME IN('SD_WQ_R')
            WHERE TABLE_NAME IN (IN_TABLE) AND V_INNER_EXCLUDE_COLS NOT LIKE '%,' || COLUMN_NAME || ',%' ) S
    ON (T.TB = S.TABLE_NAME)
    WHEN NOT MATCHED THEN
        INSERT (ID, TB, TB_NAME, TB_CODE, DAY_TB, STAT_TB, TB_DATA_TYPE, RECORD_USER)
        VALUES (MD5_36(TABLE_NAME), S.TABLE_NAME, S.TABLE_COMMENTS, IN_TABLE_CODE, IN_DAY_TB, IN_STAT_TB,
                IN_TB_DATA_TYPE, 'A62AB110-D4EC-FF3E-F293-140AB60CAE61')
    WHEN MATCHED THEN
        UPDATE
        SET T.DAY_TB       = CASE WHEN T.DAY_TB IS NOT NULL THEN T.DAY_TB ELSE IN_DAY_TB END,
            T.STAT_TB      = CASE WHEN T.STAT_TB IS NOT NULL THEN T.STAT_TB ELSE IN_STAT_TB END,
            T.TB_DATA_TYPE = CASE WHEN T.TB_DATA_TYPE IS NOT NULL THEN T.TB_DATA_TYPE ELSE IN_TB_DATA_TYPE END;

    -- ST_TB_YS_B 监测表与要素关联表
    MERGE INTO ST_TB_YS_B T
    USING (
            SELECT a.*, (TABLE_NAME || ',' || TABLE_COMMENTS || ',' || COLUMN_NAME || ',' || COLUMN_NAME) AS DESCRIPTION, STB.ID TB_ID,
                CASE WHEN V_USER_EXCLUDE_COLS LIKE '%,' || COLUMN_NAME || ',%' THEN 0 ELSE 1 END AS ENABLE
            FROM (
                SELECT * FROM V_TAB_META
                --WHERE TABLE_NAME IN('SD_WQ_R')
                WHERE TABLE_NAME IN (IN_TABLE) AND V_INNER_EXCLUDE_COLS NOT LIKE '%,' || COLUMN_NAME || ',%'
            ) a
            LEFT JOIN ST_TB_B STB ON STB.TB = a.TABLE_NAME
    ) S
    ON (T.TB_ID = S.TB_ID AND t.YS = S.COLUMN_NAME)
    WHEN NOT MATCHED THEN
        INSERT (ID, TB_ID, YS, YS_SHOW_NAME, ENABLE, ORDER_INDEX, DESCRIPTION, RECORD_USER)
        VALUES (MD5_36(S.TABLE_NAME || S.COLUMN_NAME), S.TB_ID, S.COLUMN_NAME, S.COLUMN_NAME,
                S.ENABLE, S.COLUMN_ID, S.DESCRIPTION, 'A62AB110-D4EC-FF3E-F293-140AB60CAE61')
    WHEN MATCHED THEN
        UPDATE
        SET T.ENABLE = S.ENABLE,
            T.ORDER_INDEX = CASE WHEN T.ORDER_INDEX IS NOT NULL THEN T.ORDER_INDEX ELSE S.COLUMN_ID END,
            -- T.DESCRIPTION = CASE WHEN T.DESCRIPTION IS NOT NULL THEN T.DESCRIPTION ELSE S.DESCRIPTION END;
            T.DESCRIPTION = S.DESCRIPTION;


    -- ST_STTP_TB_YS_B 对象业务类型与监测表的要素关联表
    V_SQL := 'SELECT DISTINCT STTP FROM MS_STBPRP_T WHERE STCD IN(SELECT DISTINCT STCD FROM ' || IN_TABLE || ' WHERE STCD IN( SELECT STCD FROM MS_STBPRP_T))';
    OPEN V_CURSOR FOR V_SQL;
    LOOP
        FETCH V_CURSOR INTO VALUE;
        EXIT WHEN V_CURSOR%NOTFOUND;
        MERGE INTO ST_STTP_TB_YS_B T
        USING (
            SELECT a.*, (SSB.STTP_CODE || ',' || TABLE_NAME || ',' || COLUMN_NAME || ',' || COLUMN_NAME) AS DESCRIPTION, SSB.ID AS STTP_ID, SSB.STTP_CODE, STB.ID AS TB_ID
                 , STYB.ENABLE AS IS_SHOW
                 , STYB.IS_DELETED AS IS_DELETED
            FROM (
                SELECT * FROM V_TAB_META
                --WHERE TABLE_NAME IN('SD_WQ_R')
                WHERE TABLE_NAME IN (IN_TABLE) AND V_INNER_EXCLUDE_COLS NOT LIKE '%,' || COLUMN_NAME || ',%'
            ) a
            LEFT JOIN ST_TB_B STB ON STB.TB = a.TABLE_NAME
            LEFT JOIN ST_TB_YS_B STYB ON STYB.TB_ID = STB.ID AND STYB.YS = a.COLUMN_NAME
            LEFT JOIN SD_STTP_B SSB ON SSB.ID = VALUE
        ) S
        ON (T.STTP_ID = S.STTP_ID AND T.TB_ID = S.TB_ID AND t.YS = s.COLUMN_NAME)
        WHEN NOT MATCHED THEN
            INSERT (ID, STTP_ID, TB_ID, YS, IS_SHOW, ORDER_INDEX, DESCRIPTION, RECORD_USER, IS_DELETED)
            VALUES (MD5_36(S.STTP_ID || S.TABLE_NAME || S.COLUMN_NAME), S.STTP_ID, S.TB_ID, S.COLUMN_NAME,
                    S.IS_SHOW, S.COLUMN_ID, S.DESCRIPTION, 'A62AB110-D4EC-FF3E-F293-140AB60CAE61', S.IS_DELETED)
        WHEN MATCHED THEN
            UPDATE
            SET T.ORDER_INDEX = CASE WHEN T.ORDER_INDEX IS NOT NULL THEN T.ORDER_INDEX ELSE S.COLUMN_ID END,
                --T.DESCRIPTION = CASE WHEN T.DESCRIPTION IS NOT NULL THEN T.DESCRIPTION ELSE S.DESCRIPTION END,
                T.DESCRIPTION = S.DESCRIPTION,
                --T.IS_SHOW = CASE WHEN T.IS_SHOW IS NOT NULL THEN T.IS_SHOW ELSE S.IS_SHOW END,
                T.IS_SHOW = S.IS_SHOW,
                T.IS_DELETED = CASE WHEN T.IS_DELETED IS NOT NULL THEN T.IS_DELETED ELSE S.IS_DELETED END;
    END LOOP;
    CLOSE V_CURSOR;

    -- ST_STBPRP_YS_B 对象与要素关联表
    FOR CUR IN ( SELECT 'MERGE INTO ST_STBPRP_YS_B T USING ('
                        || '    SELECT STCD,SSTYB.ID AS STTP_TB_YS_B_ID,SSTYB.IS_SHOW,SSTYB.IS_DELETED,SSTYB.ORDER_INDEX, (STNM || '','||TABLE_NAME||','||COLUMN_NAME||''' || '','||COLUMN_NAME||''') AS DESCRIPTION'
                        || '    FROM (SELECT STCD, STTP, STNM FROM MS_STBPRP_T WHERE STCD IN (SELECT DISTINCT STCD FROM ' || TABLE_NAME || ' WHERE ' || COLUMN_NAME || ' IS NOT NULL)'
                        || '    ) A'
                        || '    LEFT JOIN ST_STTP_TB_YS_B SSTYB ON SSTYB.STTP_ID = A.STTP'
                        || '    WHERE SSTYB.YS = ''' || COLUMN_NAME || ''' AND SSTYB.TB_ID IN(SELECT ID FROM ST_TB_B WHERE TB = ''' || TABLE_NAME || ''')'
                        || ') S ON (T.STCD = S.STCD AND T.STTP_TB_YS_B_ID = S.STTP_TB_YS_B_ID)'
                        ||' WHEN NOT MATCHED THEN'
                        ||' INSERT (ID, STCD, STTP_TB_YS_B_ID, IS_SHOW, ORDER_INDEX, DESCRIPTION, RECORD_USER)'
                        ||' VALUES (MD5_36(S.STCD || S.STTP_TB_YS_B_ID), S.STCD, S.STTP_TB_YS_B_ID, S.IS_SHOW, S.ORDER_INDEX, S.DESCRIPTION, ''A62AB110-D4EC-FF3E-F293-140AB60CAE61'')'
                        ||' WHEN MATCHED THEN UPDATE SET'
                        ||' T.ORDER_INDEX = CASE WHEN T.ORDER_INDEX IS NOT NULL THEN T.ORDER_INDEX ELSE S.ORDER_INDEX END,'
                        ||' T.DESCRIPTION = S.DESCRIPTION,'
                        ||' T.IS_SHOW = S.IS_SHOW,'
                        ||' T.IS_DELETED = CASE WHEN S.IS_SHOW = 1 THEN 0 ELSE 1 END'
                        || '' AS SQLSTR
                 FROM ( SELECT *
                        FROM V_TAB_META
                        --WHERE TABLE_NAME IN('SD_WQ_R')
                        WHERE TABLE_NAME IN (IN_TABLE)
                          AND V_INNER_EXCLUDE_COLS NOT LIKE '%,' || COLUMN_NAME || ',%' ) A )
        LOOP
            V_SQL := CUR.SQLSTR;
            IF IN_LOG = 1 THEN
                DBMS_OUTPUT.PUT_LINE(REPLACE(REPLACE(REPLACE(V_SQL, CHR(13), ''), CHR(10), ''), CHR(9), '') || ';');
            END IF;
            IF INSTR(V_SQL, '--忽略') <= 0 THEN EXECUTE IMMEDIATE V_SQL; END IF;
        END LOOP;
END;
/

-- ----------------------------
-- Primary Key structure for table DEL_SD_DQECDAY_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SD_DQECDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DEL_SD_DQECDAY_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SYS_C0016243" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SYS_C0016244" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SYS_C0016245" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SYS_C0016246" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDAY_S" ADD CONSTRAINT "SYS_C0016247" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DEL_SD_DQECDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_DQECDAY_S_I_DT"
  ON "QGC"."DEL_SD_DQECDAY_S" ("DT" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_DQECDAY_S_I_STCD"
  ON "QGC"."DEL_SD_DQECDAY_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DEL_SD_DQECDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SD_DQECDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DEL_SD_DQECDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016248" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016249" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016250" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016251" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016252" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_DQECDRTP_S" ADD CONSTRAINT "SYS_C0016253" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DEL_SD_DQECDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_DQECDRTP_S_I_STCD"
  ON "QGC"."DEL_SD_DQECDRTP_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DEL_SD_ENGFRDET_R
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SD_ENGFBRD_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DEL_SD_ENGFRDET_R
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016841" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016842" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016843" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016844" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016845" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016846" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_ENGFRDET_R" ADD CONSTRAINT "SYS_C0016847" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DEL_SD_ENGFRDET_R
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGFBRD_R_I_STCD"
  ON "QGC"."DEL_SD_ENGFRDET_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_ENGFBRD_R_I_TM"
  ON "QGC"."DEL_SD_ENGFRDET_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DEL_SD_RPREEFISHDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SD_RPREEFISHDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DEL_SD_RPREEFISHDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017274" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017275" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017276" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017277" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017278" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017279" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017280" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017281" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISHDRTP_S" ADD CONSTRAINT "SYS_C0017282" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table DEL_SD_RPREEFISH_R
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SD_RPREEFISH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DEL_SD_RPREEFISH_R
-- ----------------------------
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016821" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016822" CHECK ("RPREE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016823" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016824" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016825" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016826" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DEL_SD_RPREEFISH_R" ADD CONSTRAINT "SYS_C0016827" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_AREA
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C0032727" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C0032728" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C0032729" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C0032730" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C0032731" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C00416926" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C00416929" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C00416931" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C00416934" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_AREA" ADD CONSTRAINT "SYS_C00416937" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_BUTTON
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "CONS134333440" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_BUTTON
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C0032740" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C0032741" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C0032742" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C0032743" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C0032744" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C00428828" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C00428829" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C00428830" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C00428831" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_BUTTON" ADD CONSTRAINT "SYS_C00428832" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_COLUMN_MODEL
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C0032737" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C0032738" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C0032739" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C00416927" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C00416932" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_COLUMN_MODEL" ADD CONSTRAINT "SYS_C00416935" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_CONTENT_GROUP
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C0032759" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C0032760" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C0032761" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C0032762" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C0032763" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C00416925" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C00416928" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C00416930" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C00416933" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_CONTENT_GROUP" ADD CONSTRAINT "SYS_C00416936" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_EXCEL_RECORD
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C0032754" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C0032755" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C0032756" CHECK ("FORM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C0032757" CHECK ("OPER_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C0032758" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C00416942" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C00416943" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C00416944" CHECK ("FORM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C00416945" CHECK ("OPER_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_EXCEL_RECORD" ADD CONSTRAINT "SYS_C00416946" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_FIELD_RELATION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C0032780" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C0032781" CHECK ("MAIN_DETAIL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C0032782" CHECK ("MAIN_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C0032783" CHECK ("DETAIL_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C00416938" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C00416939" CHECK ("MAIN_DETAIL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C00416940" CHECK ("MAIN_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FIELD_RELATION" ADD CONSTRAINT "SYS_C00416941" CHECK ("DETAIL_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_FORM_INFO
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032774" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032775" CHECK ("FORM_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032776" CHECK ("FORM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032777" CHECK ("TABLE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032778" CHECK ("FORM_ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C0032779" CHECK ("ENABLE_CHILD_STORAGE_EMPTY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00416947" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00416948" CHECK ("FORM_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00416949" CHECK ("FORM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00416950" CHECK ("TABLE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00416951" CHECK ("FORM_ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_INFO" ADD CONSTRAINT "SYS_C00418585" CHECK ("ENABLE_CHILD_STORAGE_EMPTY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_FORM_RELATION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C0032804" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C0032805" CHECK ("MAIN_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C0032806" CHECK ("DETAIL_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C0032807" CHECK ("RELATION_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C00416952" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C00416953" CHECK ("MAIN_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C00416954" CHECK ("DETAIL_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_FORM_RELATION" ADD CONSTRAINT "SYS_C00416955" CHECK ("RELATION_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_IMPORT_BATCH
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032794" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032795" CHECK ("TEMPLATE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032796" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032797" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032798" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C0032799" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416960" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416961" CHECK ("TEMPLATE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416962" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416963" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416964" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_IMPORT_BATCH" ADD CONSTRAINT "SYS_C00416965" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_KEY_RELATION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C0032800" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C0032801" CHECK ("MAIN_DETAIL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C0032802" CHECK ("MAIN_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C0032803" CHECK ("DETAIL_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C00416956" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C00416957" CHECK ("MAIN_DETAIL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C00416958" CHECK ("MAIN_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_KEY_RELATION" ADD CONSTRAINT "SYS_C00416959" CHECK ("DETAIL_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_MODEL
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C0032830" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C0032831" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C0032832" CHECK ("FIELD_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C0032833" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C0032834" CHECK ("FIELD_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C00340149" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C00340150" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C00340151" CHECK ("FIELD_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C00340152" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL" ADD CONSTRAINT "SYS_C00340153" CHECK ("FIELD_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_MODEL
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_MODEL_U1"
  ON "QGC"."DYNAMIC_TABLE_MODEL" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_MODEL_VERSION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C00357499" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_MODEL_VERSION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C0032835" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C0032836" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C0032837" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C00341512" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C00341513" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MODEL_VERSION" ADD CONSTRAINT "SYS_C00341514" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_MULTI_ADD
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" ADD CONSTRAINT "SYS_C00341641" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_MULTI_ADD
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" ADD CONSTRAINT "SYS_C0032847" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" ADD CONSTRAINT "SYS_C0032848" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" ADD CONSTRAINT "SYS_C00340103" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_MULTI_ADD" ADD CONSTRAINT "SYS_C00340104" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_MULTI_ADD
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_MULTI_ADD_U1"
  ON "QGC"."DYNAMIC_TABLE_MULTI_ADD" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_RELATION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C00357500" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_RELATION
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C0032849" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C0032850" CHECK ("MAIN_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C0032851" CHECK ("DETAIL_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C00340146" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C00340147" CHECK ("MAIN_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_RELATION" ADD CONSTRAINT "SYS_C00340148" CHECK ("DETAIL_FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_RELATION
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_RELATION_U1"
  ON "QGC"."DYNAMIC_TABLE_RELATION" ("MAIN_FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."DYNAMIC_TABLE_RELATION_U2"
  ON "QGC"."DYNAMIC_TABLE_RELATION" ("DETAIL_FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_TEMPLATE
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE" ADD CONSTRAINT "SYS_C00357501" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_TEMPLATE
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE" ADD CONSTRAINT "SYS_C0032859" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE" ADD CONSTRAINT "SYS_C00340145" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_TEMPLATE
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMPLATE_U1"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_TEMPLATE_COLUMN
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00357502" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_TEMPLATE_COLUMN
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032860" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032861" CHECK ("TEMPLATE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032862" CHECK ("SHEET_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032863" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032864" CHECK ("MODEL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032865" CHECK ("COLUMN_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032866" CHECK ("COLUMN_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032867" CHECK ("COLUMN_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C0032868" CHECK ("COLUMN_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340136" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340137" CHECK ("TEMPLATE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340138" CHECK ("SHEET_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340139" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340140" CHECK ("MODEL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340141" CHECK ("COLUMN_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340142" CHECK ("COLUMN_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340143" CHECK ("COLUMN_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ADD CONSTRAINT "SYS_C00340144" CHECK ("COLUMN_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_TEMPLATE_COLUMN
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_COLUMN_U1"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ("TEMPLATE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_COLUMN_U2"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_COLUMN_U3"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ("SHEET_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_COLUMN_U4"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_COLUMN" ("MODEL_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_TEMPLATE_SHEET
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" ADD CONSTRAINT "SYS_C00357503" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_TEMPLATE_SHEET
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" ADD CONSTRAINT "SYS_C0032869" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" ADD CONSTRAINT "SYS_C00340135" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_TEMPLATE_SHEET
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_SHEET_U1"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" ("TEMPLATE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."DYNAMIC_TABLE_TEMP_SHEET_U2"
  ON "QGC"."DYNAMIC_TABLE_TEMPLATE_SHEET" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_TABLE_UNIQUE_INDEX
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C00357504" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_TABLE_UNIQUE_INDEX
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C0032885" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C0032886" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C0032887" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C00340130" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C00340131" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ADD CONSTRAINT "SYS_C00340132" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table DYNAMIC_TABLE_UNIQUE_INDEX
-- ----------------------------
CREATE INDEX "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX_U1"
  ON "QGC"."DYNAMIC_TABLE_UNIQUE_INDEX" ("FORM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table DYNAMIC_UPDATE_SCRIPT
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_UPDATE_SCRIPT" ADD CONSTRAINT "SYS_C00354719" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table DYNAMIC_UPDATE_SCRIPT
-- ----------------------------
ALTER TABLE "QGC"."DYNAMIC_UPDATE_SCRIPT" ADD CONSTRAINT "SYS_C0032884" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."DYNAMIC_UPDATE_SCRIPT" ADD CONSTRAINT "SYS_C00354718" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table GEN_DATASOURCE_CONF
-- ----------------------------
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "GEN_DSC_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table GEN_DATASOURCE_CONF
-- ----------------------------
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016858" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016859" CHECK ("DRIVER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016860" CHECK ("URL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016861" CHECK ("USERNAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016862" CHECK ("PASSWORD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016863" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016864" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016865" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."GEN_DATASOURCE_CONF" ADD CONSTRAINT "SYS_C0016866" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ABNMONITOR_R
-- ----------------------------
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0018937" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_ABNMONITOR_R
-- ----------------------------
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "MS_ABNMONITOR_R_PK" UNIQUE ("STTP_CODE", "STCD", "DT") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_ABNMONITOR_R
-- ----------------------------
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016638" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016639" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016640" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016641" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016642" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "SYS_C0016643" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ALONGDET_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0019110" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ALONGDET_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0017720" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0017721" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0017722" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0017723" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0019106" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0019107" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0019108" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONGDET_B" ADD CONSTRAINT "SYS_C0019109" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_ALONGDET_B
-- ----------------------------
CREATE INDEX "QGC"."SD_ALONG_B_I_STCD"
  ON "QGC"."MS_ALONGDET_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_ALONG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019105" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ALONG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017713" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017714" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017715" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017716" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017717" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017718" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0017719" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019098" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019099" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019100" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019101" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019102" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019103" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ALONG_B" ADD CONSTRAINT "SYS_C0019104" CHECK ("ORDER_INDEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_ALONG_B
-- ----------------------------
CREATE INDEX "QGC"."MS_ALONG_B_I_CODE"
  ON "QGC"."MS_ALONG_B" ("CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_APPVERSION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "MS_APPVERSION_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_APPVERSION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017632" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017633" CHECK ("SYSTEM_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017634" CHECK ("APP_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017635" CHECK ("APP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017636" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017637" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_APPVERSION_B" ADD CONSTRAINT "SYS_C0017638" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ARCHIVING_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ARCHIVING_B" ADD CONSTRAINT "MS_ARCHIVING_B" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ARCHIVING_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ARCHIVING_B" ADD CONSTRAINT "SYS_C0017565" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ARCHIVING_B" ADD CONSTRAINT "SYS_C0017566" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ARCHIVING_B" ADD CONSTRAINT "SYS_C0017567" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ARCHIVING_B" ADD CONSTRAINT "SYS_C0017568" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_ARCHIVING_B
-- ----------------------------
CREATE INDEX "QGC"."MS_ARCHIVING_B_I_CODE"
  ON "QGC"."MS_ARCHIVING_B" ("NAME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_BUILDENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "MS_BUILDENVF_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_BUILDENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "SYS_C0017703" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "SYS_C0017704" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "SYS_C0017705" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "SYS_C0017706" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_COLUMNCFG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "MS_COLUMNCFG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_COLUMNCFG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017193" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017194" CHECK ("FUNCTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017195" CHECK ("COLUMN_CFG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017196" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017197" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017198" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_COLUMNCFG_B" ADD CONSTRAINT "SYS_C0017199" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ECOEVALUATDETAIL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ECOEVALUATDETAIL_B" ADD CONSTRAINT "MS_ECOEVALUATDETAIL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ECOEVALUATDETAIL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ECOEVALUATDETAIL_B" ADD CONSTRAINT "SYS_C0017707" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ECOEVALUATDETAIL_B" ADD CONSTRAINT "SYS_C0017708" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ECOEVALUATDETAIL_B" ADD CONSTRAINT "SYS_C0017709" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ECOEVALUATSCORED_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ECOEVALUATSCORED_B" ADD CONSTRAINT "MS_ECOEVALUATSCORED_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ECOEVALUATSCORED_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ECOEVALUATSCORED_B" ADD CONSTRAINT "SYS_C0017710" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ECOEVALUATSCORED_B" ADD CONSTRAINT "SYS_C0017711" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ECOEVALUATSCORED_B" ADD CONSTRAINT "SYS_C0017712" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_EIAAPPROVAL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_EIAAPPROVAL_B" ADD CONSTRAINT "SYS_C0042100" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_EIAAPPROVAL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_EIAAPPROVAL_B" ADD CONSTRAINT "SYS_C0042097" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_EIAAPPROVAL_B" ADD CONSTRAINT "SYS_C0042098" CHECK ("APPROVAL_FILE_NO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_EIAAPPROVAL_B" ADD CONSTRAINT "SYS_C0042099" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ENGDEPT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0019077" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ENGDEPT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0017686" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0017687" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0017688" CHECK ("DEPT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0017689" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "SYS_C0017690" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ENG_T
-- ----------------------------
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "MS_ENG_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ENG_T
-- ----------------------------
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016286" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016287" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016288" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016289" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016290" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENG_T" ADD CONSTRAINT "SYS_C0016291" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_ENG_T
-- ----------------------------
CREATE INDEX "QGC"."MS_ENG_T_I_TM"
  ON "QGC"."MS_ENG_T" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_ENG_T_S_I_STCD"
  ON "QGC"."MS_ENG_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_ENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "MS_ENVF_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "SYS_C0017699" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "SYS_C0017700" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "SYS_C0017701" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "SYS_C0017702" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ENVTZ_S
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "SYS_C0019004" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ENVTZ_S
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "SYS_C0017640" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "SYS_C0017641" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "SYS_C0017642" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "SYS_C0017643" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQIC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "MS_ETSQIC_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQIC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017398" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017399" CHECK ("STATION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017400" CHECK ("CATEGORY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017401" CHECK ("SITE_CHECK_SITUATION" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017402" CHECK ("SITE_CHECK_PHOTO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017403" CHECK ("SITE_SCORE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017404" CHECK ("SORT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017405" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017406" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017407" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIC_B" ADD CONSTRAINT "SYS_C0017408" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQIOR_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "MS_ETSQIOR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQIOR_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "SYS_C0017371" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "SYS_C0017372" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "SYS_C0017373" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "SYS_C0017374" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQIQUEO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "MS_ETSQIQUEO_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_ETSQIQUEO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "MS_ETSQIQUEO_B_UK" UNIQUE ("SEIR_ID", "SEQQB_ID", "SEQOB_ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_ETSQIQUEO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017364" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017365" CHECK ("SEIR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017366" CHECK ("SEQOB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017367" CHECK ("QUESTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017368" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017369" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUEO_B" ADD CONSTRAINT "SYS_C0017370" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQIQUE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "MS_ETSQIQUE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQIQUE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017409" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017410" CHECK ("SEQB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017411" CHECK ("QUESTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017412" CHECK ("CATEGORY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017413" CHECK ("SORT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017414" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017415" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017416" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIQUE_B" ADD CONSTRAINT "SYS_C0017417" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQIRESULT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "MS_ETSQIRESULT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQIRESULT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017355" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017356" CHECK ("STATION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017357" CHECK ("SEQB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017358" CHECK ("INSPECTION_BY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017359" CHECK ("INSPECTION_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017360" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017361" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017362" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQIRESULT_B" ADD CONSTRAINT "SYS_C0017363" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQI_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "MS_ETSQI_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_ETSQI_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "MS_ETSQI_B_UK" UNIQUE ("TYPE", "STTP", "STCD", "DT") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_ETSQI_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017418" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017419" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017420" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017421" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017422" CHECK ("BLPRD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017423" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017424" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017425" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017426" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "SYS_C0017427" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQUEC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "MS_ETSQUEC_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_ETSQUEC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "MS_ETSQUEC_B_UK" UNIQUE ("PID", "TYPE", "NAME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_ETSQUEC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017375" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017376" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017377" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017378" CHECK ("PID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017379" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017380" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEC_B" ADD CONSTRAINT "SYS_C0017381" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQUEO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "MS_ETSQUEO_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQUEO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017391" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017392" CHECK ("QUESTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017393" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017394" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017395" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017396" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUEO_B" ADD CONSTRAINT "SYS_C0017397" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ETSQUE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "MS_ETSQUE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ETSQUE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017382" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017383" CHECK ("CATEGORY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017384" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017385" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017386" CHECK ("SCORE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017387" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017388" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017389" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ETSQUE_B" ADD CONSTRAINT "SYS_C0017390" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_GLOBALSC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_GLOBALSC_B" ADD CONSTRAINT "MS_GLOBALSC_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_GLOBALSC_B
-- ----------------------------
ALTER TABLE "QGC"."MS_GLOBALSC_B" ADD CONSTRAINT "SYS_C0017189" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_GLOBALSC_B" ADD CONSTRAINT "SYS_C0017190" CHECK ("SYSTEM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_GLOBALSC_B" ADD CONSTRAINT "SYS_C0017191" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_GLOBALSC_B" ADD CONSTRAINT "SYS_C0017192" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBGZKH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBGZKH_B" ADD CONSTRAINT "MS_HBGZKH_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBGZKH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBGZKH_B" ADD CONSTRAINT "SYS_C0017613" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBGZKH_B" ADD CONSTRAINT "SYS_C0017614" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBGZKH_B" ADD CONSTRAINT "SYS_C0017615" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBJS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "MS_HBJS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBJS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "SYS_C0017695" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "SYS_C0017696" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "SYS_C0017697" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "SYS_C0017698" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBPCZZ_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "MS_HBPCZZ_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBPCZZ_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "SYS_C0017569" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "SYS_C0017570" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "SYS_C0017571" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "SYS_C0017572" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBRISK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "MS_HBRISK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBRISK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017573" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017574" CHECK ("QY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017575" CHECK ("FXDJ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017576" CHECK ("GKCJ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017577" CHECK ("ZRBM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017578" CHECK ("ZRR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017579" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "SYS_C0017580" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBYH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "MS_HBYH_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBYH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017581" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017582" CHECK ("YHNR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017583" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017584" CHECK ("STLC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017585" CHECK ("YHUSER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017586" CHECK ("ZGBM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017587" CHECK ("ZGUSER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017588" CHECK ("YHDJ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017589" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "SYS_C0017590" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBYS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "MS_HBYS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBYS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "SYS_C0017591" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "SYS_C0017592" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "SYS_C0017593" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "SYS_C0017594" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_HBZB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "MS_HBZB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_HBZB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "SYS_C0017595" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "SYS_C0017596" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "SYS_C0017597" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "SYS_C0017598" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_ICON_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "MS_ICON_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_ICON_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "MS_ICON_B_UK" UNIQUE ("CODE", "ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_ICON_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018444" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018445" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018446" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018447" CHECK ("ICON_BASE64" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018448" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018449" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018450" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018451" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ICON_B" ADD CONSTRAINT "SYS_C0018452" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_INLIST_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "MS_INLIST_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_INLIST_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "SYS_C0017254" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "SYS_C0017255" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "SYS_C0017256" CHECK ("CLASSIFY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "SYS_C0017257" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INLIST_B" ADD CONSTRAINT "SYS_C0017258" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_INRECORD_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "MS_INRECORD_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_INRECORD_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017247" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017248" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017249" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017250" CHECK ("CONDITION" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017251" CHECK ("CLASSIFY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017252" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "SYS_C0017253" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_INTASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "MS_INTASK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_INTASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017241" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017242" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017243" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017244" CHECK ("START_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017245" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "SYS_C0017246" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_LASTDATA_T
-- ----------------------------
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "MS_LASTDATA_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_LASTDATA_T
-- ----------------------------
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "SYS_C0017123" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "SYS_C0017124" CHECK ("R_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "SYS_C0017125" CHECK ("TB_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "SYS_C0017126" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LASTDATA_T" ADD CONSTRAINT "SYS_C0017127" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_LASTDATA_T
-- ----------------------------
CREATE INDEX "QGC"."MS_LASTDATA_T_I_R_ID"
  ON "QGC"."MS_LASTDATA_T" ("R_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_LASTDATA_T_I_TB_CODE"
  ON "QGC"."MS_LASTDATA_T" ("TB_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_LYSXJGX_B
-- ----------------------------
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "MS_LYSXJGX_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_LYSXJGX_B
-- ----------------------------
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "SYS_C0017128" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "SYS_C0017129" CHECK ("LYSD_RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "SYS_C0017130" CHECK ("QGC_RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "SYS_C0017131" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_LYSXJGX_B" ADD CONSTRAINT "SYS_C0017132" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_LYSXJGX_B
-- ----------------------------
CREATE INDEX "QGC"."MS_LYSXJGX_B_I_LYSD_RVCD"
  ON "QGC"."MS_LYSXJGX_B" ("LYSD_RVCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_LYSXJGX_B_I_QGC_RVCD"
  ON "QGC"."MS_LYSXJGX_B" ("QGC_RVCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_MAPENG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "MS_MAPENG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPENG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017177" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017178" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017179" CHECK ("RES_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017180" CHECK ("RES_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017181" CHECK ("CHILD_NODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017182" CHECK ("MULTI_SELECT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017183" CHECK ("CAN_BE_CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017184" CHECK ("CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017185" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017186" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017187" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPENG_B" ADD CONSTRAINT "SYS_C0017188" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_MAPENG_B
-- ----------------------------
CREATE INDEX "QGC"."MS_MAPENG_B_I_STCD"
  ON "QGC"."MS_MAPENG_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_MAPLAYER_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "MS_MAPLAYER_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPLAYER_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017651" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017652" CHECK ("TITLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017653" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017654" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017655" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017656" CHECK ("CHECKABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017657" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017658" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017659" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLAYER_B" ADD CONSTRAINT "SYS_C0017660" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_MAPLAYER_B
-- ----------------------------
CREATE INDEX "QGC"."MS_MAPLAYER_B_I_PARENT_ID"
  ON "QGC"."MS_MAPLAYER_B" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_MAPLEGEND_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "MS_MAPLEGEND_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPLEGEND_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017673" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017674" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017675" CHECK ("NAME_EN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017676" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017677" CHECK ("GROUP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017678" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017679" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017680" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017681" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPLEGEND_B" ADD CONSTRAINT "SYS_C0017682" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_MAPMODULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "MS_MAPMODULE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPMODULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017006" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017007" CHECK ("MODULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017008" CHECK ("RES_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017009" CHECK ("RES_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017010" CHECK ("CHILD_NODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017011" CHECK ("MULTI_SELECT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017012" CHECK ("CAN_BE_CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017013" CHECK ("CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017014" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017015" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017016" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPMODULE_B" ADD CONSTRAINT "SYS_C0017017" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_MAPTOOLBOX_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "MS_MAPTOOLBOX_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPTOOLBOX_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017661" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017662" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017663" CHECK ("NAME_EN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017664" CHECK ("MAP_MODEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017665" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017666" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017667" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017668" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017669" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017670" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017671" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPTOOLBOX_B" ADD CONSTRAINT "SYS_C0017672" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_MAPURL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "MS_MAPURL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_MAPURL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0016998" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0016999" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017000" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017001" CHECK ("URL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017002" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017003" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017004" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_MAPURL_B" ADD CONSTRAINT "SYS_C0017005" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OPERATION_LOG
-- ----------------------------
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043840" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OPERATION_LOG
-- ----------------------------
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043834" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043835" CHECK ("USER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043836" CHECK ("OPERATION_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043837" CHECK ("OPERATION_STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043838" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OPERATION_LOG" ADD CONSTRAINT "SYS_C0043839" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_OPERATION_LOG
-- ----------------------------
CREATE INDEX "QGC"."IDX_OPT_LOG_DELETED_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("IS_DELETED" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_LOGTYPE_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("LOG_TYPE" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_MODULE_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("MODULE" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_STATUS_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("OPERATION_STATUS" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_TYPE_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("OPERATION_TYPE" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."IDX_OPT_LOG_USER_TIME"
  ON "QGC"."MS_OPERATION_LOG" ("USER_ID" ASC, "RECORD_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_OUTENVINFO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTENVINFO_B" ADD CONSTRAINT "MS_OUTENVINFO_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTENVINFO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTENVINFO_B" ADD CONSTRAINT "SYS_C0017225" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTENVINFO_B" ADD CONSTRAINT "SYS_C0017226" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTENVINFO_B" ADD CONSTRAINT "SYS_C0017227" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTENVINFO_B" ADD CONSTRAINT "SYS_C0017228" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OUTLOOK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTLOOK_B" ADD CONSTRAINT "MS_OUTLOOK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTLOOK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTLOOK_B" ADD CONSTRAINT "SYS_C0017221" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTLOOK_B" ADD CONSTRAINT "SYS_C0017222" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTLOOK_B" ADD CONSTRAINT "SYS_C0017223" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTLOOK_B" ADD CONSTRAINT "SYS_C0017224" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OUTNOTFILL_R
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTNOTFILL_R" ADD CONSTRAINT "MS_OUTNOTFILL_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTNOTFILL_R
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTNOTFILL_R" ADD CONSTRAINT "SYS_C0016618" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTNOTFILL_R" ADD CONSTRAINT "SYS_C0016619" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTNOTFILL_R" ADD CONSTRAINT "SYS_C0016620" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OUTREPORT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "MS_OUTREPORT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTREPORT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017233" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017234" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017235" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017236" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017237" CHECK ("CONTENT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017238" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017239" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTREPORT_B" ADD CONSTRAINT "SYS_C0017240" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OUTTASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "MS_OUTTASK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTTASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017295" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017296" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017297" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017298" CHECK ("PERSON_IN_CHARGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017299" CHECK ("COMPANY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017300" CHECK ("PARENT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017301" CHECK ("DESCRIBE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017302" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017303" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTTASK_B" ADD CONSTRAINT "SYS_C0017304" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_OUTUSER_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTUSER_B" ADD CONSTRAINT "MS_OUTUSER_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_OUTUSER_B
-- ----------------------------
ALTER TABLE "QGC"."MS_OUTUSER_B" ADD CONSTRAINT "SYS_C0017229" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTUSER_B" ADD CONSTRAINT "SYS_C0017230" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTUSER_B" ADD CONSTRAINT "SYS_C0017231" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_OUTUSER_B" ADD CONSTRAINT "SYS_C0017232" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PPBCLTAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPBCLTAG_B" ADD CONSTRAINT "MS_PPBCLTAG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PPBCLTAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPBCLTAG_B" ADD CONSTRAINT "SYS_C0017620" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCLTAG_B" ADD CONSTRAINT "SYS_C0017621" CHECK ("TAG_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCLTAG_B" ADD CONSTRAINT "SYS_C0017622" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCLTAG_B" ADD CONSTRAINT "SYS_C0017623" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PPBCL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "MS_PPBCL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PPBCL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018484" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018485" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018486" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018487" CHECK ("USETYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018488" CHECK ("REMARK" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018489" CHECK ("EXAMPLEIMG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018490" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPBCL_B" ADD CONSTRAINT "SYS_C0018491" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PPLAYOUT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "MS_PPLAYOUT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PPLAYOUT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018492" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018493" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018494" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018495" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018496" CHECK ("REMARK" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018497" CHECK ("EXAMPLEIMG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018498" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPLAYOUT_B" ADD CONSTRAINT "SYS_C0018499" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PPMODULELB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "MS_PPMODULELB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PPMODULELB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018500" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018501" CHECK ("MODULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018502" CHECK ("LAYOUT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018503" CHECK ("BCL_DATA" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018504" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PPMODULELB_B" ADD CONSTRAINT "SYS_C0018505" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PROJECT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "MS_PROJECT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PROJECT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "SYS_C0017775" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "SYS_C0017776" CHECK ("TITLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "SYS_C0017777" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "SYS_C0017778" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PROJECT_B" ADD CONSTRAINT "SYS_C0017779" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PSBMODULELB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "MS_PSBMODULELB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PSBMODULELB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018453" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018454" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018455" CHECK ("LAYOUT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018456" CHECK ("BCL_DATA" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018457" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PSBMODULELB_B" ADD CONSTRAINT "SYS_C0018458" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PUSH_HISTORY_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "MS_PUSH_HISTORY_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_HISTORY_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017755" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017756" CHECK ("PUSH_INFO_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017757" CHECK ("PUSH_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017758" CHECK ("PUSH_STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017759" CHECK ("PUSH_WAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017760" CHECK ("PUSH_SOURCE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_HISTORY_B" ADD CONSTRAINT "SYS_C0017761" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PUSH_INFO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "MS_PUSH_INFO_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_INFO_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017739" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017740" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017741" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017742" CHECK ("PERMISSION_CONFIG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017743" CHECK ("IS_SYSTEM_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017744" CHECK ("IS_NOTE_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017745" CHECK ("IS_APP_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017746" CHECK ("IS_MAIL_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017747" CHECK ("IS_JIGUANG_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017748" CHECK ("IS_THIRD_PUSH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017749" CHECK ("EFFECTIVE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017750" CHECK ("NON_ETTM_PUSH_STRATEGY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017751" CHECK ("TASK_CYCLE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017752" CHECK ("JOB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017753" CHECK ("SUCCEED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_INFO_B" ADD CONSTRAINT "SYS_C0017754" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PUSH_PERMISSION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "MS_PUSH_PERMISSION_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_PERMISSION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "SYS_C0017768" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "SYS_C0017769" CHECK ("PUSH_INFO_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "SYS_C0017770" CHECK ("PUSH_WAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "SYS_C0017771" CHECK ("PERMISSION_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_PERMISSION_B" ADD CONSTRAINT "SYS_C0017772" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PUSH_RULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_RULE_B" ADD CONSTRAINT "MS_PUSH_RULE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_RULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_RULE_B" ADD CONSTRAINT "SYS_C0017773" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_RULE_B" ADD CONSTRAINT "SYS_C0017774" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_PUSH_TARGET_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "MS_PUSH_TARGET_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_TARGET_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017762" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017763" CHECK ("HISTORY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017764" CHECK ("USER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017765" CHECK ("PUSH_STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017766" CHECK ("IS_READ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TARGET_B" ADD CONSTRAINT "SYS_C0017767" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_PUSH_TARGET_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."MS_PUSH_TARGET_B_UK"
  ON "QGC"."MS_PUSH_TARGET_B" ("HISTORY_ID" ASC, "USER_ID" ASC, "IS_DELETED" ASC, "ISOLATE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_PUSH_TYPE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_TYPE_B" ADD CONSTRAINT "MS_PUSH_TYPE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_PUSH_TYPE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_PUSH_TYPE_B" ADD CONSTRAINT "SYS_C0017735" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TYPE_B" ADD CONSTRAINT "SYS_C0017736" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TYPE_B" ADD CONSTRAINT "SYS_C0017737" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_PUSH_TYPE_B" ADD CONSTRAINT "SYS_C0017738" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_REPLACE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "MS_REPLACE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_REPLACE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "SYS_C0017691" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "SYS_C0017692" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "SYS_C0017693" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "SYS_C0017694" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_REPORT_CHART_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "MS_REPORT_CHART_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_REPORT_CHART_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "SYS_C0018479" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "SYS_C0018480" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "SYS_C0018481" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "SYS_C0018482" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_CHART_B" ADD CONSTRAINT "SYS_C0018483" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_REPORT_METRICS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "MS_REPORT_METRICS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_REPORT_METRICS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017558" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017559" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017560" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017561" CHECK ("METRICS_EN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017562" CHECK ("METRICS_CN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017563" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_METRICS_B" ADD CONSTRAINT "SYS_C0017564" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_REPORT_TASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "MS_REPORT_TASK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_REPORT_TASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018473" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018474" CHECK ("TASK_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018475" CHECK ("DATA_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018476" CHECK ("EXPORT_STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018477" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TASK_B" ADD CONSTRAINT "SYS_C0018478" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_REPORT_TEMPLATE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_TEMPLATE_B" ADD CONSTRAINT "MS_REPORT_TEMPLATE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_REPORT_TEMPLATE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPORT_TEMPLATE_B" ADD CONSTRAINT "SYS_C0018469" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TEMPLATE_B" ADD CONSTRAINT "SYS_C0018470" CHECK ("TEMPLATE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TEMPLATE_B" ADD CONSTRAINT "SYS_C0018471" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_REPORT_TEMPLATE_B" ADD CONSTRAINT "SYS_C0018472" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RIVERCS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "MS_RIVERCS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RIVERCS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017525" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017526" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017527" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017528" CHECK ("STANDARD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017529" CHECK ("B_STANDARD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017530" CHECK ("SM_STANDARD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017531" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RIVERCS_B" ADD CONSTRAINT "SYS_C0017532" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_RIVERCS_B
-- ----------------------------
CREATE INDEX "QGC"."MS_RIVERCS_B_I_CODE"
  ON "QGC"."MS_RIVERCS_B" ("CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_ROTATION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "MS_ROTATION_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_ROTATION_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017171" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017172" CHECK ("MENU_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017173" CHECK ("FID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017174" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017175" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ROTATION_B" ADD CONSTRAINT "SYS_C0017176" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RULEDEPTU_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEDEPTU_B" ADD CONSTRAINT "MS_RULEDEPTU_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RULEDEPTU_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEDEPTU_B" ADD CONSTRAINT "SYS_C0017683" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEDEPTU_B" ADD CONSTRAINT "SYS_C0017684" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEDEPTU_B" ADD CONSTRAINT "SYS_C0017685" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RULEFILL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "MS_RULEFILL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RULEFILL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017345" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017346" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017347" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017348" CHECK ("DATA_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017349" CHECK ("ENTRY_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017350" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "SYS_C0017351" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RULEFORM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "MS_RULEFORM_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RULEFORM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017338" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017339" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017340" CHECK ("FORM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017341" CHECK ("FORM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017342" CHECK ("DATE_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017343" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULEFORM_B" ADD CONSTRAINT "SYS_C0017344" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RULESMS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULESMS_B" ADD CONSTRAINT "MS_RULESMS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RULESMS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULESMS_B" ADD CONSTRAINT "SYS_C0017352" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULESMS_B" ADD CONSTRAINT "SYS_C0017353" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULESMS_B" ADD CONSTRAINT "SYS_C0017354" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_RULETASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "MS_RULETASK_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_RULETASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017331" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017332" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017333" CHECK ("DATA_REPORT_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017334" CHECK ("DATA_OCCURRENCE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017335" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017336" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "SYS_C0017337" CHECK ("DEADLINE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SBGZSTAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "MS_SBGZSTAT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_SBGZSTAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "MS_SBGZSTAT_B_UK" UNIQUE ("STCD", "TM") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_SBGZSTAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "SYS_C0021558" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "SYS_C0021559" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "SYS_C0021560" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B" ADD CONSTRAINT "SYS_C0021561" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SBGZSTAT_B_240905
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021550" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SBGZSTAT_B_240905
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021540" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021541" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021542" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021543" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021544" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021545" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021546" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021547" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021548" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZSTAT_B_240905" ADD CONSTRAINT "SYS_C0021549" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SBGZ_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0018939" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_SBGZ_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "MS_SBGZ_R_PK" UNIQUE ("STCD", "STM") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_SBGZ_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0016644" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0016645" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0016646" CHECK ("STM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0016647" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "SYS_C0016648" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SMS_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "MS_SMS_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SMS_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "SYS_C0017305" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "SYS_C0017306" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "SYS_C0017307" CHECK ("STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "SYS_C0017308" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SMS_R" ADD CONSTRAINT "SYS_C0017309" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SPECANIMALS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SPECANIMALS_B" ADD CONSTRAINT "MS_SPECANIMALS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SPECANIMALS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SPECANIMALS_B" ADD CONSTRAINT "SYS_C0017911" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SPECANIMALS_B" ADD CONSTRAINT "SYS_C0017912" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SPECANIMALS_B" ADD CONSTRAINT "SYS_C0017913" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "MS_STBPRP_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "MS_STBPRP_T_UK" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017102" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017103" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017104" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017105" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017106" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017107" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017108" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017109" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017110" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017111" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T" ADD CONSTRAINT "SYS_C0017112" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_STBPRP_T
-- ----------------------------
CREATE INDEX "QGC"."MS_STBPRP_T_I_BLPRD_CCODE"
  ON "QGC"."MS_STBPRP_T" ("BLPRD_CCODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_BLPRD_CODE"
  ON "QGC"."MS_STBPRP_T" ("BLPRD_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_BLPRD_ID"
  ON "QGC"."MS_STBPRP_T" ("BLPRD_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_MWAY"
  ON "QGC"."MS_STBPRP_T" ("MWAY" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_STTP"
  ON "QGC"."MS_STBPRP_T" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_STTP_CODE"
  ON "QGC"."MS_STBPRP_T" ("STTP_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_STBPRP_T_I_USFL"
  ON "QGC"."MS_STBPRP_T" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240426_ENG_XYX
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018649" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240426_ENG_XYX
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018650" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240426_ENG_XYX
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017900" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017901" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017902" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017903" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017904" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017905" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017906" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017907" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017908" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017909" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0017910" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018623" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018644" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018645" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018646" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018647" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0018648" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019026" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019027" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019028" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019029" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019030" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019031" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019032" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019033" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019034" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019035" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019036" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019037" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019038" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019039" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019040" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240426_ENG_XYX" ADD CONSTRAINT "SYS_C0019041" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240520SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017958" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017959" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017960" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017961" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017962" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017963" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017964" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017965" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017966" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017967" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240520SP" ADD CONSTRAINT "SYS_C0017968" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240524SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019096" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240524SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019097" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240524SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017969" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017970" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017971" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017972" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017973" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017974" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017975" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017976" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017977" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017978" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0017979" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019085" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019086" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019087" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019088" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019089" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019090" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019091" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019092" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019093" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019094" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240524SP" ADD CONSTRAINT "SYS_C0019095" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240530SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019294" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240530SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019295" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240530SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017993" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017994" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017995" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017996" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017997" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017998" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0017999" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0018000" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0018001" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0018002" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0018003" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019283" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019284" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019285" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019286" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019287" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019288" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019289" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019290" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019291" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019292" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240530SP" ADD CONSTRAINT "SYS_C0019293" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240603SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019307" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240603SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019308" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240603SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018004" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018005" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018006" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018007" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018008" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018009" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018010" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018011" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018012" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018013" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0018014" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019296" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019297" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019298" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019299" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019300" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019301" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019302" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019303" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019304" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019305" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240603SP" ADD CONSTRAINT "SYS_C0019306" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_2406050853SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019373" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_2406050853SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019374" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_2406050853SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018063" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018064" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018065" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018066" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018067" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018068" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018069" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018070" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018071" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018072" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0018073" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019361" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019363" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019364" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019365" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019366" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019367" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019368" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019369" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019370" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019371" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406050853SP" ADD CONSTRAINT "SYS_C0019372" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_2406061105SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019417" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_2406061105SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019418" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_2406061105SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018100" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018101" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018102" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018103" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018104" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018105" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018106" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018107" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018108" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018109" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0018110" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019406" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019407" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019408" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019409" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019410" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019411" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019412" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019413" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019414" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019415" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_2406061105SP" ADD CONSTRAINT "SYS_C0019416" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019430" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019431" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018111" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018112" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018113" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018114" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018115" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018116" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018117" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018118" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018119" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018120" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0018121" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019419" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019420" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019421" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019422" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019423" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019424" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019425" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019426" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019427" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019428" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240611SP" ADD CONSTRAINT "SYS_C0019429" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240715
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018613" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240715
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018614" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240715
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018268" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018269" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018270" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018271" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018272" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018273" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018274" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018275" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018276" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018277" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018278" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018601" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018602" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018603" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018604" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018605" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018607" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018608" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018609" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018610" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018611" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240715" ADD CONSTRAINT "SYS_C0018612" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240719
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019122" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240719
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019123" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240719
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018285" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018286" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018287" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018288" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018289" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018290" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018291" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018292" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018293" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018294" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0018295" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019111" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019112" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019113" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019114" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019115" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019116" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019117" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019118" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019119" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019120" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240719" ADD CONSTRAINT "SYS_C0019121" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240726
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019484" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240726
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019485" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240726
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018375" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018376" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018377" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018378" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018379" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018380" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018381" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018382" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018383" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018384" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0018385" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019473" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019474" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019475" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019476" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019477" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019478" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019479" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019480" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019481" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019482" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240726" ADD CONSTRAINT "SYS_C0019483" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019517" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019518" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018403" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018404" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018405" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018406" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018407" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018408" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018409" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018410" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018411" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018412" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0018413" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019506" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019507" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019508" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019509" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019510" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019511" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019512" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019513" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019514" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019515" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240806SP" ADD CONSTRAINT "SYS_C0019516" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STBPRP_T_240821
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020961" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_STBPRP_T_240821
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020962" UNIQUE ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_240821
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020939" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020940" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020941" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020942" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020943" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020944" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020945" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020946" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020947" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020948" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020949" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020950" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020951" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020952" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020953" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020954" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020955" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020956" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020957" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020958" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020959" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_240821" ADD CONSTRAINT "SYS_C0020960" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_STBPRP_T_250704DZ
-- ----------------------------
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033165" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033166" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033167" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033168" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033169" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033170" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033171" CHECK ("STTP_FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033172" CHECK ("STTP_TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033173" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033174" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STBPRP_T_250704DZ" ADD CONSTRAINT "SYS_C0033175" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_STSTATE_T
-- ----------------------------
ALTER TABLE "QGC"."MS_STSTATE_T" ADD CONSTRAINT "MS_STSTATE_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_STSTATE_T
-- ----------------------------
ALTER TABLE "QGC"."MS_STSTATE_T" ADD CONSTRAINT "SYS_C0017113" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STSTATE_T" ADD CONSTRAINT "SYS_C0017114" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STSTATE_T" ADD CONSTRAINT "SYS_C0017116" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_STSTATE_T" ADD CONSTRAINT "SYS_C0017117" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_STSTATE_T
-- ----------------------------
CREATE INDEX "QGC"."MS_STSTATE_T_I_STCD"
  ON "QGC"."MS_STSTATE_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE UNIQUE INDEX "QGC"."MS_STSTATE_T_UI_STCD_YR"
  ON "QGC"."MS_STSTATE_T" ("STCD" ASC, "YR" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_SYNCFILE_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "MS_SYNCFILE_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYNCFILE_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018517" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018518" CHECK ("TABLE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018519" CHECK ("DATA_UK" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018520" CHECK ("FILE_COLUMN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018521" CHECK ("FILE_RELA_SITE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018522" CHECK ("IS_UPLOAD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018523" CHECK ("IS_SYNC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018524" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYNCFILE_R" ADD CONSTRAINT "SYS_C0018525" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_SYNCFILE_R
-- ----------------------------
CREATE INDEX "QGC"."MS_SYNCFILE_R_I_IS_SYNC"
  ON "QGC"."MS_SYNCFILE_R" ("IS_SYNC" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_SYNCFILE_R_I_IS_UPLOAD"
  ON "QGC"."MS_SYNCFILE_R" ("IS_UPLOAD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_SYNCFILE_R_I_TABLE_UK"
  ON "QGC"."MS_SYNCFILE_R" ("TABLE_NAME" ASC, "DATA_UK" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE UNIQUE INDEX "QGC"."MS_SYNCFILE_R_UK"
  ON "QGC"."MS_SYNCFILE_R" ("TABLE_NAME" ASC, "DATA_UK" ASC, "FILE_COLUMN" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_SYN_FIELDS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_FIELDS_B" ADD CONSTRAINT "MS_SYN_FIELDS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_FIELDS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_FIELDS_B" ADD CONSTRAINT "SYS_C0017793" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_FIELDS_B" ADD CONSTRAINT "SYS_C0017794" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYN_TASK_CONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "MS_SYN_TASK_CONFIG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_TASK_CONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017780" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017781" CHECK ("IS_AUTO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017782" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017783" CHECK ("JOB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017784" CHECK ("IS_SUCCEED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_CONFIG_B" ADD CONSTRAINT "SYS_C0017785" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYN_TASK_FIELD_COND_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "MS_SYN_TASK_FIELD_COND_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_TASK_FIELD_COND_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "SYS_C0017801" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "SYS_C0017802" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "SYS_C0017803" CHECK ("FIELD_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "SYS_C0017804" CHECK ("CONDITION_VAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_COND_B" ADD CONSTRAINT "SYS_C0017805" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYN_TASK_FIELD_CONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "MS_SYN_TASK_FIELD_CONFIG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_TASK_FIELD_CONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017795" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017796" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017797" CHECK ("FIELD_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017798" CHECK ("GOAL_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017799" CHECK ("DATA_SOURCE_FIELD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_FIELD_CONFIG_B" ADD CONSTRAINT "SYS_C0017800" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYN_TASK_RUN_LOG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" ADD CONSTRAINT "MS_SYN_TASK_RUN_LOG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_TASK_RUN_LOG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" ADD CONSTRAINT "SYS_C0017786" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" ADD CONSTRAINT "SYS_C0017787" CHECK ("IS_AUTO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TASK_RUN_LOG_B" ADD CONSTRAINT "SYS_C0017788" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYN_TB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TB_B" ADD CONSTRAINT "MS_SYN_TB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYN_TB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYN_TB_B" ADD CONSTRAINT "SYS_C0017789" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TB_B" ADD CONSTRAINT "SYS_C0017790" CHECK ("TB_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TB_B" ADD CONSTRAINT "SYS_C0017791" CHECK ("TB" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_SYN_TB_B" ADD CONSTRAINT "SYS_C0017792" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_SYSTEM_PARAMS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYSTEM_PARAMS_B" ADD CONSTRAINT "SYS_C0018984" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_SYSTEM_PARAMS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SYSTEM_PARAMS_B" ADD CONSTRAINT "SYS_C0017607" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TAGCONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TAGCONFIG_B" ADD CONSTRAINT "MS_TAGCONFIG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TAGCONFIG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TAGCONFIG_B" ADD CONSTRAINT "SYS_C0017624" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TAGCONFIG_B" ADD CONSTRAINT "SYS_C0017625" CHECK ("MODULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TAGCONFIG_B" ADD CONSTRAINT "SYS_C0017626" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TAGCONFIG_B" ADD CONSTRAINT "SYS_C0017627" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TAG_B" ADD CONSTRAINT "MS_USER_TAG_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TAG_B" ADD CONSTRAINT "SYS_C0017163" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TAG_B" ADD CONSTRAINT "SYS_C0017164" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TAG_B" ADD CONSTRAINT "SYS_C0017165" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TASK_R
-- ----------------------------
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "MS_TASK_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TASK_R
-- ----------------------------
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016621" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016622" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016623" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016624" CHECK ("PERSON_IN_CHARGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016625" CHECK ("COMPANY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016626" CHECK ("DEPT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016627" CHECK ("PARENT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016628" CHECK ("DESCRIBE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016629" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016630" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TASK_R" ADD CONSTRAINT "SYS_C0016631" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TCEVALUAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "MS_TCEVALUAT_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TCEVALUAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017644" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017645" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017646" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017647" CHECK ("QUAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017648" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "SYS_C0017649" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TEMPLATE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "MS_TEMPLATE_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TEMPLATE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017321" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017322" CHECK ("TEMPLATE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017323" CHECK ("MODULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017324" CHECK ("IS_DEFAULT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017325" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TEMPLATE_B" ADD CONSTRAINT "SYS_C0017326" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_TE_T
-- ----------------------------
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SD_TE_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_TE_T
-- ----------------------------
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016475" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016476" CHECK ("IMAGE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016477" CHECK ("DD_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016478" CHECK ("DD_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016479" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016480" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016481" CHECK ("AREA" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016482" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_TE_T" ADD CONSTRAINT "SYS_C0016483" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_THREEDROAMM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "MS_THREEDROAMM_B" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_THREEDROAMM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "SYS_C0017434" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "SYS_C0017435" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "SYS_C0017436" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "SYS_C0017437" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAMM_B" ADD CONSTRAINT "SYS_C0017438" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_THREEDROAMM_B
-- ----------------------------
CREATE INDEX "QGC"."MS_THREEDROAMM_B_I_CODE"
  ON "QGC"."MS_THREEDROAMM_B" ("CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_THREEDROAM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "MS_THREEDROAM_B" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_THREEDROAM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "SYS_C0017216" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "SYS_C0017217" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "SYS_C0017218" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "SYS_C0017219" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_THREEDROAM_B" ADD CONSTRAINT "SYS_C0017220" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_THREEDROAM_B
-- ----------------------------
CREATE INDEX "QGC"."MS_THREEDROAM_B_I_CODE"
  ON "QGC"."MS_THREEDROAM_B" ("CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_UOM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "MS_UOM_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_UOM_B
-- ----------------------------
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016867" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016868" CHECK ("UOM_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016869" CHECK ("UOM_SHOW_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016870" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016871" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_B" ADD CONSTRAINT "SYS_C0016872" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_UOM_TRANSFOR_B
-- ----------------------------
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "MS_UOMT_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_UOM_TRANSFOR_B
-- ----------------------------
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016873" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016874" CHECK ("SOURCE_UOM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016875" CHECK ("TARGET_UOM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016876" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016877" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_UOM_TRANSFOR_B" ADD CONSTRAINT "SYS_C0016878" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_UOM_TRANSFOR_B
-- ----------------------------
CREATE INDEX "QGC"."MS_UOMT_I_SUOM_ID"
  ON "QGC"."MS_UOM_TRANSFOR_B" ("SOURCE_UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_UOMT_I_TUOM_ID"
  ON "QGC"."MS_UOM_TRANSFOR_B" ("TARGET_UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_USERCOLUMN_B
-- ----------------------------
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "MS_USERCOLUMN_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_USERCOLUMN_B
-- ----------------------------
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017200" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017201" CHECK ("CFG_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017202" CHECK ("CAN_BE_CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017203" CHECK ("CHECKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017204" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017205" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017206" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017207" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERCOLUMN_B" ADD CONSTRAINT "SYS_C0017208" CHECK ("SYSTEM_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_USERFEEDBACK_R
-- ----------------------------
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "PK_MS_USERFEEDBACK_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_USERFEEDBACK_R
-- ----------------------------
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018506" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018507" CHECK ("SYS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018508" CHECK ("QUE_CATEGORY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018509" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018510" CHECK ("ORGANIZATION" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018511" CHECK ("CONTACT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018512" CHECK ("CONTENT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018513" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018514" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018515" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERFEEDBACK_R" ADD CONSTRAINT "SYS_C0018516" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_USERFEEDBACK_R
-- ----------------------------
CREATE INDEX "QGC"."MS_USERFEEDBACK_R_SYS_TYPE"
  ON "QGC"."MS_USERFEEDBACK_R" ("SYS_TYPE" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_USERTAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "MS_USERTAG_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_USERTAG_B
-- ----------------------------
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "SYS_C0017166" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "SYS_C0017167" CHECK ("USER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "SYS_C0017168" CHECK ("TAG_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "SYS_C0017169" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_USERTAG_B" ADD CONSTRAINT "SYS_C0017170" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARNDATA_R
-- ----------------------------
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "MS_WARNDATA_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARNDATA_R
-- ----------------------------
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016654" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016655" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016656" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016657" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016658" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016659" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "SYS_C0016660" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARN_RECORD_W
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "MS_WARNR_W_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RECORD_W
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016980" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016981" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016982" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016983" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016984" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016985" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W" ADD CONSTRAINT "SYS_C0016986" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RECORD_W
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNR_W_I_STCD"
  ON "QGC"."MS_WARN_RECORD_W" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNR_W_I_TB_ID"
  ON "QGC"."MS_WARN_RECORD_W" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNR_W_I_YS"
  ON "QGC"."MS_WARN_RECORD_W" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RECORD_W_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018936" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RECORD_W_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018126" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018127" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018128" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018129" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018130" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018131" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018132" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018929" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018930" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018931" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018932" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018933" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018934" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RECORD_W_240611SP" ADD CONSTRAINT "SYS_C0018935" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RECORD_W_240611SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNR_W_I_STCD_copy1"
  ON "QGC"."MS_WARN_RECORD_W_240611SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNR_W_I_TB_ID_copy1"
  ON "QGC"."MS_WARN_RECORD_W_240611SP" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNR_W_I_YS_copy1"
  ON "QGC"."MS_WARN_RECORD_W_240611SP" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "MS_WARNR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016961" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016962" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016963" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016964" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016965" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "SYS_C0016966" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019241" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018133" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018134" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018135" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018136" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018137" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0018138" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019235" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019236" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019237" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019238" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019239" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240611SP" ADD CONSTRAINT "SYS_C0019240" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020869" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020857" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020858" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020859" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020860" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020861" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020862" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020863" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020864" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020865" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020866" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020867" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020868" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021483" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021471" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021472" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021473" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021474" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021475" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021476" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021477" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021478" CHECK ("RULE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021479" CHECK ("RULE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021480" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021481" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021482" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_DETAIL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "MS_WARNRD_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_DETAIL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "MS_WARNRD_B_UK" UNIQUE ("RULE_ID", "TB_ID", "YS", "TM", "BEGIN_TIME", "END_TIME", "LVL", "STTY", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_DETAIL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016967" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016968" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016969" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016970" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016971" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016972" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016973" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B" ADD CONSTRAINT "SYS_C0016974" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_DETAIL_B
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRD_B_I_RULE_ID"
  ON "QGC"."MS_WARN_RULE_DETAIL_B" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_TB_ID"
  ON "QGC"."MS_WARN_RULE_DETAIL_B" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_YS"
  ON "QGC"."MS_WARN_RULE_DETAIL_B" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_DETAIL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019250" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_DETAIL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019251" UNIQUE ("RULE_ID", "TB_ID", "YS", "TM", "BEGIN_TIME", "END_TIME", "LVL", "STTY", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_DETAIL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018139" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018140" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018141" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018142" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018143" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018144" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018145" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0018146" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019242" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019243" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019244" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019245" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019246" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019247" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019248" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ADD CONSTRAINT "SYS_C0019249" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_DETAIL_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRD_B_I_RULE_ID_copy1"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_TB_ID_copy1"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_YS_copy1"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240611SP" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_DETAIL_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020887" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_DETAIL_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020888" UNIQUE ("RULE_ID", "TB_ID", "YS", "TM", "BEGIN_TIME", "END_TIME", "LVL", "STTY", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_DETAIL_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020871" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020872" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020873" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020874" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020875" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020876" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020877" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020878" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020879" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020880" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020881" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020882" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020883" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020884" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020885" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ADD CONSTRAINT "SYS_C0020886" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_DETAIL_B_240821SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRD_B_I_RULE_ID_copy2"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_TB_ID_copy2"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_YS_copy2"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240821SP" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_DETAIL_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021501" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_DETAIL_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021502" UNIQUE ("RULE_ID", "TB_ID", "YS", "TM", "BEGIN_TIME", "END_TIME", "LVL", "STTY", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY DISABLE NOVALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_DETAIL_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021485" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021486" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021487" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021488" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021489" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021490" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021491" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021492" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021493" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021494" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021495" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021496" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021497" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021498" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021499" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ADD CONSTRAINT "SYS_C0021500" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_DETAIL_B_240904SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRD_B_I_RULE_ID_copy3"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_TB_ID_copy3"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRD_B_I_YS_copy3"
  ON "QGC"."MS_WARN_RULE_DETAIL_B_240904SP" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_STBPRP_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "MS_WARNRS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_STBPRP_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "MS_WARNRS_B_UK" UNIQUE ("RULE_ID", "STTP_ID", "STCD", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_STBPRP_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "SYS_C0016975" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "SYS_C0016976" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "SYS_C0016977" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "SYS_C0016978" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B" ADD CONSTRAINT "SYS_C0016979" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_STBPRP_B
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRS_B_I_RULE_ID"
  ON "QGC"."MS_WARN_RULE_STBPRP_B" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STCD"
  ON "QGC"."MS_WARN_RULE_STBPRP_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STTP_ID"
  ON "QGC"."MS_WARN_RULE_STBPRP_B" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_STBPRP_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019257" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_STBPRP_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019258" UNIQUE ("RULE_ID", "STTP_ID", "STCD", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_STBPRP_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018147" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018148" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018149" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018150" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018151" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019252" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019253" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019254" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019255" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0019256" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_STBPRP_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRS_B_I_RULE_ID_copy1"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STCD_copy1"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STTP_ID_copy1"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240611SP" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_STBPRP_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019538" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_STBPRP_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019539" UNIQUE ("RULE_ID", "STTP_ID", "STCD", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_STBPRP_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018425" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018426" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018427" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018428" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018429" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019533" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019534" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019535" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019536" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019537" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_STBPRP_B_240806SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRS_B_I_RULE_ID_copy2"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STCD_copy2"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STTP_ID_copy2"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240806SP" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_STBPRP_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020899" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_STBPRP_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020900" UNIQUE ("RULE_ID", "STTP_ID", "STCD", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_STBPRP_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020889" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020890" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020891" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020892" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020893" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020894" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020895" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020896" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020897" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ADD CONSTRAINT "SYS_C0020898" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_STBPRP_B_240821SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRS_B_I_RULE_ID_copy3"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STCD_copy3"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STTP_ID_copy3"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240821SP" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WARN_RULE_STBPRP_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021513" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table MS_WARN_RULE_STBPRP_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021514" UNIQUE ("RULE_ID", "STTP_ID", "STCD", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table MS_WARN_RULE_STBPRP_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021503" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021504" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021505" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021506" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021507" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021508" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021509" CHECK ("RULE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021510" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021511" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ADD CONSTRAINT "SYS_C0021512" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WARN_RULE_STBPRP_B_240904SP
-- ----------------------------
CREATE INDEX "QGC"."MS_WARNRS_B_I_RULE_ID_copy4"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ("RULE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STCD_copy4"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WARNRS_B_I_STTP_ID_copy4"
  ON "QGC"."MS_WARN_RULE_STBPRP_B_240904SP" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WEFISH_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "MS_WEFISH_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WEFISH_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016462" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016463" CHECK ("BASEID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016464" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016465" CHECK ("RSTCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016466" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016467" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016468" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016469" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016470" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016471" CHECK ("FNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016472" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016473" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "SYS_C0016474" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WFSTEPS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WFSTEPS_B" ADD CONSTRAINT "MS_WFSTEPS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WFSTEPS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WFSTEPS_B" ADD CONSTRAINT "SYS_C0017628" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WFSTEPS_B" ADD CONSTRAINT "SYS_C0017629" CHECK ("STEP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WFSTEPS_B" ADD CONSTRAINT "SYS_C0017630" CHECK ("TASK_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WFSTEPS_B" ADD CONSTRAINT "SYS_C0017631" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WQCALCULATION_R
-- ----------------------------
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "MS_WQCALCULATION_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQCALCULATION_R
-- ----------------------------
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "SYS_C0017290" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "SYS_C0017291" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "SYS_C0017292" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "SYS_C0017293" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_R" ADD CONSTRAINT "SYS_C0017294" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WQCALCULATION_R
-- ----------------------------
CREATE INDEX "QGC"."MS_WQCALCULATION_R_I_STCD"
  ON "QGC"."MS_WQCALCULATION_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQCALCULATION_R_I_TM"
  ON "QGC"."MS_WQCALCULATION_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WQCALCULATION_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "MS_WQCALCULATION_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQCALCULATION_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017283" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017284" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017285" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017286" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017287" CHECK ("STTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017288" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQCALCULATION_T" ADD CONSTRAINT "SYS_C0017289" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WQCALCULATION_T
-- ----------------------------
CREATE INDEX "QGC"."MS_WQCALCULATION_T_I_TM"
  ON "QGC"."MS_WQCALCULATION_T" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQCALCULATION_T_S_I_STCD"
  ON "QGC"."MS_WQCALCULATION_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WQGRD_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "MS_WQGRD_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQGRD_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016538" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016539" CHECK ("WQ_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016540" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016541" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016542" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQGRD_T" ADD CONSTRAINT "SYS_C0016543" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WQGRD_T
-- ----------------------------
CREATE INDEX "QGC"."MS_WQGRD_T_I_STCD"
  ON "QGC"."MS_WQGRD_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQGRD_T_I_TM"
  ON "QGC"."MS_WQGRD_T" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQGRD_T_I_WQ_ID"
  ON "QGC"."MS_WQGRD_T" ("WQ_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WQS_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "MS_WQS_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQS_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016520" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016521" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016522" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016523" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016524" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016525" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQS_T" ADD CONSTRAINT "SYS_C0016526" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WQS_T
-- ----------------------------
CREATE INDEX "QGC"."MS_WQS_T_I_STCD"
  ON "QGC"."MS_WQS_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQS_T_I_TM"
  ON "QGC"."MS_WQS_T" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQS_T_I_TYPE"
  ON "QGC"."MS_WQS_T" ("TYPE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WQ_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "MS_WQ_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQ_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016292" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016293" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016294" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016295" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016296" CHECK ("STTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016297" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WQ_T" ADD CONSTRAINT "SYS_C0016298" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WQ_T
-- ----------------------------
CREATE INDEX "QGC"."MS_WQ_T_I_TM"
  ON "QGC"."MS_WQ_T" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."MS_WQ_T_S_I_STCD"
  ON "QGC"."MS_WQ_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table MS_WQ_YS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WQ_YS_B" ADD CONSTRAINT "SYS_C0019006" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WQ_YS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WQ_YS_B" ADD CONSTRAINT "SYS_C0017650" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table MS_WTRVENGHOUR_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WTRVENGHOUR_T" ADD CONSTRAINT "MS_WTRVENGHOUR_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table MS_WTRVENGHOUR_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WTRVENGHOUR_T" ADD CONSTRAINT "SYS_C0043538" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WTRVENGHOUR_T" ADD CONSTRAINT "SYS_C0043540" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WTRVENGHOUR_T" ADD CONSTRAINT "SYS_C0043541" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table MS_WTRVENGHOUR_T
-- ----------------------------
CREATE INDEX "QGC"."MS_WTRVENGHOUR_T_I_STCD"
  ON "QGC"."MS_WTRVENGHOUR_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE UNIQUE INDEX "QGC"."MS_WTRVENGHOUR_T_UI_STCD_TM"
  ON "QGC"."MS_WTRVENGHOUR_T" ("STCD" ASC, "TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AICOM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "PK_SD_AICOM_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AICOM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016661" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016662" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016663" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016664" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016665" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016666" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R" ADD CONSTRAINT "SYS_C0016667" CHECK ("IS_FSF" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AICOM_R
-- ----------------------------
CREATE INDEX "QGC"."SD_AICOM_R_I"
  ON "QGC"."SD_AICOM_R" ("TYPE" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_AICOM_R_I_STD"
  ON "QGC"."SD_AICOM_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AICOM_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018770" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AICOM_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018238" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018239" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018240" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018241" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018242" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018243" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018244" CHECK ("IS_FSF" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018763" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018764" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018765" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018766" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018767" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018768" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AICOM_R_240611SP" ADD CONSTRAINT "SYS_C0018769" CHECK ("IS_FSF" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AICOM_R_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_AICOM_R_I_STD_copy1"
  ON "QGC"."SD_AICOM_R_240611SP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_AICOM_R_I_copy1"
  ON "QGC"."SD_AICOM_R_240611SP" ("TYPE" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIHEARTBEAT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "PK_SD_AIHEARTBEAT_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIHEARTBEAT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "SYS_C0016683" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "SYS_C0016684" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "SYS_C0016685" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "SYS_C0016686" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R" ADD CONSTRAINT "SYS_C0016687" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIHEARTBEAT_R
-- ----------------------------
CREATE INDEX "QGC"."SD_AIHEARTBEAT_R_I"
  ON "QGC"."SD_AIHEARTBEAT_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIHEARTBEAT_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018744" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIHEARTBEAT_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018218" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018219" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018220" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018221" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018222" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018739" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018740" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018741" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018742" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIHEARTBEAT_R_240611SP" ADD CONSTRAINT "SYS_C0018743" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIHEARTBEAT_R_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_AIHEARTBEAT_R_I_copy1"
  ON "QGC"."SD_AIHEARTBEAT_R_240611SP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIQEC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "PK_SD_AIQEC_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIQEC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "SYS_C0016668" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "SYS_C0016669" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "SYS_C0016670" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "SYS_C0016671" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R" ADD CONSTRAINT "SYS_C0016672" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIQEC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_AIQEC_R_I_STD"
  ON "QGC"."SD_AIQEC_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIQEC_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018750" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIQEC_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018223" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018224" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018225" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018226" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018227" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018745" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018746" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018747" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018748" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIQEC_R_240611SP" ADD CONSTRAINT "SYS_C0018749" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIQEC_R_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_AIQEC_R_I_STD_copy1"
  ON "QGC"."SD_AIQEC_R_240611SP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIVPGRAZE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "PK_SD_AIVPGRAZE_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIVPGRAZE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "SYS_C0016673" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "SYS_C0016674" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "SYS_C0016675" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "SYS_C0016676" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R" ADD CONSTRAINT "SYS_C0016677" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIVPGRAZE_R
-- ----------------------------
CREATE INDEX "QGC"."SD_AIVPGRAZE_R_I"
  ON "QGC"."SD_AIVPGRAZE_R" ("TYPE" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_AIVPGRAZE_R_I_STD"
  ON "QGC"."SD_AIVPGRAZE_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIVPGRAZE_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018762" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIVPGRAZE_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018233" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018234" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018235" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018236" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018237" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018757" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018758" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018759" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018760" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPGRAZE_R_240611SP" ADD CONSTRAINT "SYS_C0018761" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIVPGRAZE_R_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_AIVPGRAZE_R_I_STD_copy1"
  ON "QGC"."SD_AIVPGRAZE_R_240611SP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_AIVPGRAZE_R_I_copy1"
  ON "QGC"."SD_AIVPGRAZE_R_240611SP" ("TYPE" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIVPWATER_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "PK_SD_AIVPWATER_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIVPWATER_R
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "SYS_C0016678" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "SYS_C0016679" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "SYS_C0016680" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "SYS_C0016681" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R" ADD CONSTRAINT "SYS_C0016682" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIVPWATER_R
-- ----------------------------
CREATE INDEX "QGC"."SD_AIVPWATER_R_I_STD"
  ON "QGC"."SD_AIVPWATER_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_AIVPWATER_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018756" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_AIVPWATER_R_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018228" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018229" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018230" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018231" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018232" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018751" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018752" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018753" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018754" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_AIVPWATER_R_240611SP" ADD CONSTRAINT "SYS_C0018755" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_AIVPWATER_R_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_AIVPWATER_R_I_STD_copy1"
  ON "QGC"."SD_AIVPWATER_R_240611SP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ARTSG_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0018562" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ARTSG_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0016558" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0016559" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0016560" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0016561" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ARTSG_R" ADD CONSTRAINT "SYS_C0016562" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ARTSG_R
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_ARTSG_R_I"
  ON "QGC"."SD_ARTSG_R" ("STCD" ASC, "TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_CHGWARNING_R
-- ----------------------------
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0018823" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_CHGWARNING_R
-- ----------------------------
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0017139" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0017140" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0017141" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0017142" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CHGWARNING_R" ADD CONSTRAINT "SYS_C0017143" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_CHGWARNING_R
-- ----------------------------
CREATE INDEX "QGC"."SD_CHGWARNING_R_I_STCD"
  ON "QGC"."SD_CHGWARNING_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_CONSTGP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SD_CONSTGP_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_CONSTGP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017065" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017066" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017067" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017068" CHECK ("PROGRESS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017069" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B" ADD CONSTRAINT "SYS_C0017070" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_CONSTGP_B
-- ----------------------------
CREATE INDEX "QGC"."SD_CONSTGP_B_I_STCD"
  ON "QGC"."SD_CONSTGP_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_CONSTGP_B_I_TM"
  ON "QGC"."SD_CONSTGP_B" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_CONSTGP_B_240619SP
-- ----------------------------
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018786" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_CONSTGP_B_240619SP
-- ----------------------------
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018245" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018246" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018247" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018248" CHECK ("PROGRESS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018249" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018250" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018780" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018781" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018782" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018783" CHECK ("PROGRESS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018784" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_CONSTGP_B_240619SP" ADD CONSTRAINT "SYS_C0018785" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_CONSTGP_B_240619SP
-- ----------------------------
CREATE INDEX "QGC"."SD_CONSTGP_B_I_STCD_copy1"
  ON "QGC"."SD_CONSTGP_B_240619SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_CONSTGP_B_I_TM_copy1"
  ON "QGC"."SD_CONSTGP_B_240619SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_DELSS_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SD_DELSS_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DELSS_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SYS_C0016527" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SYS_C0016528" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SYS_C0016529" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SYS_C0016530" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S" ADD CONSTRAINT "SYS_C0016531" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_DELSS_S
-- ----------------------------
CREATE INDEX "QGC"."SD_DELSS_S_I_STCD"
  ON "QGC"."SD_DELSS_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_DELSS_S_I_TM"
  ON "QGC"."SD_DELSS_S" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_DELSS_S_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018724" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DELSS_S_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018201" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018202" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018203" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018204" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018205" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018719" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018720" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018721" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018722" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DELSS_S_240611SP" ADD CONSTRAINT "SYS_C0018723" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_DELSS_S_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_DELSS_S_I_STCD_copy1"
  ON "QGC"."SD_DELSS_S_240611SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_DELSS_S_I_TM_copy1"
  ON "QGC"."SD_DELSS_S_240611SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_DWDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SD_DFLTKWDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DWDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SYS_C0016200" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SYS_C0016201" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SYS_C0016202" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SYS_C0016203" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDAY_S" ADD CONSTRAINT "SYS_C0016204" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_DWDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_DWDAY_S_I_SDD"
  ON "QGC"."SD_DWDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_DWDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SD_DFLTKWDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DWDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016205" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016206" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016207" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016208" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016209" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWDRTP_S" ADD CONSTRAINT "SYS_C0016210" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_DWDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_DWDRTP_S_I_DSTD"
  ON "QGC"."SD_DWDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_DWDRTP_S_I_DSYD"
  ON "QGC"."SD_DWDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_DWPLAN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_DWPLAN_R" ADD CONSTRAINT "SD_DWPLAN_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DWPLAN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_DWPLAN_R" ADD CONSTRAINT "SYS_C0021911" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWPLAN_R" ADD CONSTRAINT "SYS_C0021912" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWPLAN_R" ADD CONSTRAINT "SYS_C0021913" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DWPLAN_R" ADD CONSTRAINT "SYS_C0021914" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_DW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SD_DFLTKW_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_DW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SYS_C0016211" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SYS_C0016212" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SYS_C0016213" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SYS_C0016214" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_DW_R" ADD CONSTRAINT "SYS_C0016215" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_DW_R
-- ----------------------------
CREATE INDEX "QGC"."SD_DW_R_I_STD"
  ON "QGC"."SD_DW_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_EARTHQUAKESMS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EARTHQUAKESMS_R" ADD CONSTRAINT "SD_EARTHQUAKESMS_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_EARTHQUAKESMS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EARTHQUAKESMS_R" ADD CONSTRAINT "SYS_C0016519" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_EARTHQUAKE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EARTHQUAKE_R" ADD CONSTRAINT "SD_EARTHQUAKE_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_EARTHQUAKE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EARTHQUAKE_R" ADD CONSTRAINT "SD_EARTHQUAKE_R_UK" UNIQUE ("TM", "GRADE", "LGTD", "LTTD", "FCLDPTH", "RFLC") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_EARTHQUAKE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EARTHQUAKE_R" ADD CONSTRAINT "SYS_C0016760" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EARTHQUAKE_R" ADD CONSTRAINT "SYS_C0016761" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EARTHQUAKE_R" ADD CONSTRAINT "SYS_C0016762" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ECOEPIRTLDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ECOEPIRTLDET_R" ADD CONSTRAINT "SYS_C0019183" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ECOEPIRTLDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ECOEPIRTLDET_R" ADD CONSTRAINT "SYS_C0017811" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTLDET_R" ADD CONSTRAINT "SYS_C0017812" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTLDET_R" ADD CONSTRAINT "SYS_C0017813" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ECOEPIRTLDET_R
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."INDEX33893926"
  ON "QGC"."SD_ECOEPIRTLDET_R" ("ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_ECOEPIRTL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SYS_C0017814" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SYS_C0017815" CHECK ("COMPANY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SYS_C0017816" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SYS_C0017817" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SYS_C0017818" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENGCONSTGENVF_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SD_ENGCONSTGENVF_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGCONSTGENVF_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SYS_C0017144" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SYS_C0017145" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SYS_C0017146" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SYS_C0017147" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B" ADD CONSTRAINT "SYS_C0017148" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENGCONSTGENVF_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019264" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGCONSTGENVF_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018152" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018153" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018154" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018155" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018156" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019259" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019260" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019261" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019262" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240611SP" ADD CONSTRAINT "SYS_C0019263" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGCONSTGENVF_B_240611SP
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_ENGCONSTGENVF_B_UI_copy2"
  ON "QGC"."SD_ENGCONSTGENVF_B_240611SP" ("STCD" ASC, "CNENVFTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGCONSTGENVF_B_240619SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018792" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGCONSTGENVF_B_240619SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018251" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018252" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018253" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018254" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018255" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018787" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018788" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018789" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018790" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240619SP" ADD CONSTRAINT "SYS_C0018791" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGCONSTGENVF_B_240619SP
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_ENGCONSTGENVF_B_UI_copy3"
  ON "QGC"."SD_ENGCONSTGENVF_B_240619SP" ("STCD" ASC, "CNENVFTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGCONSTGENVF_B_240807SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019553" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGCONSTGENVF_B_240807SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0018436" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0018437" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0018438" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0018439" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0018440" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019548" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019549" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019550" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019551" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGCONSTGENVF_B_240807SP" ADD CONSTRAINT "SYS_C0019552" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENGELEC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SD_ENGELEC_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGELEC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017071" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017072" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017073" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017074" CHECK ("SORT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017075" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017076" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B" ADD CONSTRAINT "SYS_C0017077" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGELEC_B
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGELEC_B_I_STCD"
  ON "QGC"."SD_ENGELEC_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGELEC_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018732" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGELEC_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018206" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018207" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018208" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018209" CHECK ("SORT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018210" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018211" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018212" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018725" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018726" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018727" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018728" CHECK ("SORT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018729" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018730" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGELEC_B_240611SP" ADD CONSTRAINT "SYS_C0018731" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGELEC_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGELEC_B_I_STCD_copy1"
  ON "QGC"."SD_ENGELEC_B_240611SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SD_RPREE_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SYS_C0016853" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SYS_C0016854" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SYS_C0016855" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SYS_C0016856" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R" ADD CONSTRAINT "SYS_C0016857" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_RPREE_R_I_STCD"
  ON "QGC"."SD_ENGFC_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RPREE_R_I_TM"
  ON "QGC"."SD_ENGFC_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFC_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019505" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFC_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0018398" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0018399" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0018400" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0018401" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0018402" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019500" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019501" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019502" CHECK ("ENABLED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019503" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFC_R_240731" ADD CONSTRAINT "SYS_C0019504" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFC_R_240731
-- ----------------------------
CREATE INDEX "QGC"."SD_RPREE_R_I_STCD_copy1"
  ON "QGC"."SD_ENGFC_R_240731" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RPREE_R_I_TM_copy1"
  ON "QGC"."SD_ENGFC_R_240731" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFLOODDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SD_ENGFLOODDET_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_ENGFLOODDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SD_ENGFLOODDET_R_UK" UNIQUE ("FLOOD_ID", "TM") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_ENGFLOODDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017078" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017079" CHECK ("FLOOD_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017080" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017081" CHECK ("RZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017082" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOODDET_R" ADD CONSTRAINT "SYS_C0017083" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFLOODDET_R
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGFLOODDET_R_I_FLOOD_ID"
  ON "QGC"."SD_ENGFLOODDET_R" ("FLOOD_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFLOOD_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SD_ENGFLOOD_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFLOOD_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017057" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017058" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017059" CHECK ("FLOODNAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017060" CHECK ("START_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017061" CHECK ("END_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017062" CHECK ("HFTIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017063" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFLOOD_R" ADD CONSTRAINT "SYS_C0017064" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFLOOD_R
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGFLOOD_R_I_STCD"
  ON "QGC"."SD_ENGFLOOD_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFRPLANDET_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SD_RPJHFISH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFRPLANDET_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016814" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016815" CHECK ("RPJH_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016816" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016817" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016818" CHECK ("WTRG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016819" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLANDET_B" ADD CONSTRAINT "SYS_C0016820" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENGFRPLAN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SD_RPJH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFRPLAN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SYS_C0016784" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SYS_C0016785" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SYS_C0016786" CHECK ("RSTCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SYS_C0016787" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B" ADD CONSTRAINT "SYS_C0016788" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFRPLAN_B
-- ----------------------------
CREATE INDEX "QGC"."SD_RPJH_R_I_STCD"
  ON "QGC"."SD_ENGFRPLAN_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFRPLAN_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019063" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFRPLAN_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017887" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017888" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017889" CHECK ("RSTCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017890" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017891" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0017892" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019057" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019058" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019059" CHECK ("RSTCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019060" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019061" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRPLAN_B_240410SP" ADD CONSTRAINT "SYS_C0019062" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFRPLAN_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_RPJH_R_I_STCD_copy1"
  ON "QGC"."SD_ENGFRPLAN_B_240410SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFRTARGET_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SD_RELETGT_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFRTARGET_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SYS_C0016779" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SYS_C0016780" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SYS_C0016781" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SYS_C0016782" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFRTARGET_B" ADD CONSTRAINT "SYS_C0016783" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFRTARGET_B
-- ----------------------------
CREATE INDEX "QGC"."SD_RELETGT_R_I_STCD"
  ON "QGC"."SD_ENGFRTARGET_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFR_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFR_R" ADD CONSTRAINT "SD_RPIMN_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFR_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFR_R" ADD CONSTRAINT "SYS_C0016804" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R" ADD CONSTRAINT "SYS_C0016805" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R" ADD CONSTRAINT "SYS_C0016806" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R" ADD CONSTRAINT "SYS_C0016807" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFR_R
-- ----------------------------
CREATE INDEX "QGC"."SD_RPIMN_R_I_STCD"
  ON "QGC"."SD_ENGFR_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RPIMN_R_I_TM"
  ON "QGC"."SD_ENGFR_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGFR_R_250113
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026400" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGFR_R_250113
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026392" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026393" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026394" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026395" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026396" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026397" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026398" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGFR_R_250113" ADD CONSTRAINT "SYS_C0026399" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGFR_R_250113
-- ----------------------------
CREATE INDEX "QGC"."SD_RPIMN_R_I_STCD_copy1"
  ON "QGC"."SD_ENGFR_R_250113" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RPIMN_R_I_TM_copy1"
  ON "QGC"."SD_ENGFR_R_250113" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENGSBOE_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGSBOE_B" ADD CONSTRAINT "SD_SOCIETYEFF_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENGSBOE_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGSBOE_B" ADD CONSTRAINT "SYS_C0017054" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGSBOE_B" ADD CONSTRAINT "SYS_C0017055" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGSBOE_B" ADD CONSTRAINT "SYS_C0017056" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENGTTPWR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SD_ENGTTPWR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_ENGTTPWR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SD_ENGTTPWR_B_UK" UNIQUE ("STCD", "TM", "TTPWR", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_ENGTTPWR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017032" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017033" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017034" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017035" CHECK ("TTPWR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017036" CHECK ("GNCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017037" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENGTTPWR_B" ADD CONSTRAINT "SYS_C0017038" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENGTTPWR_B
-- ----------------------------
CREATE INDEX "QGC"."SD_ENGTTPWR_B_I_STCD"
  ON "QGC"."SD_ENGTTPWR_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENVABNORMAL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SD_ENVABNORMAL_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVABNORMAL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SYS_C0016260" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SYS_C0016261" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SYS_C0016262" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SYS_C0016263" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVABNORMAL_R" ADD CONSTRAINT "SYS_C0016264" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENVABNORMAL_R
-- ----------------------------
CREATE INDEX "QGC"."SD_ENVABNORMAL_R_I_STCD"
  ON "QGC"."SD_ENVABNORMAL_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_ENVABNORMAL_R_I_TM"
  ON "QGC"."SD_ENVABNORMAL_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ENVMEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SD_ENVMEIAR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVMEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SYS_C0017209" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SYS_C0017210" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SYS_C0017211" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SYS_C0017212" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SYS_C0017213" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVMEIAR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019056" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVMEIAR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017882" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017883" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017884" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017885" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017886" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019051" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019052" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019053" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019054" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019055" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVMEIAR_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019272" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVMEIAR_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018157" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018158" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018159" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018160" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018161" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019267" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019268" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019269" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019270" CHECK ("CNENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVMEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0019271" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVPEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B" ADD CONSTRAINT "SD_ENVPEIAR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVPEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B" ADD CONSTRAINT "SYS_C0017599" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B" ADD CONSTRAINT "SYS_C0017600" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B" ADD CONSTRAINT "SYS_C0017601" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVPEIAR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019044" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVPEIAR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017874" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017875" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0017876" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0018804" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019042" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240410SP" ADD CONSTRAINT "SYS_C0019043" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVPEIAR_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018571" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVPEIAR_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018162" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018163" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018164" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018553" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018554" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVPEIAR_B_240611SP" ADD CONSTRAINT "SYS_C0018570" CHECK ("ENVTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ENVSUP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVSUP_B" ADD CONSTRAINT "SD_ENVSUP_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ENVSUP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVSUP_B" ADD CONSTRAINT "SYS_C0017327" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVSUP_B" ADD CONSTRAINT "SYS_C0017328" CHECK ("FACTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVSUP_B" ADD CONSTRAINT "SYS_C0017329" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ENVSUP_B" ADD CONSTRAINT "SYS_C0017330" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_ENVSUP_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_ENVSUP_B_I_STCD_FACTYPE_TM"
  ON "QGC"."SD_ENVSUP_B" ("STCD" ASC, "FACTYPE" ASC, "TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_EQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SD_EQFCLT_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_EQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SYS_C0016510" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SYS_C0016511" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SYS_C0016512" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SYS_C0016513" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EQ_R" ADD CONSTRAINT "SYS_C0016514" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_EQ_R
-- ----------------------------
CREATE INDEX "QGC"."SD_EQ_R_I_STD"
  ON "QGC"."SD_EQ_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_EVEDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "PK_SD_EVEDAY_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_EVEDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016699" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016700" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016701" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016702" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016703" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDAY_S" ADD CONSTRAINT "SYS_C0016704" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_EVEDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_EVEDAY_S_I"
  ON "QGC"."SD_EVEDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_EVEDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "PK_SD_EVEDRTP_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_EVEDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016705" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016706" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016707" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016708" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016709" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016710" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_EVEDRTP_S" ADD CONSTRAINT "SYS_C0016711" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_EVEDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_EVEDRTP_S_I"
  ON "QGC"."SD_EVEDRTP_S" ("STCD" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSCTMO_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SD_BSCTMO_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSCTMO_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017018" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017019" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017020" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017021" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017022" CHECK ("CTMO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017023" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SYS_C0017024" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FBBSCTMO_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020267" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSCTMO_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020253" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020254" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020255" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020256" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020257" CHECK ("CTMO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020258" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020259" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020260" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020261" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020262" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020263" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020264" CHECK ("CTMO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020265" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020266" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FBBSCTMO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SD_BSCTMO_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSCTMO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016311" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016312" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016313" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016314" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016315" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R" ADD CONSTRAINT "SYS_C0016316" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSCTMO_R
-- ----------------------------
CREATE INDEX "QGC"."SD_BSCTMO_R_I_STCD"
  ON "QGC"."SD_FBBSCTMO_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSCTMO_R_I_TM"
  ON "QGC"."SD_FBBSCTMO_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSCTMO_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020281" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSCTMO_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020269" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020270" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020271" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020272" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020273" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020274" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020275" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020276" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020277" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020278" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020279" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSCTMO_R_240812" ADD CONSTRAINT "SYS_C0020280" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSCTMO_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_BSCTMO_R_I_STCD_copy1"
  ON "QGC"."SD_FBBSCTMO_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSCTMO_R_I_TM_copy1"
  ON "QGC"."SD_FBBSCTMO_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSDEATH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SD_BSDEATH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSDEATH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016317" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016318" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016319" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016320" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016321" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016322" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R" ADD CONSTRAINT "SYS_C0016323" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSDEATH_R
-- ----------------------------
CREATE INDEX "QGC"."SD_BSDEATH_R_I_STCD"
  ON "QGC"."SD_FBBSDEATH_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSDEATH_R_I_TM"
  ON "QGC"."SD_FBBSDEATH_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSDEATH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020251" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSDEATH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020237" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020238" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020239" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020240" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020241" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020242" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020243" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020244" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020245" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020246" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020247" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020248" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020249" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSDEATH_R_240812" ADD CONSTRAINT "SYS_C0020250" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSDEATH_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_BSDEATH_R_I_STCD_copy1"
  ON "QGC"."SD_FBBSDEATH_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSDEATH_R_I_TM_copy1"
  ON "QGC"."SD_FBBSDEATH_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSMF_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SD_FBBSMF_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSMF_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016304" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016305" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016306" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016307" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016308" CHECK ("SEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016309" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R" ADD CONSTRAINT "SYS_C0016310" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSMF_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FBBSMF_R_I_STCD"
  ON "QGC"."SD_FBBSMF_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBBSMF_R_I_TM"
  ON "QGC"."SD_FBBSMF_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSMF_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020235" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSMF_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020221" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020222" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020223" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020224" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020225" CHECK ("SEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020226" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020227" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020228" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020229" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020230" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020231" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020232" CHECK ("SEX" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020233" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSMF_R_240812" ADD CONSTRAINT "SYS_C0020234" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSMF_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FBBSMF_R_I_STCD_copy1"
  ON "QGC"."SD_FBBSMF_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBBSMF_R_I_TM_copy1"
  ON "QGC"."SD_FBBSMF_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSRFI_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SD_BSRFI_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSRFI_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016336" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016337" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016338" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016339" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016340" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016341" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R" ADD CONSTRAINT "SYS_C0016342" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSRFI_R
-- ----------------------------
CREATE INDEX "QGC"."SD_BSRFI_R_I_STCD"
  ON "QGC"."SD_FBBSRFI_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSRFI_R_I_TM"
  ON "QGC"."SD_FBBSRFI_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBSRFI_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020325" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBSRFI_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020311" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020312" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020313" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020314" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020315" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020316" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020317" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020318" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020319" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020320" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020321" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020322" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020323" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBSRFI_R_240812" ADD CONSTRAINT "SYS_C0020324" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBSRFI_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_BSRFI_R_I_STCD_copy1"
  ON "QGC"."SD_FBBSRFI_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_BSRFI_R_I_TM_copy1"
  ON "QGC"."SD_FBBSRFI_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBWT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SD_FBBWT_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBWT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016324" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016325" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016326" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016327" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016328" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R" ADD CONSTRAINT "SYS_C0016329" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBWT_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FBBWT_R_I_STCD"
  ON "QGC"."SD_FBBWT_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBBWT_R_I_TM"
  ON "QGC"."SD_FBBWT_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBBWT_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020295" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBBWT_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020283" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020284" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020285" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020286" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020287" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020288" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020289" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020290" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020291" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020292" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020293" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBBWT_R_240812" ADD CONSTRAINT "SYS_C0020294" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBBWT_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FBBWT_R_I_STCD_copy1"
  ON "QGC"."SD_FBBWT_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBBWT_R_I_TM_copy1"
  ON "QGC"."SD_FBBWT_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBCWQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SD_FBCWQ_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBCWQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016330" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016331" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016332" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016333" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016334" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R" ADD CONSTRAINT "SYS_C0016335" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBCWQ_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FBCWQ_R_I_STCD"
  ON "QGC"."SD_FBCWQ_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBCWQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020309" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBCWQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020297" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020298" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020299" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020300" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020301" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020302" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020303" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020304" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020305" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020306" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020307" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBCWQ_R_240812" ADD CONSTRAINT "SYS_C0020308" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBCWQ_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FBCWQ_R_I_STCD_copy1"
  ON "QGC"."SD_FBCWQ_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBDSR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SD_RESEARCH_PROGRESS_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBDSR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016797" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016798" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016799" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016800" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016801" CHECK ("WORK_DONE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016802" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBDSR_B" ADD CONSTRAINT "SYS_C0016803" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBDSR_B
-- ----------------------------
CREATE INDEX "QGC"."SD_RESEARCH_PROGRESS_R_I_STCD"
  ON "QGC"."SD_FBDSR_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHARTINLDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R" ADD CONSTRAINT "SD_FBFISHARTINLDET_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHARTINLDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R" ADD CONSTRAINT "SYS_C0017214" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R" ADD CONSTRAINT "SYS_C0017215" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FBFISHARTINLDET_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020363" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHARTINLDET_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020359" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020360" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020361" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020362" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FBFISHARTINL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SD_FISHARTINL_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHARTINL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016362" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016363" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016364" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016365" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016366" CHECK ("FPITOCINTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016367" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R" ADD CONSTRAINT "SYS_C0016368" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHARTINL_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHARTINL_R_I_STCD"
  ON "QGC"."SD_FBFISHARTINL_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHARTINL_R_I_TM"
  ON "QGC"."SD_FBFISHARTINL_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHARTINL_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020357" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHARTINL_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020343" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020344" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020345" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020346" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020347" CHECK ("FPITOCINTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020348" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020349" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020350" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020351" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020352" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020353" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020354" CHECK ("FPITOCINTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020355" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHARTINL_R_240812" ADD CONSTRAINT "SYS_C0020356" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHARTINL_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHARTINL_R_I_STCD_copy1"
  ON "QGC"."SD_FBFISHARTINL_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHARTINL_R_I_TM_copy1"
  ON "QGC"."SD_FBFISHARTINL_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHBREED_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SD_FISHBREED_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHBREED_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016369" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016370" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016371" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016372" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016373" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R" ADD CONSTRAINT "SYS_C0016374" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHBREED_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHBREED_R_I_STCD"
  ON "QGC"."SD_FBFISHBREED_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHBREED_R_I_TM"
  ON "QGC"."SD_FBFISHBREED_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHBREED_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020419" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHBREED_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020407" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020408" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020409" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020410" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020411" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020412" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020413" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020414" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020415" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020416" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020417" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHBREED_R_240812" ADD CONSTRAINT "SYS_C0020418" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHBREED_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHBREED_R_I_STCD_copy1"
  ON "QGC"."SD_FBFISHBREED_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHBREED_R_I_TM_copy1"
  ON "QGC"."SD_FBFISHBREED_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHDPAC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SD_FISHDPAC_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHDPAC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016381" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016382" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016383" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016384" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016385" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R" ADD CONSTRAINT "SYS_C0016386" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHDPAC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHDPAC_R_I_STCD"
  ON "QGC"."SD_FBFISHDPAC_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHDPAC_R_I_TM"
  ON "QGC"."SD_FBFISHDPAC_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHDPAC_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020433" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHDPAC_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020421" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020422" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020423" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020424" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020425" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020426" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020427" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020428" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020429" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020430" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020431" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHDPAC_R_240812" ADD CONSTRAINT "SYS_C0020432" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHDPAC_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHDPAC_R_I_STCD_copy1"
  ON "QGC"."SD_FBFISHDPAC_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHDPAC_R_I_TM_copy1"
  ON "QGC"."SD_FBFISHDPAC_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHHATCHPRO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SD_FISHHATCHPRO_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHHATCHPRO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016350" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016351" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016352" CHECK ("DEVNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016353" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016354" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R" ADD CONSTRAINT "SYS_C0016355" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHHATCHPRO_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHHATCHPRO_R_I_STCD"
  ON "QGC"."SD_FBFISHHATCHPRO_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHHATCHPRO_R_I_TM"
  ON "QGC"."SD_FBFISHHATCHPRO_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHHATCHPRO_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020391" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHHATCHPRO_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020379" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020380" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020381" CHECK ("DEVNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020382" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020383" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020384" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020385" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020386" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020387" CHECK ("DEVNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020388" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020389" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHPRO_R_240812" ADD CONSTRAINT "SYS_C0020390" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHHATCHPRO_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHHATCHPRO_R_I_STCD_copy1"
  ON "QGC"."SD_FBFISHHATCHPRO_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHHATCHPRO_R_I_TM_copy1"
  ON "QGC"."SD_FBFISHHATCHPRO_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHHATCHREC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SD_FISHHATCHREC_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHHATCHREC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016356" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016357" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016358" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016359" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016360" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R" ADD CONSTRAINT "SYS_C0016361" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHHATCHREC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHHATCHREC_R_I_STCD"
  ON "QGC"."SD_FBFISHHATCHREC_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHHATCHREC_R_I_TM"
  ON "QGC"."SD_FBFISHHATCHREC_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHHATCHREC_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020377" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHHATCHREC_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020365" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020366" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020367" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020368" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020369" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020370" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020371" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020372" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020373" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020374" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020375" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHHATCHREC_R_240812" ADD CONSTRAINT "SYS_C0020376" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHHATCHREC_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FISHHATCHREC_R_I_STCD_copy1"
  ON "QGC"."SD_FBFISHHATCHREC_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FISHHATCHREC_R_I_TM_copy1"
  ON "QGC"."SD_FBFISHHATCHREC_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHPOND_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SD_FBFISHPOND_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHPOND_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SYS_C0016299" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SYS_C0016300" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SYS_C0016301" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SYS_C0016302" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B" ADD CONSTRAINT "SYS_C0016303" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHPOND_B
-- ----------------------------
CREATE INDEX "QGC"."SD_FBFISHPOND_B_I_STCD"
  ON "QGC"."SD_FBFISHPOND_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBFISHPOND_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020218" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBFISHPOND_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020208" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020209" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020210" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020211" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020212" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020213" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020214" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020215" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020216" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBFISHPOND_B_240812" ADD CONSTRAINT "SYS_C0020217" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBFISHPOND_B_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_FBFISHPOND_B_I_STCD_copy1"
  ON "QGC"."SD_FBFISHPOND_B_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBOUTFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SD_OUTFISH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBOUTFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016343" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016344" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016345" CHECK ("SIGNNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016346" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016347" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016348" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R" ADD CONSTRAINT "SYS_C0016349" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBOUTFISH_R
-- ----------------------------
CREATE INDEX "QGC"."SD_OUTFISH_R_I_STCD"
  ON "QGC"."SD_FBOUTFISH_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_OUTFISH_R_I_TM"
  ON "QGC"."SD_FBOUTFISH_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBOUTFISH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020341" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBOUTFISH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020327" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020328" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020329" CHECK ("SIGNNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020330" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020331" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020332" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020333" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020334" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020335" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020336" CHECK ("SIGNNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020337" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020338" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020339" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBOUTFISH_R_240812" ADD CONSTRAINT "SYS_C0020340" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBOUTFISH_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_OUTFISH_R_I_STCD_copy1"
  ON "QGC"."SD_FBOUTFISH_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_OUTFISH_R_I_TM_copy1"
  ON "QGC"."SD_FBOUTFISH_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBRDC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SD_FBRDC_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBRDC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016254" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016255" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016256" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016257" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016258" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R" ADD CONSTRAINT "SYS_C0016259" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBRDC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FBRDC_R_I_STCD"
  ON "QGC"."SD_FBRDC_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBRDC_R_I_TM"
  ON "QGC"."SD_FBRDC_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBRDC_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019499" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBRDC_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018392" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018393" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018394" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018395" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018396" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0018397" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019493" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019494" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019495" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019496" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019497" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDC_R_240731" ADD CONSTRAINT "SYS_C0019498" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBRDC_R_240731
-- ----------------------------
CREATE INDEX "QGC"."SD_FBRDC_R_I_STCD_copy1"
  ON "QGC"."SD_FBRDC_R_240731" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBRDC_R_I_TM_copy1"
  ON "QGC"."SD_FBRDC_R_240731" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBRDFSI_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SD_FBRDFSI_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBRDFSI_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017133" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017134" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017135" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017136" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017137" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDFSI_B" ADD CONSTRAINT "SYS_C0017138" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBRDFSI_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FBRDFSI_B_UI"
  ON "QGC"."SD_FBRDFSI_B" ("STCD" ASC, "YR" ASC, "FTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBRDM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SD_FBRDM_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBRDM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016789" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016790" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016791" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016792" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016793" CHECK ("TP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016794" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016795" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRDM_R" ADD CONSTRAINT "SYS_C0016796" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBRDM_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FBRDM_R_I_STCD"
  ON "QGC"."SD_FBRDM_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FBRDM_R_I_TM"
  ON "QGC"."SD_FBRDM_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBRESEARCH_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SD_RESEARCH_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBRESEARCH_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017025" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017026" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017027" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017028" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017029" CHECK ("WCO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017030" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SYS_C0017031" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FBSCWEM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SD_SCWEM_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBSCWEM_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016375" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016376" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016377" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016378" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016379" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R" ADD CONSTRAINT "SYS_C0016380" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBSCWEM_R
-- ----------------------------
CREATE INDEX "QGC"."SD_SCWEM_R_I_STCD"
  ON "QGC"."SD_FBSCWEM_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SCWEM_R_I_TM"
  ON "QGC"."SD_FBSCWEM_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FBSCWEM_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020405" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FBSCWEM_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020393" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020394" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020395" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020396" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020397" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020398" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020399" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020400" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020401" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020402" CHECK ("FPNUM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020403" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FBSCWEM_R_240812" ADD CONSTRAINT "SYS_C0020404" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FBSCWEM_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_SCWEM_R_I_STCD_copy1"
  ON "QGC"."SD_FBSCWEM_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SCWEM_R_I_TM_copy1"
  ON "QGC"."SD_FBSCWEM_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FHBT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0018563" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FHBT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016563" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016564" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016565" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016566" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016567" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016568" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016569" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016570" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FHBT_R" ADD CONSTRAINT "SYS_C0016571" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FHBT_R
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FHBT_R_I"
  ON "QGC"."SD_FHBT_R" ("STCD" ASC, "TM" ASC, "FTP" ASC, "FSZ" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FISHDICTORY_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SD_FISHDICTORY_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_FISHDICTORY_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SD_FISHDICTORY_B_UK" UNIQUE ("NAME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_FISHDICTORY_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017095" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017096" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017097" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017098" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017099" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017100" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B" ADD CONSTRAINT "SYS_C0017101" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FISHDICTORY_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FISHDICTORY_B_ID"
  ON "QGC"."SD_FISHDICTORY_B" ("ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FISHDICTORY_B_240528SP
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019281" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FISHDICTORY_B_240528SP
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017980" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017981" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017982" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017983" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017984" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017985" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017986" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0017987" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019273" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019274" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019275" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019276" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019277" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019278" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019279" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_B_240528SP" ADD CONSTRAINT "SYS_C0019280" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FISHDICTORY_RLTN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SD_FISHDICTORY_RLTN_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FISHDICTORY_RLTN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SYS_C0017988" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SYS_C0017989" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SYS_C0017990" CHECK ("FISH_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SYS_C0017991" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B" ADD CONSTRAINT "SYS_C0017992" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FISHDICTORY_RLTN_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FISHDICTORY_RLTN_B_UK"
  ON "QGC"."SD_FISHDICTORY_RLTN_B" ("RVCD" ASC, "FISH_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FISHDICTORY_RLTN_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018738" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FISHDICTORY_RLTN_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018213" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018214" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018215" CHECK ("FISH_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018216" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018217" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018733" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018734" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018735" CHECK ("FISH_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018736" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018737" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FISHDICTORY_RLTN_B_240611SP
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FISHDICTORY_RLTN_B_UK_copy1"
  ON "QGC"."SD_FISHDICTORY_RLTN_B_240611SP" ("RVCD" ASC, "FISH_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SD_FPC_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SYS_C0016398" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SYS_C0016399" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SYS_C0016400" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SYS_C0016401" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPC_R" ADD CONSTRAINT "SYS_C0016402" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPC_R_I_STCD"
  ON "QGC"."SD_FPC_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FPC_R_I_TM"
  ON "QGC"."SD_FPC_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPDESIGNSTAND_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SD_FPDESIGNSTAND_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPDESIGNSTAND_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SYS_C0016848" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SYS_C0016849" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SYS_C0016850" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SYS_C0016851" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPDESIGNSTAND_B" ADD CONSTRAINT "SYS_C0016852" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPDESIGNSTAND_B
-- ----------------------------
CREATE INDEX "QGC"."SD_FPDESIGNSTAND_B_I_STCD"
  ON "QGC"."SD_FPDESIGNSTAND_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPKPI_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SD_FPSSFSI_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPKPI_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016428" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016429" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016430" CHECK ("YR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016431" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016432" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPKPI_B" ADD CONSTRAINT "SYS_C0016433" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPKPI_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FPSSFSI_B_INDEX"
  ON "QGC"."SD_FPKPI_B" ("STCD" ASC, "YR" ASC, "FTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPRDENV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035805" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPRDENV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035800" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035801" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035802" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035803" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDENV_R" ADD CONSTRAINT "SYS_C0035804" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPRDENV_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPRDENV_R_I_STD"
  ON "QGC"."SD_FPRDENV_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPRDFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035799" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPRDFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035793" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035794" CHECK ("FPRDR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035795" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035796" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035797" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRDFISH_R" ADD CONSTRAINT "SYS_C0035798" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FPRD_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035792" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPRD_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035787" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035788" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035789" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035790" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRD_R" ADD CONSTRAINT "SYS_C0035791" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPRD_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPRD_R_I_STD"
  ON "QGC"."SD_FPRD_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPRUNPLAN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SD_FPRUNPLAN_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPRUNPLAN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033213" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033214" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033215" CHECK ("START_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033216" CHECK ("END_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033217" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUNPLAN_B" ADD CONSTRAINT "SYS_C0033218" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPRUNPLAN_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_FPRUNPLAN_B_INDEX"
  ON "QGC"."SD_FPRUNPLAN_B" ("STCD" ASC, "FTP" ASC, "START_TIME" ASC, "END_TIME" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FPRUNPLAN_B_I_STCD"
  ON "QGC"."SD_FPRUNPLAN_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FPRUNPLAN_B_I_YR"
  ON "QGC"."SD_FPRUNPLAN_B" ("YR" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPRUN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SD_FPRUN_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPRUN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SYS_C0016763" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SYS_C0016764" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SYS_C0016765" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SYS_C0016766" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FPSSQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SD_FPSSQDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SYS_C0016387" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SYS_C0016388" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SYS_C0016389" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SYS_C0016390" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDAY_S" ADD CONSTRAINT "SYS_C0016391" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSSQDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSSQDAY_S_I_SDD"
  ON "QGC"."SD_FPSSQDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSSQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SD_FPSSQDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016392" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016393" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016394" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016395" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016396" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQDRTP_S" ADD CONSTRAINT "SYS_C0016397" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSSQDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSSQDRTP_S_I_DSTD"
  ON "QGC"."SD_FPSSQDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_FPSSQDRTP_S_I_DSYD"
  ON "QGC"."SD_FPSSQDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSSQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SD_FPSSQ_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SYS_C0016403" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SYS_C0016404" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SYS_C0016405" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SYS_C0016406" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSQ_R" ADD CONSTRAINT "SYS_C0016407" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSSQ_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSSQ_R_I_STD"
  ON "QGC"."SD_FPSSQ_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSSRLQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SD_FPSSRLQDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSRLQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SYS_C0017310" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SYS_C0017311" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SYS_C0017312" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SYS_C0017313" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SYS_C0017314" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FPSSRLQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SD_FPSSRLQDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSRLQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017315" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017316" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017317" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017318" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017319" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SYS_C0017320" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_FPSSRL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041880" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSRL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041864" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041865" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041866" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041867" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041868" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041869" CHECK ("CHANNELNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041870" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041871" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041872" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041873" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041874" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041875" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041876" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041877" CHECK ("CHANNELNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041878" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R" ADD CONSTRAINT "SYS_C0041879" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSSRL_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSSRL_R_I_STD_copy1"
  ON "QGC"."SD_FPSSRL_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSSRL_R_260211
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SD_FPSSRL_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSSRL_R_260211
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016408" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016409" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016410" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016411" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016412" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016413" CHECK ("CHANNELNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016414" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSSRL_R_260211" ADD CONSTRAINT "SYS_C0016415" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSSRL_R_260211
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSSRL_R_I_STD"
  ON "QGC"."SD_FPSSRL_R_260211" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SD_FPSS_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016416" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016417" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016418" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016419" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016420" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R" ADD CONSTRAINT "SYS_C0016421" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSS_R
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSS_R_I_STD"
  ON "QGC"."SD_FPSS_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_FPSS_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019492" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_FPSS_R_240731
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018386" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018387" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018388" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018389" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018390" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0018391" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019486" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019487" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019488" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019489" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019490" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_FPSS_R_240731" ADD CONSTRAINT "SYS_C0019491" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_FPSS_R_240731
-- ----------------------------
CREATE INDEX "QGC"."SD_FPSS_R_I_STD_copy1"
  ON "QGC"."SD_FPSS_R_240731" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_GTZKQ_C
-- ----------------------------
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0018827" PRIMARY KEY ("STCD", "TM", "Z", "K");

-- ----------------------------
-- Checks structure for table SD_GTZKQ_C
-- ----------------------------
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0017158" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0017159" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0017160" CHECK ("Z" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0017161" CHECK ("K" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SYS_C0017162" CHECK ("Q" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_HBZLVIEW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SD_HBZLVIEW_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HBZLVIEW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SYS_C0017602" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SYS_C0017603" CHECK ("HBZL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SYS_C0017604" CHECK ("USER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SYS_C0017605" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZLVIEW_R" ADD CONSTRAINT "SYS_C0017606" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_HBZLVIEW_R
-- ----------------------------
CREATE INDEX "QGC"."SD_HBZLVIEW_R_I_CODE"
  ON "QGC"."SD_HBZLVIEW_R" ("HBZL_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_HBZL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SD_HBZL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HBZL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018459" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018460" CHECK ("TITLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018461" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018462" CHECK ("CONTENT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018463" CHECK ("FMTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018464" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HBZL_B" ADD CONSTRAINT "SYS_C0018465" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_HYDROPWDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SD_HYDROPWDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HYDROPWDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SYS_C0016265" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SYS_C0016266" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SYS_C0016267" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SYS_C0016268" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDAY_S" ADD CONSTRAINT "SYS_C0016269" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_HYDROPWDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_HYDROPWDAY_S_I_SDD"
  ON "QGC"."SD_HYDROPWDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_HYDROPWDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SD_HYDROPWDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HYDROPWDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016499" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016500" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016501" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016502" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016503" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S" ADD CONSTRAINT "SYS_C0016504" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_HYDROPWDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_HYDROPWDRTP_S_I_DSTD"
  ON "QGC"."SD_HYDROPWDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_HYDROPWDRTP_S_I_DSYD"
  ON "QGC"."SD_HYDROPWDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_HYDROPWDRTP_S_240716
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018968" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HYDROPWDRTP_S_240716
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018279" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018280" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018281" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018282" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018283" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018284" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018962" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018963" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018964" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018965" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018966" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPWDRTP_S_240716" ADD CONSTRAINT "SYS_C0018967" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_HYDROPWDRTP_S_240716
-- ----------------------------
CREATE INDEX "QGC"."SD_HYDROPWDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_HYDROPWDRTP_S_240716" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_HYDROPWDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_HYDROPWDRTP_S_240716" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_HYDROPW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SD_HYDROPW_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_HYDROPW_R
-- ----------------------------
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SYS_C0016484" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SYS_C0016485" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SYS_C0016486" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SYS_C0016487" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_HYDROPW_R" ADD CONSTRAINT "SYS_C0016488" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_HYDROPW_R
-- ----------------------------
CREATE INDEX "QGC"."SD_HYDROPW_R_I_STD"
  ON "QGC"."SD_HYDROPW_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_INV_B
-- ----------------------------
ALTER TABLE "QGC"."SD_INV_B" ADD CONSTRAINT "SD_INV_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_INV_B
-- ----------------------------
ALTER TABLE "QGC"."SD_INV_B" ADD CONSTRAINT "SYS_C0017051" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_INV_B" ADD CONSTRAINT "SYS_C0017052" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_INV_B" ADD CONSTRAINT "SYS_C0017053" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_PPTNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SD_PPTNDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017500" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017501" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017502" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017503" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017504" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S" ADD CONSTRAINT "SYS_C0017505" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTNDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTNDAY_S_I_SDD"
  ON "QGC"."SD_PPTNDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PPTNDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018771" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTNDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018335" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018336" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018337" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018338" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018339" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018340" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0018806" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0019170" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0019171" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0019172" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0019173" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDAY_S_240725" ADD CONSTRAINT "SYS_C0019174" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTNDAY_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTNDAY_S_I_SDD_copy1"
  ON "QGC"."SD_PPTNDAY_S_240725" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PPTNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SD_PPTNDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017487" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017488" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017489" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017490" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017491" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017492" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S" ADD CONSTRAINT "SYS_C0017493" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTNDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTNDRTP_S_I_DSTD"
  ON "QGC"."SD_PPTNDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_PPTNDRTP_S_I_DSYD"
  ON "QGC"."SD_PPTNDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PPTNDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018779" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTNDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018341" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018342" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018343" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018344" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018345" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018346" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018347" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018772" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018773" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018774" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018775" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018776" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018777" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTNDRTP_S_240725" ADD CONSTRAINT "SYS_C0018778" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTNDRTP_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTNDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_PPTNDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_PPTNDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_PPTNDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PPTN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SD_PPTN_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016578" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016579" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016580" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016581" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016582" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R" ADD CONSTRAINT "SYS_C0016583" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTN_R
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTN_R_I_STD"
  ON "QGC"."SD_PPTN_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PPTN_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019169" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PPTN_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018329" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018330" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018331" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018332" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018333" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0018334" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019163" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019164" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019165" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019166" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019167" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PPTN_R_240725" ADD CONSTRAINT "SYS_C0019168" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PPTN_R_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_PPTN_R_I_STD_copy1"
  ON "QGC"."SD_PPTN_R_240725" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PRNNTENVF_B
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SD_CONSTGENVF_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PRNNTENVF_B
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SYS_C0017149" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SYS_C0017150" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SYS_C0017151" CHECK ("PRENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SYS_C0017152" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B" ADD CONSTRAINT "SYS_C0017153" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PRNNTENVF_B
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_PRNNTENVF_B_UK"
  ON "QGC"."SD_PRNNTENVF_B" ("STCD" ASC, "PRENVFTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PRNNTENVF_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019050" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PRNNTENVF_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0017877" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0017878" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0017879" CHECK ("PRENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0017880" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0017881" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019045" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019046" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019047" CHECK ("PRENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019048" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240410SP" ADD CONSTRAINT "SYS_C0019049" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PRNNTENVF_B_240410SP
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_PRNNTENVF_B_UI_copy1"
  ON "QGC"."SD_PRNNTENVF_B_240410SP" ("STCD" ASC, "PRENVFTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_PRNNTENVF_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018839" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_PRNNTENVF_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018165" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018166" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018167" CHECK ("PRENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018168" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018169" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018834" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018835" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018836" CHECK ("PRENVFTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018837" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_PRNNTENVF_B_240611SP" ADD CONSTRAINT "SYS_C0018838" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_PRNNTENVF_B_240611SP
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_PRNNTENVF_B_UI_copy2"
  ON "QGC"."SD_PRNNTENVF_B_240611SP" ("STCD" ASC, "PRENVFTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_QECDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SD_QECDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_QECDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SYS_C0016688" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SYS_C0016689" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SYS_C0016690" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SYS_C0016691" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S" ADD CONSTRAINT "SYS_C0016692" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_QECDAY_S
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_QECDAY_S_INDX"
  ON "QGC"."SD_QECDAY_S" ("STCD" ASC, "DT" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_QECDAY_S_I_SDD"
  ON "QGC"."SD_QECDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_QECDAY_S_20250429
-- ----------------------------
ALTER TABLE "QGC"."SD_QECDAY_S_20250429" ADD CONSTRAINT "SYS_C0030351" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S_20250429" ADD CONSTRAINT "SYS_C0030352" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S_20250429" ADD CONSTRAINT "SYS_C0030353" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S_20250429" ADD CONSTRAINT "SYS_C0030354" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDAY_S_20250429" ADD CONSTRAINT "SYS_C0030355" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_QECDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SD_QECDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_QECDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016693" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016694" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016695" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016696" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016697" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QECDRTP_S" ADD CONSTRAINT "SYS_C0016698" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_QECDRTP_S
-- ----------------------------
CREATE UNIQUE INDEX "QGC"."SD_QECDRTP_S_INDX"
  ON "QGC"."SD_QECDRTP_S" ("STCD" ASC, "DRTP" ASC, "YEAR" ASC, "MONTH" ASC, "DR" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_QECDRTP_S_I_DSTD"
  ON "QGC"."SD_QECDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_QECDRTP_S_I_DSYD"
  ON "QGC"."SD_QECDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_QEC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SD_QEC_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_QEC_R
-- ----------------------------
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SYS_C0016489" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SYS_C0016490" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SYS_C0016491" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SYS_C0016492" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R" ADD CONSTRAINT "SYS_C0016493" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_QEC_R
-- ----------------------------
CREATE INDEX "QGC"."SD_QEC_R_I_STD"
  ON "QGC"."SD_QEC_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_QEC_R_20250429
-- ----------------------------
ALTER TABLE "QGC"."SD_QEC_R_20250429" ADD CONSTRAINT "SYS_C0030346" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R_20250429" ADD CONSTRAINT "SYS_C0030347" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R_20250429" ADD CONSTRAINT "SYS_C0030348" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R_20250429" ADD CONSTRAINT "SYS_C0030349" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_QEC_R_20250429" ADD CONSTRAINT "SYS_C0030350" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_RIVERDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SD_RIVERDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RIVERDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SYS_C0016601" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SYS_C0016602" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SYS_C0016603" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SYS_C0016604" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDAY_S" ADD CONSTRAINT "SYS_C0016605" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RIVERDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_RIVERDAY_S_I_SDD"
  ON "QGC"."SD_RIVERDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RIVERDAY_S_I_STCD_TM"
  ON "QGC"."SD_RIVERDAY_S" ("STCD" ASC, "DT" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_RIVERDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SD_RIVERDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RIVERDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016606" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016607" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016608" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016609" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016610" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016611" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVERDRTP_S" ADD CONSTRAINT "SYS_C0016612" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RIVERDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_RIVERDRTP_S_I_DSTD"
  ON "QGC"."SD_RIVERDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RIVERDRTP_S_I_DSYD"
  ON "QGC"."SD_RIVERDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RIVERDRTP_S_I_STCD_TM"
  ON "QGC"."SD_RIVERDRTP_S" ("STCD" ASC, "YEAR" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_RIVER_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SD_RIVER_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RIVER_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SYS_C0016613" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SYS_C0016614" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SYS_C0016615" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SYS_C0016616" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RIVER_R" ADD CONSTRAINT "SYS_C0016617" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RIVER_R
-- ----------------------------
CREATE INDEX "QGC"."SD_RIVER_R_I_STD"
  ON "QGC"."SD_RIVER_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_RPIMNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SD_RPIMNDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RPIMNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017511" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017512" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017513" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017514" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017515" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017516" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SYS_C0017517" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_RPIMNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SD_RPIMNDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RPIMNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017518" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017519" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017520" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017521" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017522" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017523" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SYS_C0017524" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_RPIMNFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SD_RPIMNFISH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RPIMNFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016808" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016809" CHECK ("RPIMN_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016810" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016811" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016812" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R" ADD CONSTRAINT "SYS_C0016813" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_RPIMNFISH_R_250113
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026414" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RPIMNFISH_R_250113
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026402" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026403" CHECK ("RPIMN_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026404" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026405" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026406" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026407" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026408" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026409" CHECK ("RPIMN_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026410" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026411" CHECK ("FCNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026412" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNFISH_R_250113" ADD CONSTRAINT "SYS_C0026413" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_RSVRCSCD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SD_RSVRCSCD_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_RSVRCSCD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SD_RSVRCSCD_B_UK" UNIQUE ("RVCD", "STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_RSVRCSCD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SYS_C0017118" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SYS_C0017119" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SYS_C0017120" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SYS_C0017121" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B" ADD CONSTRAINT "SYS_C0017122" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RSVRCSCD_B
-- ----------------------------
CREATE INDEX "QGC"."SD_RSVRCSCD_B_I_RVCD"
  ON "QGC"."SD_RSVRCSCD_B" ("RVCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RSVRCSCD_B_I_STCD"
  ON "QGC"."SD_RSVRCSCD_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_RSVRCSCD_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020937" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_RSVRCSCD_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020938" UNIQUE ("RVCD", "STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_RSVRCSCD_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020927" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020928" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020929" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020930" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020931" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020932" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020933" CHECK ("RVCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020934" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020935" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVRCSCD_B_240821" ADD CONSTRAINT "SYS_C0020936" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RSVRCSCD_B_240821
-- ----------------------------
CREATE INDEX "QGC"."SD_RSVRCSCD_B_I_RVCD_copy1"
  ON "QGC"."SD_RSVRCSCD_B_240821" ("RVCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_RSVRCSCD_B_I_STCD_copy1"
  ON "QGC"."SD_RSVRCSCD_B_240821" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_RSVR_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "PK_SD_RSVR_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_RSVR_R
-- ----------------------------
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "SYS_C0016755" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "SYS_C0016756" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "SYS_C0016757" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "SYS_C0016758" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RSVR_R" ADD CONSTRAINT "SYS_C0016759" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_RSVR_R
-- ----------------------------
CREATE INDEX "QGC"."SD_RSVR_R_I_STD"
  ON "QGC"."SD_RSVR_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SBGL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SD_SBGL_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SBGL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016594" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016595" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016596" CHECK ("IS_NOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016597" CHECK ("STM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016598" CHECK ("ETM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016599" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SBGL_R" ADD CONSTRAINT "SYS_C0016600" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SBGL_R
-- ----------------------------
CREATE INDEX "QGC"."SD_SBGL_I_STCD_TM"
  ON "QGC"."SD_SBGL_R" ("STCD" ASC, "STM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SEDDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "PK_SD_SEDDAY_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SEDDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016717" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016718" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016719" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016720" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016721" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDAY_S" ADD CONSTRAINT "SYS_C0016722" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SEDDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_SEDDAY_S_I_SDD"
  ON "QGC"."SD_SEDDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SEDDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "PK_SD_SEDDRTP_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SEDDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016723" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016724" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016725" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016726" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016727" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016728" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDDRTP_S" ADD CONSTRAINT "SYS_C0016729" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SEDDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_SEDDRTP_S_I"
  ON "QGC"."SD_SEDDRTP_S" ("STCD" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SEDDRTP_S_I_DSTD"
  ON "QGC"."SD_SEDDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SEDDRTP_S_I_DSYD"
  ON "QGC"."SD_SEDDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SEDRFDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "PK_SD_SEDRFDAY_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SEDRFDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016735" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016736" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016737" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016738" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016739" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDAY_S" ADD CONSTRAINT "SYS_C0016740" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SEDRFDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_SEDRFDAY_S_I_SDD"
  ON "QGC"."SD_SEDRFDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SEDRFDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "PK_SD_SEDRFDRTP_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SEDRFDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016741" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016742" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016743" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016744" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016745" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016746" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRFDRTP_S" ADD CONSTRAINT "SYS_C0016747" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SEDRFDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_SEDRFDRTP_S_I"
  ON "QGC"."SD_SEDRFDRTP_S" ("STCD" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SEDRFDRTP_S_I_DSTD"
  ON "QGC"."SD_SEDRFDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_SEDRFDRTP_S_I_DSYD"
  ON "QGC"."SD_SEDRFDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SEDRF_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "PK_SD_SEDRF_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SEDRF_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "SYS_C0016730" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "SYS_C0016731" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "SYS_C0016732" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "SYS_C0016733" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SEDRF_R" ADD CONSTRAINT "SYS_C0016734" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SEDRF_R
-- ----------------------------
CREATE INDEX "QGC"."SD_SEDRF_R_I_STD"
  ON "QGC"."SD_SEDRF_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SED_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "PK_SD_SED_R" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SED_R
-- ----------------------------
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "SYS_C0016712" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "SYS_C0016713" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "SYS_C0016714" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "SYS_C0016715" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SED_R" ADD CONSTRAINT "SYS_C0016716" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_SED_R
-- ----------------------------
CREATE INDEX "QGC"."SD_SED_R_I_STD"
  ON "QGC"."SD_SED_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_SHXY_B
-- ----------------------------
ALTER TABLE "QGC"."SD_SHXY_B" ADD CONSTRAINT "SD_SHXY_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_SHXY_B
-- ----------------------------
ALTER TABLE "QGC"."SD_SHXY_B" ADD CONSTRAINT "SYS_C0017084" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SHXY_B" ADD CONSTRAINT "SYS_C0017085" CHECK ("SHXYTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SHXY_B" ADD CONSTRAINT "SYS_C0017086" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_SHXY_B" ADD CONSTRAINT "SYS_C0017087" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SD_STATTRVAL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SD_STATTRVAL_B_UK" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "RECORD_TIME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017533" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017534" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017535" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017536" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017537" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B" ADD CONSTRAINT "SYS_C0017538" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID"
  ON "QGC"."SD_STATTRVAL_B" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_BLPRD_ID"
  ON "QGC"."SD_STATTRVAL_B" ("BLPRD_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_STCD"
  ON "QGC"."SD_STATTRVAL_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019217" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019218" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "RECORD_TIME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017845" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017846" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017847" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017848" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017849" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0017850" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019211" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019212" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019213" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019214" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019215" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240410SP" ADD CONSTRAINT "SYS_C0019216" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy1"
  ON "QGC"."SD_STATTRVAL_B_240410SP" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240520SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017948" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017949" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017950" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017951" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017952" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240520SP" ADD CONSTRAINT "SYS_C0017953" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240603SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019315" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240603SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019316" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240603SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018015" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018016" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018017" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018018" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018019" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0018020" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019309" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019310" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019311" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019312" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019313" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240603SP" ADD CONSTRAINT "SYS_C0019314" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240603SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy2"
  ON "QGC"."SD_STATTRVAL_B_240603SP" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018687" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018688" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018170" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018171" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018172" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018173" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018174" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018175" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018681" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018682" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018683" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018684" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018685" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240611SP" ADD CONSTRAINT "SYS_C0018686" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy3"
  ON "QGC"."SD_STATTRVAL_B_240611SP" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240702SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018657" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240702SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018658" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240702SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018262" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018263" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018264" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018265" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018266" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018267" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018651" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018652" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018653" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018654" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018655" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240702SP" ADD CONSTRAINT "SYS_C0018656" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240702SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy4"
  ON "QGC"."SD_STATTRVAL_B_240702SP" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019546" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019547" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018430" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018431" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018432" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018433" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018434" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0018435" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019540" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019541" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019542" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019543" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019544" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240806SP" ADD CONSTRAINT "SYS_C0019545" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240806SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy5"
  ON "QGC"."SD_STATTRVAL_B_240806SP" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020490" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020491" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020478" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020479" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020480" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020481" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020482" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020483" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020484" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020485" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020486" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020487" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020488" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_240812" ADD CONSTRAINT "SYS_C0020489" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy6"
  ON "QGC"."SD_STATTRVAL_B_240812" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTRVAL_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033152" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTRVAL_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033153" UNIQUE ("STCD", "BLPRD_ID", "ATTR_ID", "RECORD_TIME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTRVAL_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033140" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033141" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033142" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033143" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033144" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033145" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033146" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033147" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033148" CHECK ("ATTR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033149" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033150" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTRVAL_B_250704dz" ADD CONSTRAINT "SYS_C0033151" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTRVAL_B_250704dz
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTRVAL_B_I_ATTR_ID_copy7"
  ON "QGC"."SD_STATTRVAL_B_250704dz" ("ATTR_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SD_STATTR_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SD_STATTR_B_UK" UNIQUE ("STTP_ID", "ATTR_KEY") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016987" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016988" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016989" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016990" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016991" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016992" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016993" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016994" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016995" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016996" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B" ADD CONSTRAINT "SYS_C0016997" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTR_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTR_B_I_STTP_ID"
  ON "QGC"."SD_STATTR_B" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STATTR_B_I_UOM_ID"
  ON "QGC"."SD_STATTR_B" ("UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_STATTR_B_20240520
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017937" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017938" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017939" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017940" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017941" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017942" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017943" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017944" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017945" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017946" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240520" ADD CONSTRAINT "SYS_C0017947" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_STATTR_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019404" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTR_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019405" UNIQUE ("STTP_ID", "ATTR_KEY", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTR_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018089" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018090" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018091" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018092" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018093" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018094" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018095" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018096" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018097" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018098" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0018099" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019393" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019394" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019395" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019396" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019397" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019398" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019399" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019400" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019401" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019402" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_20240605" ADD CONSTRAINT "SYS_C0019403" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTR_B_20240605
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTR_B_I_STTP_ID_copy2"
  ON "QGC"."SD_STATTR_B_20240605" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STATTR_B_I_UOM_ID_copy2"
  ON "QGC"."SD_STATTR_B_20240605" ("UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STATTR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018802" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STATTR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018803" UNIQUE ("STTP_ID", "ATTR_KEY", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STATTR_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017863" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017864" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017865" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017866" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017867" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017868" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017869" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017870" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017871" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017872" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0017873" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018794" CHECK ("ATTR_DISPLAY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018795" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018796" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018797" CHECK ("NULLABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018798" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018799" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018800" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0018801" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0019232" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0019233" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STATTR_B_240410SP" ADD CONSTRAINT "SYS_C0019234" CHECK ("ATTR_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STATTR_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STATTR_B_I_STTP_ID_copy1"
  ON "QGC"."SD_STATTR_B_240410SP" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STATTR_B_I_UOM_ID_copy1"
  ON "QGC"."SD_STATTR_B_240410SP" ("UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBLPRD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SD_STBLPRD_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STBLPRD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SD_STBLPRD_B_UK" UNIQUE ("STTP_ID", "BLPRD_CODE", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STBLPRD_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016902" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016903" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016904" CHECK ("BLPRD_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016905" CHECK ("BLPRD_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016906" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016907" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016908" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016909" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBLPRD_B" ADD CONSTRAINT "SYS_C0016910" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBLPRD_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STBLPRD_B_I_ENABLE"
  ON "QGC"."SD_STBLPRD_B" ("ENABLE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBLPRD_B_STTP_ID"
  ON "QGC"."SD_STBLPRD_B" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B" ADD CONSTRAINT "SD_STBPRP_B_PK" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B" ADD CONSTRAINT "SYS_C0016911" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B" ADD CONSTRAINT "SYS_C0016912" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B" ADD CONSTRAINT "SYS_C0016913" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B" ADD CONSTRAINT "SYS_C0016914" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP"
  ON "QGC"."SD_STBPRP_B" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL"
  ON "QGC"."SD_STBPRP_B" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0019202" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0017835" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0017836" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0017837" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0017838" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0019198" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0019199" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0019200" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240410SP" ADD CONSTRAINT "SYS_C0019201" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP_copy1"
  ON "QGC"."SD_STBPRP_B_240410SP" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL_copy1"
  ON "QGC"."SD_STBPRP_B_240410SP" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_240520SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240520SP" ADD CONSTRAINT "SYS_C0017954" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240520SP" ADD CONSTRAINT "SYS_C0017955" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240520SP" ADD CONSTRAINT "SYS_C0017956" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240520SP" ADD CONSTRAINT "SYS_C0017957" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B_240605SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0019379" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_240605SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0018074" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0018075" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0018076" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0018077" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0019375" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0019376" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0019377" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240605SP" ADD CONSTRAINT "SYS_C0019378" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B_240605SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP_copy2"
  ON "QGC"."SD_STBPRP_B_240605SP" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL_copy2"
  ON "QGC"."SD_STBPRP_B_240605SP" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018928" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018122" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018123" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018124" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018125" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018924" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018925" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018926" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240611SP" ADD CONSTRAINT "SYS_C0018927" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP_copy3"
  ON "QGC"."SD_STBPRP_B_240611SP" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL_copy3"
  ON "QGC"."SD_STBPRP_B_240611SP" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019523" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_240806SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018414" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018415" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018416" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0018417" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019519" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019520" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019521" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_240806SP" ADD CONSTRAINT "SYS_C0019522" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B_240806SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP_copy4"
  ON "QGC"."SD_STBPRP_B_240806SP" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL_copy4"
  ON "QGC"."SD_STBPRP_B_240806SP" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STBPRP_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033164" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table SD_STBPRP_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033156" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033157" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033158" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033159" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033160" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033161" CHECK ("STNM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033162" CHECK ("STTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STBPRP_B_250704dz" ADD CONSTRAINT "SYS_C0033163" CHECK ("USFL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STBPRP_B_250704dz
-- ----------------------------
CREATE INDEX "QGC"."SD_STBPRP_B_I_STTP_copy5"
  ON "QGC"."SD_STBPRP_B_250704dz" ("STTP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STBPRP_B_I_USFL_copy5"
  ON "QGC"."SD_STBPRP_B_250704dz" ("USFL" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STRLTN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SD_STRLTN_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STRLTN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SD_STRLTN_B_UK" UNIQUE ("STCD", "WBS_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STRLTN_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016915" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016916" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016917" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016918" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016919" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B" ADD CONSTRAINT "SYS_C0016920" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STRLTN_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STRLTN_B_I_STCD"
  ON "QGC"."SD_STRLTN_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STRLTN_B_I_WBS_ID"
  ON "QGC"."SD_STRLTN_B" ("WBS_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STRLTN_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019209" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STRLTN_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019210" UNIQUE ("STCD", "WBS_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STRLTN_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017839" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017840" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017841" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017842" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017843" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0017844" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019203" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019204" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019205" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019206" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019207" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240410SP" ADD CONSTRAINT "SYS_C0019208" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STRLTN_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STRLTN_B_I_STCD_copy1"
  ON "QGC"."SD_STRLTN_B_240410SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STRLTN_B_I_WBS_ID_copy1"
  ON "QGC"."SD_STRLTN_B_240410SP" ("WBS_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STRLTN_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018708" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STRLTN_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018709" UNIQUE ("STCD", "WBS_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STRLTN_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018188" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018189" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018190" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018191" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018192" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018193" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018702" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018703" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018704" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018705" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018706" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240611SP" ADD CONSTRAINT "SYS_C0018707" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STRLTN_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_STRLTN_B_I_STCD_copy2"
  ON "QGC"."SD_STRLTN_B_240611SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STRLTN_B_I_WBS_ID_copy2"
  ON "QGC"."SD_STRLTN_B_240611SP" ("WBS_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STRLTN_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020476" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STRLTN_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020477" UNIQUE ("STCD", "WBS_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STRLTN_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020464" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020465" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020466" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020467" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020468" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020469" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020470" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020471" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020472" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020473" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020474" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_240812" ADD CONSTRAINT "SYS_C0020475" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STRLTN_B_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_STRLTN_B_I_STCD_copy3"
  ON "QGC"."SD_STRLTN_B_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STRLTN_B_I_WBS_ID_copy3"
  ON "QGC"."SD_STRLTN_B_240812" ("WBS_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STRLTN_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033136" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STRLTN_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033137" UNIQUE ("STCD", "WBS_ID", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STRLTN_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033124" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033125" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033126" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033127" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033128" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033129" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033130" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033131" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033132" CHECK ("WBS_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033133" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033134" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STRLTN_B_250704dz" ADD CONSTRAINT "SYS_C0033135" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STRLTN_B_250704dz
-- ----------------------------
CREATE INDEX "QGC"."SD_STRLTN_B_I_STCD_copy4"
  ON "QGC"."SD_STRLTN_B_250704dz" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STRLTN_B_I_WBS_ID_copy4"
  ON "QGC"."SD_STRLTN_B_250704dz" ("WBS_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_STTP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SD_STTP_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STTP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SD_STTP_B_UK" UNIQUE ("STTP_CODE", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STTP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016891" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016892" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016893" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016894" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016895" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016896" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016897" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016898" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016899" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016900" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B" ADD CONSTRAINT "SYS_C0016901" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STTP_B
-- ----------------------------
CREATE INDEX "QGC"."SD_STTP_B_I_ENABLE"
  ON "QGC"."SD_STTP_B" ("ENABLE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STTP_B_I_PARENT_ID"
  ON "QGC"."SD_STTP_B" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STTP_B_I_STTP_CODE"
  ON "QGC"."SD_STTP_B" ("STTP_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_STTP_B_20240520
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017914" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017915" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017916" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017917" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017918" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017919" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017920" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017921" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017922" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017923" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240520" ADD CONSTRAINT "SYS_C0017924" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_STTP_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019391" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_STTP_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019392" UNIQUE ("STTP_CODE", "DEPARTMENT_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_STTP_B_20240605
-- ----------------------------
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018078" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018079" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018080" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018081" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018082" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018083" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018084" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018085" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018086" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018087" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0018088" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019380" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019381" CHECK ("STTP_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019382" CHECK ("STTP_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019383" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019384" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019385" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019386" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019387" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019388" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019389" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_STTP_B_20240605" ADD CONSTRAINT "SYS_C0019390" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_STTP_B_20240605
-- ----------------------------
CREATE INDEX "QGC"."SD_STTP_B_I_ENABLE_copy1"
  ON "QGC"."SD_STTP_B_20240605" ("ENABLE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STTP_B_I_PARENT_ID_copy1"
  ON "QGC"."SD_STTP_B_20240605" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_STTP_B_I_STTP_CODE_copy1"
  ON "QGC"."SD_STTP_B_20240605" ("STTP_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TEDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SD_TEDD_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TEDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016828" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016829" CHECK ("TE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016830" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016831" CHECK ("AREA" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016832" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TEDET_R" ADD CONSTRAINT "SYS_C0016833" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TEDET_R
-- ----------------------------
CREATE INDEX "QGC"."SD_TEDD_R_I_TEID"
  ON "QGC"."SD_TEDET_R" ("TE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_TEDD_R_I_TETP"
  ON "QGC"."SD_TEDET_R" ("TETP" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TERGB_B
-- ----------------------------
ALTER TABLE "QGC"."SD_TERGB_B" ADD CONSTRAINT "SD_TERGB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TERGB_B
-- ----------------------------
ALTER TABLE "QGC"."SD_TERGB_B" ADD CONSTRAINT "SYS_C0016834" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TERGB_B" ADD CONSTRAINT "SYS_C0016835" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TERGB_B" ADD CONSTRAINT "SYS_C0016836" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_TERS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TERS_R" ADD CONSTRAINT "SD_TERS_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TERS_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TERS_R" ADD CONSTRAINT "SYS_C0016837" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TERS_R" ADD CONSTRAINT "SYS_C0016838" CHECK ("TE_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TERS_R" ADD CONSTRAINT "SYS_C0016839" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TERS_R" ADD CONSTRAINT "SYS_C0016840" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_TE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SD_TE_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SYS_C0016457" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SYS_C0016458" CHECK ("IMAGE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SYS_C0016459" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SYS_C0016460" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TE_R" ADD CONSTRAINT "SYS_C0016461" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TE_R
-- ----------------------------
CREATE INDEX "QGC"."SD_TE_R_I_DT"
  ON "QGC"."SD_TE_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMPDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SD_TMPDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMPDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SYS_C0017506" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SYS_C0017507" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SYS_C0017508" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SYS_C0017509" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S" ADD CONSTRAINT "SYS_C0017510" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMPDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_TMPDAY_S_I_SDD"
  ON "QGC"."SD_TMPDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMPDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019018" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMPDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0018301" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0018302" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0018303" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0018304" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0018305" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019013" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019014" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019015" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019016" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDAY_S_240725" ADD CONSTRAINT "SYS_C0019017" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMPDAY_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_TMPDAY_S_I_SDD_copy1"
  ON "QGC"."SD_TMPDAY_S_240725" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMPDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SD_TMPDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMPDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017494" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017495" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017496" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017497" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017498" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S" ADD CONSTRAINT "SYS_C0017499" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMPDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_TMPDRTP_S_I_DSTD"
  ON "QGC"."SD_TMPDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_TMPDRTP_S_I_DSYD"
  ON "QGC"."SD_TMPDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMPDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019025" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMPDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018306" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018307" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018308" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018309" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018310" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0018311" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019019" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019020" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019021" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019022" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019023" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMPDRTP_S_240725" ADD CONSTRAINT "SYS_C0019024" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMPDRTP_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_TMPDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_TMPDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_TMPDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_TMPDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMP_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SD_TMP_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMP_R
-- ----------------------------
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SYS_C0016584" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SYS_C0016585" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SYS_C0016586" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SYS_C0016587" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R" ADD CONSTRAINT "SYS_C0016588" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMP_R
-- ----------------------------
CREATE INDEX "QGC"."SD_TMP_R_I_STD"
  ON "QGC"."SD_TMP_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_TMP_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019012" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_TMP_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0018296" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0018297" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0018298" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0018299" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0018300" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019007" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019008" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019009" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019010" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_TMP_R_240725" ADD CONSTRAINT "SYS_C0019011" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_TMP_R_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_TMP_R_I_STD_copy1"
  ON "QGC"."SD_TMP_R_240725" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_VABASIC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_VABASIC_B" ADD CONSTRAINT "SD_VABASIC_B_ID" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VABASIC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_VABASIC_B" ADD CONSTRAINT "SYS_C0017047" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VABASIC_B" ADD CONSTRAINT "SYS_C0017048" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VABASIC_B" ADD CONSTRAINT "SYS_C0017049" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VABASIC_B" ADD CONSTRAINT "SYS_C0017050" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_VADRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SD_VADRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VADRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017267" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017268" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017269" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017270" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017271" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017272" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SYS_C0017273" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_VA_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SD_VA_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VA_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016572" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016573" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016574" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016575" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016576" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R" ADD CONSTRAINT "SYS_C0016577" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_VA_R
-- ----------------------------
CREATE INDEX "QGC"."SD_VA_R_I_STD"
  ON "QGC"."SD_VA_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_VA_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020461" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VA_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020449" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020450" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020451" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020452" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020453" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020454" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020455" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020456" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020457" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020458" CHECK ("TETP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020459" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VA_R_240812" ADD CONSTRAINT "SYS_C0020460" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_VA_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_VA_R_I_STD_copy1"
  ON "QGC"."SD_VA_R_240812" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_VDINFO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SD_VDINFO_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VDINFO_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SYS_C0016505" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SYS_C0016506" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SYS_C0016507" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SYS_C0016508" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VDINFO_R" ADD CONSTRAINT "SYS_C0016509" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_VDINFO_R
-- ----------------------------
CREATE INDEX "QGC"."SD_VDINFO_R_I_STD"
  ON "QGC"."SD_VDINFO_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_VPBASIC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SD_VPBASIC_B_ID" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VPBASIC_B
-- ----------------------------
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017088" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017089" CHECK ("CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017090" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017091" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017092" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017093" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPBASIC_B" ADD CONSTRAINT "SYS_C0017094" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_VPDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SD_VPDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VPDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017259" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017260" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017261" CHECK ("PLANT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017262" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017263" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017264" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017265" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SYS_C0017266" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_VP_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SD_VP_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VP_R
-- ----------------------------
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016532" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016533" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016534" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016535" CHECK ("PLANT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016536" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R" ADD CONSTRAINT "SYS_C0016537" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_VP_R
-- ----------------------------
CREATE INDEX "QGC"."SD_VP_R_I_PLANT_ID"
  ON "QGC"."SD_VP_R" ("PLANT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_VP_R_I_RSTCD"
  ON "QGC"."SD_VP_R" ("RSTCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_VP_R_I_STD"
  ON "QGC"."SD_VP_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_VP_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020447" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_VP_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020435" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020436" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020437" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020438" CHECK ("PLANT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020439" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020440" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020441" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020442" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020443" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020444" CHECK ("PLANT_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020445" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VP_R_240812" ADD CONSTRAINT "SYS_C0020446" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_VP_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_VP_R_I_PLANT_ID_copy1"
  ON "QGC"."SD_VP_R_240812" ("PLANT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_VP_R_I_RSTCD_copy1"
  ON "QGC"."SD_VP_R_240812" ("RSTCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_VP_R_I_STD_copy1"
  ON "QGC"."SD_VP_R_240812" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WBS_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SD_WBS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_WBS_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SD_WBS_B_UK" UNIQUE ("WBS_TYPE", "WBS_CODE") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_WBS_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016879" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016880" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016881" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016882" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016883" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016884" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016885" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016886" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016887" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016888" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016889" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B" ADD CONSTRAINT "SYS_C0016890" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WBS_B
-- ----------------------------
CREATE INDEX "QGC"."SD_WBS_B_I_PARENT_ID"
  ON "QGC"."SD_WBS_B" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_TYPE"
  ON "QGC"."SD_WBS_B" ("WBS_TYPE" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_WBS_CODE"
  ON "QGC"."SD_WBS_B" ("WBS_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WBS_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019231" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WBS_B_240410SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017851" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017852" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017853" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017854" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017855" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017856" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017857" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017858" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017859" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017860" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017861" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0017862" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019219" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019220" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019221" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019222" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019223" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019224" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019225" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019226" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019227" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019228" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019229" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240410SP" ADD CONSTRAINT "SYS_C0019230" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WBS_B_240410SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WBS_B_I_PARENT_ID_copy1"
  ON "QGC"."SD_WBS_B_240410SP" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_WBS_CODE_copy1"
  ON "QGC"."SD_WBS_B_240410SP" ("WBS_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_WBS_B_240520SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017925" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017926" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017927" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017928" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017929" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017930" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017931" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017932" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017933" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017934" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017935" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240520SP" ADD CONSTRAINT "SYS_C0017936" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WBS_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018701" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WBS_B_240611SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018176" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018177" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018178" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018179" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018180" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018181" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018182" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018183" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018184" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018185" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018186" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018187" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018689" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018690" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018691" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018692" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018693" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018694" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018695" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018696" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018697" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018698" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018699" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240611SP" ADD CONSTRAINT "SYS_C0018700" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WBS_B_240611SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WBS_B_I_PARENT_ID_copy2"
  ON "QGC"."SD_WBS_B_240611SP" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_TYPE_copy1"
  ON "QGC"."SD_WBS_B_240611SP" ("WBS_TYPE" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_WBS_CODE_copy2"
  ON "QGC"."SD_WBS_B_240611SP" ("WBS_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WBS_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020925" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_WBS_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020926" UNIQUE ("WBS_TYPE", "WBS_CODE") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_WBS_B_240821
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020901" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020902" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020903" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020904" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020905" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020906" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020907" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020908" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020909" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020910" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020911" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020912" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020913" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020914" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020915" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020916" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020917" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020918" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020919" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020920" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020921" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020922" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020923" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_240821" ADD CONSTRAINT "SYS_C0020924" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WBS_B_240821
-- ----------------------------
CREATE INDEX "QGC"."SD_WBS_B_I_PARENT_ID_copy3"
  ON "QGC"."SD_WBS_B_240821" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_TYPE_copy2"
  ON "QGC"."SD_WBS_B_240821" ("WBS_TYPE" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_WBS_CODE_copy3"
  ON "QGC"."SD_WBS_B_240821" ("WBS_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WBS_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033108" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SD_WBS_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033109" UNIQUE ("WBS_TYPE", "WBS_CODE") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SD_WBS_B_250704dz
-- ----------------------------
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033084" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033085" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033086" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033087" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033088" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033089" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033090" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033091" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033092" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033093" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033094" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033095" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033096" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033097" CHECK ("WBS_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033098" CHECK ("WBS_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033099" CHECK ("WBS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033100" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033101" CHECK ("FULL_PATH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033102" CHECK ("TREE_LEVEL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033103" CHECK ("HAS_CHILDREN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033104" CHECK ("INTERNAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033105" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033106" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WBS_B_250704dz" ADD CONSTRAINT "SYS_C0033107" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WBS_B_250704dz
-- ----------------------------
CREATE INDEX "QGC"."SD_WBS_B_I_PARENT_ID_copy4"
  ON "QGC"."SD_WBS_B_250704dz" ("PARENT_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_TYPE_copy3"
  ON "QGC"."SD_WBS_B_250704dz" ("WBS_TYPE" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WBS_B_I_WBS_CODE_copy4"
  ON "QGC"."SD_WBS_B_250704dz" ("WBS_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEDETECTION_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SD_WEDETECTION_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEDETECTION_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016767" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016768" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016769" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016770" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016771" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016772" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEDETECTION_R" ADD CONSTRAINT "SYS_C0016773" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEDETECTION_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WEDETECTION_R_I_STCD"
  ON "QGC"."SD_WEDETECTION_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEDETECTION_R_I_TM"
  ON "QGC"."SD_WEDETECTION_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFISHAI_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SD_WEFISHAI_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHAI_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018526" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018527" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018528" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018529" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018530" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018531" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SYS_C0018532" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHAI_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019353" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHAI_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018044" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018045" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018046" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018047" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018048" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018049" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018050" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0018051" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019345" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019346" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019347" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019348" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019349" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019350" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019351" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240604SP" ADD CONSTRAINT "SYS_C0019352" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHAI_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019453" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHAI_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018533" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018534" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018535" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018536" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018537" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018538" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0018539" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019446" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019447" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019448" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019449" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019450" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019451" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240726SP" ADD CONSTRAINT "SYS_C0019452" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHAI_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020152" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHAI_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020138" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020139" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020140" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020141" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020142" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020143" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020144" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020145" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020146" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020147" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020148" CHECK ("DCPC" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020149" CHECK ("DETECTION_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020150" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHAI_R_240812" ADD CONSTRAINT "SYS_C0020151" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SD_WEFISHDET_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0016515" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0016516" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0016517" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0016518" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0021603" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0021604" CHECK ("WEFISHR_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0021605" CHECK ("WER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0021606" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SYS_C0021607" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHDET_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0019358" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHDET_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0018052" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0018053" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0018054" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0018055" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0019354" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0019355" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0019356" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240604SP" ADD CONSTRAINT "SYS_C0019357" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHDET_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0019458" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHDET_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0018360" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0018361" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0018362" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0018363" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0019454" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0019455" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0019456" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240726SP" ADD CONSTRAINT "SYS_C0019457" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISHDET_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020161" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISHDET_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020153" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020154" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020155" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020156" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020157" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020158" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020159" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R_240812" ADD CONSTRAINT "SYS_C0020160" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SD_WEFISH_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISH_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016440" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016441" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016442" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016443" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016444" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0016445" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0021593" CHECK ("WER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R" ADD CONSTRAINT "SYS_C0021594" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFISH_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFISH_R_I_STCD"
  ON "QGC"."SD_WEFISH_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_TM"
  ON "QGC"."SD_WEFISH_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_WERID"
  ON "QGC"."SD_WEFISH_R" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFISH_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019344" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISH_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018038" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018039" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018040" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018041" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018042" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0018043" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019338" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019339" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019340" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019341" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019342" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240604SP" ADD CONSTRAINT "SYS_C0019343" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFISH_R_240604SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFISH_R_I_STCD_copy1"
  ON "QGC"."SD_WEFISH_R_240604SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_TM_copy1"
  ON "QGC"."SD_WEFISH_R_240604SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_WERID_copy1"
  ON "QGC"."SD_WEFISH_R_240604SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Checks structure for table SD_WEFISH_R_240624_LW
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018256" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018257" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018258" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018259" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018260" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240624_LW" ADD CONSTRAINT "SYS_C0018261" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WEFISH_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019445" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISH_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018354" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018355" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018356" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018357" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018358" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0018359" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019439" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019440" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019441" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019442" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019443" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240726SP" ADD CONSTRAINT "SYS_C0019444" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFISH_R_240726SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFISH_R_I_STCD_copy2"
  ON "QGC"."SD_WEFISH_R_240726SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_TM_copy2"
  ON "QGC"."SD_WEFISH_R_240726SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_WERID_copy2"
  ON "QGC"."SD_WEFISH_R_240726SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFISH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020137" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFISH_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020125" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020126" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020127" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020128" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020129" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020130" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020131" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020132" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020133" CHECK ("FTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020134" CHECK ("FSZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020135" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISH_R_240812" ADD CONSTRAINT "SYS_C0020136" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFISH_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFISH_R_I_STCD_copy3"
  ON "QGC"."SD_WEFISH_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_TM_copy3"
  ON "QGC"."SD_WEFISH_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFISH_R_I_WERID_copy3"
  ON "QGC"."SD_WEFISH_R_240812" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SD_WEFV_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0016446" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0016447" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0016448" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0016449" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0021595" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0021600" CHECK ("WER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R" ADD CONSTRAINT "SYS_C0021602" CHECK ("FLOW_RATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFV_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFV_R_I_STCD"
  ON "QGC"."SD_WEFV_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_TM"
  ON "QGC"."SD_WEFV_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_WERID"
  ON "QGC"."SD_WEFV_R" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFV_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0019333" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFV_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0018031" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0018032" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0018033" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0018034" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0019329" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0019330" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0019331" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240604SP" ADD CONSTRAINT "SYS_C0019332" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFV_R_240604SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFV_R_I_STCD_copy1"
  ON "QGC"."SD_WEFV_R_240604SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_TM_copy1"
  ON "QGC"."SD_WEFV_R_240604SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_WERID_copy1"
  ON "QGC"."SD_WEFV_R_240604SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFV_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0019463" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFV_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0018364" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0018365" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0018366" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0018367" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0019459" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0019460" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0019461" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240726SP" ADD CONSTRAINT "SYS_C0019462" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFV_R_240726SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFV_R_I_STCD_copy2"
  ON "QGC"."SD_WEFV_R_240726SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_TM_copy2"
  ON "QGC"."SD_WEFV_R_240726SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_WERID_copy2"
  ON "QGC"."SD_WEFV_R_240726SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEFV_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020171" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEFV_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020163" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020164" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020165" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020166" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020167" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020168" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020169" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFV_R_240812" ADD CONSTRAINT "SYS_C0020170" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEFV_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WEFV_R_I_STCD_copy3"
  ON "QGC"."SD_WEFV_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_TM_copy3"
  ON "QGC"."SD_WEFV_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEFV_R_I_WERID_copy3"
  ON "QGC"."SD_WEFV_R_240812" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SD_WEWQ_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0016450" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0016451" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0016452" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0021596" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0021597" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R" ADD CONSTRAINT "SYS_C0021598" CHECK ("WER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWQ_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWQ_R_I_STCD"
  ON "QGC"."SD_WEWQ_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_TM"
  ON "QGC"."SD_WEWQ_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_WERID"
  ON "QGC"."SD_WEWQ_R" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWQ_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0019337" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWQ_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0018035" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0018036" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0018037" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0019334" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0019335" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240604SP" ADD CONSTRAINT "SYS_C0019336" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWQ_R_240604SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWQ_R_I_STCD_copy1"
  ON "QGC"."SD_WEWQ_R_240604SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_TM_copy1"
  ON "QGC"."SD_WEWQ_R_240604SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_WERID_copy1"
  ON "QGC"."SD_WEWQ_R_240604SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWQ_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0019467" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWQ_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0018368" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0018369" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0018370" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0019464" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0019465" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240726SP" ADD CONSTRAINT "SYS_C0019466" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWQ_R_240726SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWQ_R_I_STCD_copy2"
  ON "QGC"."SD_WEWQ_R_240726SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_TM_copy2"
  ON "QGC"."SD_WEWQ_R_240726SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_WERID_copy2"
  ON "QGC"."SD_WEWQ_R_240726SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020178" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020172" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020173" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020174" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020175" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020176" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWQ_R_240812" ADD CONSTRAINT "SYS_C0020177" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWQ_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWQ_R_I_STCD_copy3"
  ON "QGC"."SD_WEWQ_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_TM_copy3"
  ON "QGC"."SD_WEWQ_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWQ_R_I_WERID_copy3"
  ON "QGC"."SD_WEWQ_R_240812" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SD_WEWT_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0016453" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0016454" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0016455" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0016456" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0021599" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0021601" CHECK ("WT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R" ADD CONSTRAINT "SYS_C0021608" CHECK ("WER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWT_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWT_R_I_STCD"
  ON "QGC"."SD_WEWT_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_TM"
  ON "QGC"."SD_WEWT_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_WERID"
  ON "QGC"."SD_WEWT_R" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWT_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0019328" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWT_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0018027" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0018028" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0018029" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0018030" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0019324" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0019325" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0019326" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240604SP" ADD CONSTRAINT "SYS_C0019327" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWT_R_240604SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWT_R_I_STCD_copy1"
  ON "QGC"."SD_WEWT_R_240604SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_TM_copy1"
  ON "QGC"."SD_WEWT_R_240604SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_WERID_copy1"
  ON "QGC"."SD_WEWT_R_240604SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWT_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0019472" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWT_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0018371" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0018372" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0018373" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0018374" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0019468" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0019469" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0019470" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240726SP" ADD CONSTRAINT "SYS_C0019471" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWT_R_240726SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWT_R_I_STCD_copy2"
  ON "QGC"."SD_WEWT_R_240726SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_TM_copy2"
  ON "QGC"."SD_WEWT_R_240726SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_WERID_copy2"
  ON "QGC"."SD_WEWT_R_240726SP" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WEWT_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020187" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WEWT_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020179" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020180" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020181" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020182" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020183" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020184" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020185" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEWT_R_240812" ADD CONSTRAINT "SYS_C0020186" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WEWT_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WEWT_R_I_STCD_copy3"
  ON "QGC"."SD_WEWT_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_TM_copy3"
  ON "QGC"."SD_WEWT_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WEWT_R_I_WERID_copy3"
  ON "QGC"."SD_WEWT_R_240812" ("WER_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SD_WE_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WE_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016434" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016435" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016436" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016437" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016438" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R" ADD CONSTRAINT "SYS_C0016439" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WE_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WE_R_I_STCD"
  ON "QGC"."SD_WE_R" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WE_R_I_TM"
  ON "QGC"."SD_WE_R" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WE_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019323" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WE_R_240604SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018021" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018022" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018023" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018024" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018025" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0018026" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019317" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019318" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019319" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019320" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019321" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240604SP" ADD CONSTRAINT "SYS_C0019322" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WE_R_240604SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WE_R_I_STCD_copy1"
  ON "QGC"."SD_WE_R_240604SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WE_R_I_TM_copy1"
  ON "QGC"."SD_WE_R_240604SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WE_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019438" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WE_R_240726SP
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018348" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018349" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018350" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018351" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018352" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0018353" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019432" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019433" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019434" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019435" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019436" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240726SP" ADD CONSTRAINT "SYS_C0019437" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WE_R_240726SP
-- ----------------------------
CREATE INDEX "QGC"."SD_WE_R_I_STCD_copy2"
  ON "QGC"."SD_WE_R_240726SP" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WE_R_I_TM_copy2"
  ON "QGC"."SD_WE_R_240726SP" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WE_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020124" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WE_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020112" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020113" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020114" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020115" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020116" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020117" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020118" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020119" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020120" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020121" CHECK ("STATUS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020122" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WE_R_240812" ADD CONSTRAINT "SYS_C0020123" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WE_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WE_R_I_STCD_copy3"
  ON "QGC"."SD_WE_R_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WE_R_I_TM_copy3"
  ON "QGC"."SD_WE_R_240812" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WNDDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SD_WNDDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WNDDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SYS_C0016649" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SYS_C0016650" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SYS_C0016651" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SYS_C0016652" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S" ADD CONSTRAINT "SYS_C0016653" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WNDDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WNDDAY_S_I_SDD"
  ON "QGC"."SD_WNDDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WNDDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019154" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WNDDAY_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0018317" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0018318" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0018319" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0018320" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0018321" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019149" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019150" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019151" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019152" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDAY_S_240725" ADD CONSTRAINT "SYS_C0019153" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WNDDAY_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_WNDDAY_S_I_SDD_copy1"
  ON "QGC"."SD_WNDDAY_S_240725" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WNDDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "PK_SD_WNDDRTP_S" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WNDDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016748" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016749" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016750" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016751" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016752" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016753" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S" ADD CONSTRAINT "SYS_C0016754" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WNDDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WNDDRTP_S_I"
  ON "QGC"."SD_WNDDRTP_S" ("STCD" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WNDDRTP_S_I_DSTD"
  ON "QGC"."SD_WNDDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WNDDRTP_S_I_DSYD"
  ON "QGC"."SD_WNDDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WNDDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019162" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WNDDRTP_S_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018322" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018323" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018324" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018325" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018326" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018327" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0018328" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019155" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019156" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019157" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019158" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019159" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019160" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WNDDRTP_S_240725" ADD CONSTRAINT "SYS_C0019161" CHECK ("IS_TEMP_STORAGE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WNDDRTP_S_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_WNDDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_WNDDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WNDDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_WNDDRTP_S_240725" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WNDDRTP_S_I_copy1"
  ON "QGC"."SD_WNDDRTP_S_240725" ("STCD" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WND_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SD_WND_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WND_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SYS_C0016589" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SYS_C0016590" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SYS_C0016591" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SYS_C0016592" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R" ADD CONSTRAINT "SYS_C0016593" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WND_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WND_R_I_STD"
  ON "QGC"."SD_WND_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WND_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019148" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WND_R_240725
-- ----------------------------
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0018312" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0018313" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0018314" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0018315" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0018316" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019143" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019144" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019145" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019146" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WND_R_240725" ADD CONSTRAINT "SYS_C0019147" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WND_R_240725
-- ----------------------------
CREATE INDEX "QGC"."SD_WND_R_I_STD_copy1"
  ON "QGC"."SD_WND_R_240725" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SD_WQDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SYS_C0016544" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SYS_C0016545" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SYS_C0016546" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SYS_C0016547" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S" ADD CONSTRAINT "SYS_C0016548" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WQDAY_S_I_SDD"
  ON "QGC"."SD_WQDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQDAY_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020095" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQDAY_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020085" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020086" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020087" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020088" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020089" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020090" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020091" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020092" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020093" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDAY_S_240812" ADD CONSTRAINT "SYS_C0020094" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQDAY_S_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WQDAY_S_I_SDD_copy1"
  ON "QGC"."SD_WQDAY_S_240812" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SD_WQDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016632" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016633" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016634" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016635" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016636" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S" ADD CONSTRAINT "SYS_C0016637" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WQDRTP_S_I_DSTD"
  ON "QGC"."SD_WQDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WQDRTP_S_I_DSYD"
  ON "QGC"."SD_WQDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQDRTP_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020108" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQDRTP_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020096" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020097" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020098" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020099" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020100" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020101" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020102" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020103" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020104" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020105" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020106" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQDRTP_S_240812" ADD CONSTRAINT "SYS_C0020107" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQDRTP_S_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WQDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_WQDRTP_S_240812" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WQDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_WQDRTP_S_240812" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQLST_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SD_WQLST_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQLST_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SYS_C0016270" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SYS_C0016271" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SYS_C0016272" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SYS_C0016273" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQLST_S" ADD CONSTRAINT "SYS_C0016274" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQLST_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WQLST_S_I_STCD"
  ON "QGC"."SD_WQLST_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WQLST_S_I_TM"
  ON "QGC"."SD_WQLST_S" ("TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQWRNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SD_WQWRNDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQWRNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SYS_C0016275" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SYS_C0016276" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SYS_C0016277" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SYS_C0016278" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDAY_S" ADD CONSTRAINT "SYS_C0016279" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQWRNDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WQWRNDAY_S_I_DT"
  ON "QGC"."SD_WQWRNDAY_S" ("DT" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WQWRNDAY_S_I_STCD"
  ON "QGC"."SD_WQWRNDAY_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQWRNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SD_WQWRNDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQWRNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016280" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016281" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016282" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016283" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016284" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQWRNDRTP_S" ADD CONSTRAINT "SYS_C0016285" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQWRNDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WQWRNDRTP_S_I_STCD"
  ON "QGC"."SD_WQWRNDRTP_S" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WQWRNDRTP_S_I_YEAR"
  ON "QGC"."SD_WQWRNDRTP_S" ("YEAR" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SD_WQ_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQ_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SYS_C0016494" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SYS_C0016495" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SYS_C0016496" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SYS_C0016497" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R" ADD CONSTRAINT "SYS_C0016498" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQ_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WQ_R_I_STD"
  ON "QGC"."SD_WQ_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020084" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WQ_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020074" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020075" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020076" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020077" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020078" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020079" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020080" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020081" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020082" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WQ_R_240812" ADD CONSTRAINT "SYS_C0020083" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WQ_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WQ_R_I_STD_copy1"
  ON "QGC"."SD_WQ_R_240812" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WRT_C
-- ----------------------------
ALTER TABLE "QGC"."SD_WRT_C" ADD CONSTRAINT "SD_WRT_C_PK" PRIMARY KEY ("STCD", "TM", "H");

-- ----------------------------
-- Checks structure for table SD_WRT_C
-- ----------------------------
ALTER TABLE "QGC"."SD_WRT_C" ADD CONSTRAINT "SYS_C0017044" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C" ADD CONSTRAINT "SYS_C0017045" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C" ADD CONSTRAINT "SYS_C0017046" CHECK ("H" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WRT_C
-- ----------------------------
CREATE INDEX "QGC"."SD_WRT_C_I_STCD"
  ON "QGC"."SD_WRT_C" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WRT_C_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020069" PRIMARY KEY ("STCD", "TM", "H");

-- ----------------------------
-- Checks structure for table SD_WRT_C_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020063" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020064" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020065" CHECK ("H" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020066" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020067" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WRT_C_240812" ADD CONSTRAINT "SYS_C0020068" CHECK ("H" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WRT_C_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WRT_C_I_STCD_copy1"
  ON "QGC"."SD_WRT_C_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTNP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SD_WTNP_B_PK" PRIMARY KEY ("STCD", "WTTP", "MNTH");

-- ----------------------------
-- Checks structure for table SD_WTNP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SYS_C0016774" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SYS_C0016775" CHECK ("WTTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SYS_C0016776" CHECK ("MNTH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SYS_C0016777" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SYS_C0016778" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_WTRVAMEND_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SD_WTRVAMEND_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRVAMEND_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SYS_C0041064" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SYS_C0041065" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SYS_C0041066" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SYS_C0041067" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVAMEND_S" ADD CONSTRAINT "SYS_C0041068" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRVAMEND_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRVAMEND_S_I_SDD"
  ON "QGC"."SD_WTRVAMEND_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRVDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SD_WTRVDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRVDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SYS_C0016232" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SYS_C0016233" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SYS_C0016234" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SYS_C0016235" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S" ADD CONSTRAINT "SYS_C0016236" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRVDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRVDAY_S_I_SDD"
  ON "QGC"."SD_WTRVDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRVDAY_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020046" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRVDAY_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020036" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020037" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020038" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020039" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020040" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020041" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020042" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020043" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020044" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDAY_S_240812" ADD CONSTRAINT "SYS_C0020045" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRVDAY_S_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRVDAY_S_I_SDD_copy1"
  ON "QGC"."SD_WTRVDAY_S_240812" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRVDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SD_WTRVDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRVDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016237" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016238" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016239" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016240" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016241" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S" ADD CONSTRAINT "SYS_C0016242" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRVDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRVDRTP_S_I_DSTD"
  ON "QGC"."SD_WTRVDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTRVDRTP_S_I_DSYD"
  ON "QGC"."SD_WTRVDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRVDRTP_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020059" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRVDRTP_S_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020047" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020048" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020049" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020050" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020051" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020052" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020053" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020054" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020055" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020056" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020057" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRVDRTP_S_240812" ADD CONSTRAINT "SYS_C0020058" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRVDRTP_S_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRVDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_WTRVDRTP_S_240812" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTRVDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_WTRVDRTP_S_240812" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SD_WTRV_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRV_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SYS_C0016216" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SYS_C0016217" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SYS_C0016218" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SYS_C0016219" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R" ADD CONSTRAINT "SYS_C0016220" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRV_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRV_R_I_STD"
  ON "QGC"."SD_WTRV_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTRV_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020035" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTRV_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020025" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020026" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020027" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020028" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020029" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020030" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020031" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020032" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020033" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTRV_R_240812" ADD CONSTRAINT "SYS_C0020034" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTRV_R_240812
-- ----------------------------
CREATE INDEX "QGC"."SD_WTRV_R_I_STD_copy1"
  ON "QGC"."SD_WTRV_R_240812" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVTDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SD_WTVTDAY_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVTDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0016221" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0016222" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0016223" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0016224" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0016225" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S" ADD CONSTRAINT "SYS_C0021317" CHECK ("WTHG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVTDAY_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVTDAY_S_I_SDD"
  ON "QGC"."SD_WTVTDAY_S" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVTDAY_S_I_SWD"
  ON "QGC"."SD_WTVTDAY_S" ("STCD" ASC, "WTHG" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVTDAY_S_240830
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021301" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVTDAY_S_240830
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021291" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021292" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021293" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021294" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021295" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021296" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021297" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021298" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021299" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDAY_S_240830" ADD CONSTRAINT "SYS_C0021300" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVTDAY_S_240830
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVTDAY_S_I_SDD_copy1"
  ON "QGC"."SD_WTVTDAY_S_240830" ("STCD" ASC, "DT" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVTDAY_S_I_SWD_copy1"
  ON "QGC"."SD_WTVTDAY_S_240830" ("STCD" ASC, "WTHG" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVTDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SD_WTVTDRTP_S_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVTDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016226" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016227" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016228" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016229" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016230" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0016231" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0021318" CHECK ("WTHG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S" ADD CONSTRAINT "SYS_C0021319" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVTDRTP_S
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVTDRTP_S_I_DSTD"
  ON "QGC"."SD_WTVTDRTP_S" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVTDRTP_S_I_DSYD"
  ON "QGC"."SD_WTVTDRTP_S" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVTDRTP_S_240830
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021315" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVTDRTP_S_240830
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021303" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021304" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021305" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021306" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021307" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021308" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021309" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021310" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021311" CHECK ("DRTP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021312" CHECK ("YEAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021313" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVTDRTP_S_240830" ADD CONSTRAINT "SYS_C0021314" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVTDRTP_S_240830
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVTDRTP_S_I_DSTD_copy1"
  ON "QGC"."SD_WTVTDRTP_S_240830" ("DRTP" ASC, "STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVTDRTP_S_I_DSYD_copy1"
  ON "QGC"."SD_WTVTDRTP_S_240830" ("DRTP" ASC, "STCD" ASC, "YEAR" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SD_WTVT_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVT_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016194" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016195" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016196" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016197" CHECK ("WTHG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016198" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R" ADD CONSTRAINT "SYS_C0016199" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVT_R
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVT_R_I_STD"
  ON "QGC"."SD_WTVT_R" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVT_R_I_SWD"
  ON "QGC"."SD_WTVT_R" ("STCD" ASC, "WTHG" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WTVT_R_TEMP
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SD_WTVT_R_TEMP_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WTVT_R_TEMP
-- ----------------------------
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033283" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033284" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033285" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033286" CHECK ("WTHG" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033287" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WTVT_R_TEMP" ADD CONSTRAINT "SYS_C0033288" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_WTVT_R_TEMP
-- ----------------------------
CREATE INDEX "QGC"."SD_WTVT_R_TEMP_I_STD"
  ON "QGC"."SD_WTVT_R_TEMP" ("STCD" ASC, "TM" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_WTVT_R_TEMP_I_SWD"
  ON "QGC"."SD_WTVT_R_TEMP" ("STCD" ASC, "WTHG" ASC, "IS_DELETED" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_WVA_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SD_WVA_R_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_WVA_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SYS_C0017806" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SYS_C0017807" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SYS_C0017808" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SYS_C0017809" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SYS_C0017810" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_YRAVG_T
-- ----------------------------
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SD_YRAVG_T_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_YRAVG_T
-- ----------------------------
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016549" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016550" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016551" CHECK ("SITE_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016552" CHECK ("TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016553" CHECK ("MONTH" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016554" CHECK ("DT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016555" CHECK ("VALUE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016556" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_YRAVG_T" ADD CONSTRAINT "SYS_C0016557" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table SD_YRAVG_T
-- ----------------------------
CREATE INDEX "QGC"."SD_YRAVG_T_I_STCD"
  ON "QGC"."SD_YRAVG_T" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."SD_YRAVG_T_I_TM"
  ON "QGC"."SD_YRAVG_T" ("DT" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SD_ZL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ZL_B" ADD CONSTRAINT "SD_ZL_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table SD_ZL_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ZL_B" ADD CONSTRAINT "SYS_C0018441" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ZL_B" ADD CONSTRAINT "SYS_C0018442" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ZL_B" ADD CONSTRAINT "SYS_C0018443" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table SD_ZVARL_C
-- ----------------------------
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SYS_C0018826" PRIMARY KEY ("STCD", "TM", "PTNO");

-- ----------------------------
-- Checks structure for table SD_ZVARL_C
-- ----------------------------
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SYS_C0017154" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SYS_C0017155" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SYS_C0017156" CHECK ("PTNO" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SYS_C0017157" CHECK ("RZ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table ST_STBPRP_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "ST_STBPRPYS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STBPRP_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "ST_STBPRPYS_B_UK" UNIQUE ("STCD", "STTP_TB_YS_B_ID", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STBPRP_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016954" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016955" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016956" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016957" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016958" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016959" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B" ADD CONSTRAINT "SYS_C0016960" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STBPRP_YS_B
-- ----------------------------
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STCD"
  ON "QGC"."ST_STBPRP_YS_B" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STTPTY_ID"
  ON "QGC"."ST_STBPRP_YS_B" ("STTP_TB_YS_B_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_STBPRP_YS_B_240410
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019072" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STBPRP_YS_B_240410
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019073" UNIQUE ("STCD", "STTP_TB_YS_B_ID", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STBPRP_YS_B_240410
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017893" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017894" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017895" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017896" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017897" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017898" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0017899" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019065" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019066" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019067" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019068" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019069" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019070" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240410" ADD CONSTRAINT "SYS_C0019071" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STBPRP_YS_B_240410
-- ----------------------------
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STCD_copy1"
  ON "QGC"."ST_STBPRP_YS_B_240410" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_STBPRP_YS_B_240611
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018717" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STBPRP_YS_B_240611
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018718" UNIQUE ("STCD", "STTP_TB_YS_B_ID", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STBPRP_YS_B_240611
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018194" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018195" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018196" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018197" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018198" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018199" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018200" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018710" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018711" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018712" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018713" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018714" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018715" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240611" ADD CONSTRAINT "SYS_C0018716" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STBPRP_YS_B_240611
-- ----------------------------
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STCD_copy2"
  ON "QGC"."ST_STBPRP_YS_B_240611" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_STBPRP_YS_B_240806
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019531" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STBPRP_YS_B_240806
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019532" UNIQUE ("STCD", "STTP_TB_YS_B_ID", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STBPRP_YS_B_240806
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018418" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018419" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018420" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018421" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018422" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018423" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0018424" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019524" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019525" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019526" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019527" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019528" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019529" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240806" ADD CONSTRAINT "SYS_C0019530" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STBPRP_YS_B_240806
-- ----------------------------
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STCD_copy3"
  ON "QGC"."ST_STBPRP_YS_B_240806" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_STBPRP_YS_B_240812
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020017" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STBPRP_YS_B_240812
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020018" UNIQUE ("STCD", "STTP_TB_YS_B_ID", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STBPRP_YS_B_240812
-- ----------------------------
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020003" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020004" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020005" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020006" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020007" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020008" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020009" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020010" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020011" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020012" CHECK ("STTP_TB_YS_B_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020013" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020014" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020015" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STBPRP_YS_B_240812" ADD CONSTRAINT "SYS_C0020016" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STBPRP_YS_B_240812
-- ----------------------------
CREATE INDEX "QGC"."ST_STBPRPYS_B_I_STCD_copy4"
  ON "QGC"."ST_STBPRP_YS_B_240812" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_STTP_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "ST_STTPTBYS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_STTP_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "ST_STTPTBYS_B_UK" UNIQUE ("STTP_ID", "TB_ID", "YS", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_STTP_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016946" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016947" CHECK ("STTP_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016948" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016949" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016950" CHECK ("IS_SHOW" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016951" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016952" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_STTP_TB_YS_B" ADD CONSTRAINT "SYS_C0016953" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_STTP_TB_YS_B
-- ----------------------------
CREATE INDEX "QGC"."ST_STTPTBYS_B_I_STTP_ID"
  ON "QGC"."ST_STTP_TB_YS_B" ("STTP_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."ST_STTPTBYS_B_I_TB_ID"
  ON "QGC"."ST_STTP_TB_YS_B" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."ST_STTPTBYS_B_I_YS"
  ON "QGC"."ST_STTP_TB_YS_B" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_TB_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "ST_TB_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_TB_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "ST_TB_B_UK" UNIQUE ("TB_CODE", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_TB_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016931" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016932" CHECK ("TB" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016933" CHECK ("TB_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016934" CHECK ("TB_CODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016935" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016936" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_B" ADD CONSTRAINT "SYS_C0016937" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_TB_B
-- ----------------------------
CREATE INDEX "QGC"."ST_TB_B_I_DATAS_ID"
  ON "QGC"."ST_TB_B" ("DATA_SOURCE_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."ST_TB_B_I_TB_CODE"
  ON "QGC"."ST_TB_B" ("TB_CODE" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "ST_TBYS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "ST_TBYS_B_UK" UNIQUE ("TB_ID", "YS", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_TB_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016938" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016939" CHECK ("TB_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016940" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016941" CHECK ("YS_SHOW_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016942" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016943" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016944" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_TB_YS_B" ADD CONSTRAINT "SYS_C0016945" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_TB_YS_B
-- ----------------------------
CREATE INDEX "QGC"."ST_TBYS_B_I_TB_ID"
  ON "QGC"."ST_TB_YS_B" ("TB_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);
CREATE INDEX "QGC"."ST_TBYS_B_I_YS"
  ON "QGC"."ST_TB_YS_B" ("YS" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table ST_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "ST_YS_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table ST_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "ST_YS_B_UK" UNIQUE ("YS", "ISOLATE_ID", "IS_DELETED") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table ST_YS_B
-- ----------------------------
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016921" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016922" CHECK ("YS" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016923" CHECK ("YS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016924" CHECK ("YS_SHOW_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016925" CHECK ("SAVE_MODE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016926" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016927" CHECK ("ENABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016928" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016929" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."ST_YS_B" ADD CONSTRAINT "SYS_C0016930" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table ST_YS_B
-- ----------------------------
CREATE INDEX "QGC"."ST_YS_B_I_UOM_ID"
  ON "QGC"."ST_YS_B" ("STANDARD_UOM_ID" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table SYS_SQLPATCH_B
-- ----------------------------
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_SQLPATCH_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table SYS_SQLPATCH_B
-- ----------------------------
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_SQLPATCH_B_UK" UNIQUE ("PATCH_FILE") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table SYS_SQLPATCH_B
-- ----------------------------
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_C0017039" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_C0017040" CHECK ("PATCH_FILE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_C0017041" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_C0017042" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SYS_SQLPATCH_B" ADD CONSTRAINT "SYS_C0017043" CHECK ("SOURCE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table TEMP_BASETABLEKV_B
-- ----------------------------
ALTER TABLE "QGC"."TEMP_BASETABLEKV_B" ADD CONSTRAINT "TEMP_BASETABLEKV_B_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Uniques structure for table TEMP_BASETABLEKV_B
-- ----------------------------
ALTER TABLE "QGC"."TEMP_BASETABLEKV_B" ADD CONSTRAINT "TEMP_BASETABLEKV_B_UK" UNIQUE ("STTP", "COL_NAME") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table TEMP_BASETABLEKV_B
-- ----------------------------
ALTER TABLE "QGC"."TEMP_BASETABLEKV_B" ADD CONSTRAINT "SYS_C0017639" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Checks structure for table TEMP_EQMN_RAT_S
-- ----------------------------
ALTER TABLE "QGC"."TEMP_EQMN_RAT_S" ADD CONSTRAINT "SYS_C0030154" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_EQMN_RAT_S" ADD CONSTRAINT "SYS_C0030155" CHECK ("TM" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table TEMP_EQMN_RAT_S
-- ----------------------------
CREATE INDEX "QGC"."TEMP_EQMN_RAT_S_STCD_TM_index"
  ON "QGC"."TEMP_EQMN_RAT_S" ("STCD" ASC, "TM" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table TEMP_EQMN_STAT
-- ----------------------------
ALTER TABLE "QGC"."TEMP_EQMN_STAT" ADD CONSTRAINT "TEMP_EQMN_STAT_pk" PRIMARY KEY ("STCD");

-- ----------------------------
-- Checks structure for table TEMP_EQMN_STAT
-- ----------------------------
ALTER TABLE "QGC"."TEMP_EQMN_STAT" ADD CONSTRAINT "SYS_C0029520" CHECK ("STCD" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Indexes structure for table TEMP_EQMN_STAT
-- ----------------------------
CREATE INDEX "QGC"."TEMP_EQMN_STAT_STCD_index"
  ON "QGC"."TEMP_EQMN_STAT" ("STCD" ASC)
  LOGGING
  VISIBLE
PCTFREE 10
INITRANS 2
STORAGE (
  INITIAL 65536 
  NEXT 1048576 
  MINEXTENTS 1
  MAXEXTENTS 2147483645
  BUFFER_POOL DEFAULT
);

-- ----------------------------
-- Primary Key structure for table TEMP_TAB_META
-- ----------------------------
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "TEMP_TAB_META_PK" PRIMARY KEY ("TABLE_NAME", "COLUMN_NAME");

-- ----------------------------
-- Checks structure for table TEMP_TAB_META
-- ----------------------------
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018056" CHECK ("TABLE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018057" CHECK ("COLUMN_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018058" CHECK ("DATA_TYPE_LEN" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018059" CHECK ("DATA_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018060" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018061" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."TEMP_TAB_META" ADD CONSTRAINT "SYS_C0018062" CHECK ("DATA_UQ" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Primary Key structure for table USER_SYNC_RECORD
-- ----------------------------
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "USER_SYNC_RECORD_PK" PRIMARY KEY ("ID");

-- ----------------------------
-- Checks structure for table USER_SYNC_RECORD
-- ----------------------------
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "SYS_C0017819" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "SYS_C0017820" CHECK ("FK_USER_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "SYS_C0017821" CHECK ("RECORD_USER" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "SYS_C0017822" CHECK ("RECORD_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."USER_SYNC_RECORD" ADD CONSTRAINT "SYS_C0017823" CHECK ("IS_DELETED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ABNMONITOR_R
-- ----------------------------
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "MS_ABNMONITOR_R_FK_RSTCD" FOREIGN KEY ("RSTCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_ABNMONITOR_R" ADD CONSTRAINT "MS_ABNMONITOR_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ALONGDET_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_ARCHIVING_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_BUILDENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_BUILDENVF_B" ADD CONSTRAINT "MS_BUILDENVF_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ENGDEPT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENGDEPT_B" ADD CONSTRAINT "MS_ENGDEPT_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ENVF_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVF_B" ADD CONSTRAINT "MS_ENVF_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ENVTZ_S
-- ----------------------------
ALTER TABLE "QGC"."MS_ENVTZ_S" ADD CONSTRAINT "MS_ENVTZ_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ETSQIOR_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQIOR_B" ADD CONSTRAINT "MS_ETSQIOR_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_ETSQI_B
-- ----------------------------
ALTER TABLE "QGC"."MS_ETSQI_B" ADD CONSTRAINT "MS_ETSQI_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBGZKH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBGZKH_B" ADD CONSTRAINT "MS_HBGZKH_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBJS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBJS_B" ADD CONSTRAINT "MS_HBJS_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBPCZZ_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBPCZZ_B" ADD CONSTRAINT "MS_HBPCZZ_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBRISK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBRISK_B" ADD CONSTRAINT "MS_HBRISK_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBYH_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYH_B" ADD CONSTRAINT "MS_HBYH_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBYS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBYS_B" ADD CONSTRAINT "MS_HBYS_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_HBZB_B
-- ----------------------------
ALTER TABLE "QGC"."MS_HBZB_B" ADD CONSTRAINT "MS_HBZB_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_INRECORD_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INRECORD_B" ADD CONSTRAINT "MS_INRECORD_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_INTASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_INTASK_B" ADD CONSTRAINT "MS_INTASK_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_REPLACE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_REPLACE_B" ADD CONSTRAINT "MS_REPLACE_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_RULEFILL_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULEFILL_B" ADD CONSTRAINT "MS_RULEFILL_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_RULESMS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULESMS_B" ADD CONSTRAINT "MS_RULESMS_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_RULETASK_B
-- ----------------------------
ALTER TABLE "QGC"."MS_RULETASK_B" ADD CONSTRAINT "MS_RULETASK_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_SBGZ_R
-- ----------------------------
ALTER TABLE "QGC"."MS_SBGZ_R" ADD CONSTRAINT "MS_SBGZ_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_SPECANIMALS_B
-- ----------------------------
ALTER TABLE "QGC"."MS_SPECANIMALS_B" ADD CONSTRAINT "MS_SPECANIMALS_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_STBPRP_T
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_TCEVALUAT_B
-- ----------------------------
ALTER TABLE "QGC"."MS_TCEVALUAT_B" ADD CONSTRAINT "MS_TCEVALUAT_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_THREEDROAM_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_WARNDATA_R
-- ----------------------------
ALTER TABLE "QGC"."MS_WARNDATA_R" ADD CONSTRAINT "MS_WARNDATA_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_WARN_RULE_B
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B" ADD CONSTRAINT "MS_WARN_RULE_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_WARN_RULE_B_240821SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240821SP" ADD CONSTRAINT "SYS_C0020870" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_WARN_RULE_B_240904SP
-- ----------------------------
ALTER TABLE "QGC"."MS_WARN_RULE_B_240904SP" ADD CONSTRAINT "SYS_C0021484" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_WEFISH_T
-- ----------------------------
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "MS_WEFISH_T_FK_RSTCD" FOREIGN KEY ("RSTCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."MS_WEFISH_T" ADD CONSTRAINT "MS_WEFISH_T_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table MS_WQCALCULATION_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_WQCALCULATION_T
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_WQGRD_T
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table MS_WQS_T
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_AIHEARTBEAT_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_AIQEC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_AIVPWATER_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ARTSG_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_CHGWARNING_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_DWDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_DWDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ECOEPIRTL_R
-- ----------------------------
ALTER TABLE "QGC"."SD_ECOEPIRTL_R" ADD CONSTRAINT "SD_ECOEPIRTL_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFLOOD_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFRPLAN_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFRTARGET_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFR_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGFR_R_250113
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENGTTPWR_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENVABNORMAL_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ENVMEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVMEIAR_B" ADD CONSTRAINT "SD_ENVMEIAR_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_ENVPEIAR_B
-- ----------------------------
ALTER TABLE "QGC"."SD_ENVPEIAR_B" ADD CONSTRAINT "SD_ENVPEIAR_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_ENVSUP_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_EVEDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_EVEDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSCTMO_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B" ADD CONSTRAINT "SD_FBBSCTMO_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSCTMO_B_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBBSCTMO_B_240812" ADD CONSTRAINT "SYS_C0020268" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSCTMO_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSCTMO_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSDEATH_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSDEATH_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSMF_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSMF_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSRFI_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBSRFI_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBWT_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBBWT_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBCWQ_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBCWQ_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBDSR_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHARTINLDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R" ADD CONSTRAINT "SD_FBFISHARTINLDET_R_FK_PID" FOREIGN KEY ("PLATFORM_ID") REFERENCES "QGC"."SD_FBFISHARTINL_R" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHARTINLDET_R_240812
-- ----------------------------
ALTER TABLE "QGC"."SD_FBFISHARTINLDET_R_240812" ADD CONSTRAINT "SYS_C0020364" FOREIGN KEY ("PLATFORM_ID") REFERENCES "QGC"."SD_FBFISHARTINL_R" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHARTINL_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHARTINL_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHBREED_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHBREED_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHDPAC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHDPAC_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHHATCHPRO_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHHATCHPRO_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHHATCHREC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHHATCHREC_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHPOND_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBFISHPOND_B_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBOUTFISH_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBOUTFISH_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBRDC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBRDFSI_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBRDM_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBRESEARCH_B
-- ----------------------------
ALTER TABLE "QGC"."SD_FBRESEARCH_B" ADD CONSTRAINT "SD_FBRESEARCH_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FBSCWEM_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FBSCWEM_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FHBT_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPDESIGNSTAND_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPKPI_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPRUNPLAN_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPRUN_R
-- ----------------------------
ALTER TABLE "QGC"."SD_FPRUN_R" ADD CONSTRAINT "SD_FPRUN_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FPSSQDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPSSQDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPSSQ_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_FPSSRLQDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDAY_S" ADD CONSTRAINT "SD_FPSSRLQDAY_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_FPSSRLQDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_FPSSRLQDRTP_S" ADD CONSTRAINT "SD_FPSSRLQDRTP_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_GTZKQ_C
-- ----------------------------
ALTER TABLE "QGC"."SD_GTZKQ_C" ADD CONSTRAINT "SD_GTZKQ_C_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_INV_B
-- ----------------------------
ALTER TABLE "QGC"."SD_INV_B" ADD CONSTRAINT "SD_INV_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_PPTNDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_PPTNDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_PPTN_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_QECDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_QECDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_QEC_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_RPIMNDAY_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SD_RPIMNDAY_S_FK_RSTCD" FOREIGN KEY ("RSTCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDAY_S" ADD CONSTRAINT "SD_RPIMNDAY_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_RPIMNDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SD_RPIMNDRTP_S_FK_RSTCD" FOREIGN KEY ("RSTCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_RPIMNDRTP_S" ADD CONSTRAINT "SD_RPIMNDRTP_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_RSVR_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SBGL_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SEDDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SEDDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SEDRFDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SEDRFDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SEDRF_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_SED_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_STATTRVAL_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_STATTRVAL_B_250704dz
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_STRLTN_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_STRLTN_B_250704dz
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_TMPDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_TMPDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_TMP_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_VADRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VADRTP_S" ADD CONSTRAINT "SD_VADRTP_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_VA_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_VPDRTP_S
-- ----------------------------
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SD_VPDRTP_S_FK_RSTCD" FOREIGN KEY ("RSTCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_VPDRTP_S" ADD CONSTRAINT "SD_VPDRTP_S_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_VP_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_VP_R_240812
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WEDETECTION_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WEFISHAI_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHAI_R" ADD CONSTRAINT "SD_WEFISHAI_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_WEFISHDET_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SD_WEFISHDET_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SD_WEFISHDET_R_FK_WEFISHR_ID" FOREIGN KEY ("WEFISHR_ID") REFERENCES "QGC"."SD_WEFISH_R" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
ALTER TABLE "QGC"."SD_WEFISHDET_R" ADD CONSTRAINT "SD_WEFISHDET_R_FK_WER_ID" FOREIGN KEY ("WER_ID") REFERENCES "QGC"."SD_WE_R" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_WEFISH_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WEFV_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WEWQ_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WEWT_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WE_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WNDDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WNDDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WND_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQLST_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQWRNDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQWRNDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WQ_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WRT_C
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTNP_B
-- ----------------------------
ALTER TABLE "QGC"."SD_WTNP_B" ADD CONSTRAINT "SD_WTNP_B_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_WTRVAMEND_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTRVDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTRVDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTRV_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVTDAY_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVTDAY_S_240830
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVTDRTP_S
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVTDRTP_S_240830
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVT_R
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WTVT_R_TEMP
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_WVA_R
-- ----------------------------
ALTER TABLE "QGC"."SD_WVA_R" ADD CONSTRAINT "SD_WVA_R_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table SD_YRAVG_T
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table SD_ZVARL_C
-- ----------------------------
ALTER TABLE "QGC"."SD_ZVARL_C" ADD CONSTRAINT "SD_ZVARL_C_FK_STCD" FOREIGN KEY ("STCD") REFERENCES "QGC"."MS_STBPRP_T" ("STCD") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;

-- ----------------------------
-- Foreign Keys structure for table ST_STBPRP_YS_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table ST_STTP_TB_YS_B
-- ----------------------------

-- ----------------------------
-- Foreign Keys structure for table ST_TB_YS_B
-- ----------------------------
