| | |
| | | tabletype varchar(20), |
| | | unit varchar(50), |
| | | domain_na varchar(100), |
| | | showtype smallint, |
| | | showtype smallint default 0, |
| | | editable smallint, |
| | | status smallint default 0, |
| | | bak varchar(1024) |
| | |
| | | comment on column lf.sys_dict.editable is '是否可编辑'; |
| | | comment on column lf.sys_dict.status is '状态:0-正常,1-删除,-1-废弃'; |
| | | comment on column lf.sys_dict.bak is '备注'; |
| | | -- alter table lf.sys_dict alter column showtype set default 0; |
| | | -- alter sequence lf.sys_dict_id_seq restart with 300; |
| | | |
| | | select count(*) from lf.sys_dict where status=0 and tab='sys_user'; |