| | |
| | | comment on column lf.sys_dep.update_user is '更新人ID'; |
| | | comment on column lf.sys_dep.update_time is '更新时间'; |
| | | comment on column lf.sys_dep.bak is '备注'; |
| | | --alter sequence lf.sys_dep_id_seq restart with 45; |
| | | --alter table lf.sys_dep rename short to sname; alter table lf.sys_dep alter column bak type varchar(1024); |
| | | -- alter sequence lf.sys_dep_id_seq restart with 45; |
| | | -- alter table lf.sys_dep rename short to sname; alter table lf.sys_dep alter column bak type varchar(1024); |
| | | -- update lf.sys_dep set name='中国xxx工程有限公司' where name='中国石油天然气管道工程有限公司'; |
| | | |
| | | select * from lf.sys_dep order by id; |
| | | ----------------------------------------------------------------------------------------------------- 3.目录表 |
| | |
| | | comment on column lf.sys_ver.create_time is '创建时间'; |
| | | comment on column lf.sys_ver.update_user is '更新人ID'; |
| | | comment on column lf.sys_ver.update_time is '更新时间'; |
| | | insert into lf.sys_ver (id,dirid,name) values (0,0,'默认'); |
| | | --insert into lf.sys_ver (dirid,name) values (1003,'2020-02-01'); |
| | | |
| | | select * from lf.sys_ver; |
| | | select * from lf.sys_ver order by id; |
| | | ----------------------------------------------------------------------------------------------------- 20.数据字典表 |
| | | -- DROP TABLE IF EXISTS lf.sys_dict; |
| | | create table lf.sys_dict( |