| | |
| | | create_time timestamp(6) without time zone default now(), |
| | | update_user integer, |
| | | update_time timestamp(6) without time zone, |
| | | tabletype varchar(20), |
| | | unit varchar(50), |
| | | domain_na varchar(100), |
| | | showtype smallint, |
| | | editable smallint, |
| | | bak varchar(1024) |
| | | ); |
| | | comment on table lf.sys_dict is '附件表'; |
| | |
| | | comment on column lf.sys_dict.create_time is '创建时间'; |
| | | comment on column lf.sys_dict.update_user is '更新人ID'; |
| | | comment on column lf.sys_dict.update_time is '更新时间'; |
| | | comment on column lf.sys_dict.tabletype is '表类型'; |
| | | comment on column lf.sys_dict.unit is '单位'; |
| | | comment on column lf.sys_dict.domain_na is '值域名称'; |
| | | comment on column lf.sys_dict.showtype is '显示类型'; |
| | | comment on column lf.sys_dict.editable is '是否可编辑'; |
| | | comment on column lf.sys_dict.bak is '备注'; |
| | | /* alter sequence lf.sys_dict_id_seq restart with 300; |
| | | update lf.sys_dict set create_user=1,create_time=now() where 1=1; |
| | |
| | | |
| | | select count(*) from lf.sys_dict where tab='sys_user'; |
| | | select * from lf.sys_dict order by ns,tab,order_num limit 10 offset 0; |
| | | select distinct ns,fn_get_entity(tab) tab,tab_desc,tabletype from lf.sys_dict order by tab; |
| | | ----------------------------------------------------------------------------------------------------- 21.样式表 |
| | | -- DROP TABLE IF EXISTS lf.sys_style; |
| | | create table lf.sys_style( |