| | |
| | | comment on table lf.sys_download is '下载记录表'; |
| | | comment on column lf.sys_download.id is '主键ID'; |
| | | comment on column lf.sys_download.name is '名称'; |
| | | comment on column lf.sys_download.type is '类型:1-下载数据,2-下载专题图'; |
| | | comment on column lf.sys_download.type is '类型:1-ShapeFile,2-专题图'; |
| | | comment on column lf.sys_download.depid is '单位ID'; |
| | | comment on column lf.sys_download.dcount is '下载次数'; |
| | | comment on column lf.sys_download.pwd is 'MD5'; |
| | |
| | | comment on column lf.sys_mark.update_time is '更新时间'; |
| | | |
| | | select * from lf.sys_mark; |
| | | ----------------------------------------------------------------------------------------------------- 27.值域表 |
| | | -- drop table if exists lf.sys_domain; |
| | | create table if not exists lf.sys_domain( |
| | | id serial primary key, |
| | | dom_desc varchar(100), |
| | | dom_name varchar(50), |
| | | dom_code varchar(50), |
| | | code_desc varchar(50), |
| | | level integer, |
| | | orderid integer, |
| | | bsm varchar(50), |
| | | create_user integer default 1, |
| | | create_time timestamp(6) without time zone default now(), |
| | | update_user integer, |
| | | update_time timestamp(6) without time zone, |
| | | bak varchar(1024) |
| | | ); |
| | | comment on table lf.sys_domain is '值域表'; |
| | | comment on column lf.sys_domain.id is '主键id'; |
| | | comment on column lf.sys_domain.dom_desc is '值域表描述'; |
| | | comment on column lf.sys_domain.dom_name is '值域表名'; |
| | | comment on column lf.sys_domain.dom_code is '编码'; |
| | | comment on column lf.sys_domain.code_desc is '编码描述'; |
| | | comment on column lf.sys_domain.level is '层级'; |
| | | comment on column lf.sys_domain.orderid is '序号'; |
| | | comment on column lf.sys_domain.bsm is '标识码'; |
| | | comment on column lf.sys_domain.create_user is '创建人id'; |
| | | comment on column lf.sys_domain.create_time is '创建时间'; |
| | | comment on column lf.sys_domain.update_user is '更新人id'; |
| | | comment on column lf.sys_domain.update_time is '更新时间'; |
| | | comment on column lf.sys_domain.bak is '备注'; |
| | | |
| | | select * from lf.sys_domain order by dom_name,orderid; |
| | | ----------------------------------------------------------------------------------------------------- |