| | |
| | | comment on column lf.sys_menu.cn_name is '中文名称'; |
| | | comment on column lf.sys_menu.en_name is '英文名称'; |
| | | comment on column lf.sys_menu.url is '菜单Url'; |
| | | comment on column lf.sys_menu.perms is '授权(多个用逗号分隔,如:user:list,user:create)'; |
| | | comment on column lf.sys_menu.perms is '授权:多个用逗号分隔,如 user:list,user:create'; |
| | | comment on column lf.sys_menu.type is '类型:0-目录,1-菜单,2-按钮'; |
| | | comment on column lf.sys_menu.icon is '图标'; |
| | | comment on column lf.sys_menu.level is '层级:0-根节点'; |
| | |
| | | |
| | | comment on table lf.sys_operate is '操作日志表'; |
| | | comment on column lf.sys_operate.id is '主键ID'; |
| | | comment on column lf.sys_operate.modular is '操作模块,如:数据管理\目录管理'; |
| | | comment on column lf.sys_operate.modular is '操作模块:如 数据管理\目录管理'; |
| | | comment on column lf.sys_operate.url is '操作网址'; |
| | | comment on column lf.sys_operate.ip is 'IP地址'; |
| | | comment on column lf.sys_operate.type is '类别:1-查看,2-新增,3-修改,4-删除,5-上传,6-下载'; |
| | |
| | | comment on column lf.sys_token.token is '令牌'; |
| | | comment on column lf.sys_token.duration is '使用时间:默认240分钟(4小时)'; |
| | | comment on column lf.sys_token.expire is '失效时间'; |
| | | comment on column lf.sys_token.type is '类型:0-临时,1-固定'; |
| | | comment on column lf.sys_token.type is '类型:0-临时,1-固定'; |
| | | comment on column lf.sys_token.ip is 'IP地址'; |
| | | comment on column lf.sys_token.create_user is '创建人ID'; |
| | | comment on column lf.sys_token.create_time is '创建时间'; |
| | |
| | | comment on column lf.sys_meta_file.name is '文件名'; |
| | | comment on column lf.sys_meta_file.guid is '文件ID'; |
| | | comment on column lf.sys_meta_file.path is '存储路径'; |
| | | comment on column lf.sys_meta_file.fileid is '父文件ID,0-没有'; |
| | | comment on column lf.sys_meta_file.fileid is '父文件ID:0-没有'; |
| | | comment on column lf.sys_meta_file.create_user is '创建人ID'; |
| | | comment on column lf.sys_meta_file.create_time is '创建时间'; |
| | | comment on column lf.sys_meta_file.update_user is '更新人ID'; |
| | |
| | | comment on table lf.sys_attach is '附件表'; |
| | | comment on column lf.sys_attach.id is '主键ID'; |
| | | comment on column lf.sys_attach.name is '文件名'; |
| | | comment on column lf.sys_attach.tab is '表名,如:public.data_dir'; |
| | | comment on column lf.sys_attach.tab is '表名:如 public.data_dir'; |
| | | comment on column lf.sys_attach.guid is '文件ID'; |
| | | comment on column lf.sys_attach.path is '存储路径'; |
| | | comment on column lf.sys_attach.create_user is '创建人ID'; |
| | |
| | | comment on column lf.sys_style.depid is '单位ID'; |
| | | comment on column lf.sys_style.ver is '版本'; |
| | | comment on column lf.sys_style.status is '状态:0-停用,1-启用'; |
| | | comment on column lf.sys_style.precision is '精度,如:1:1000'; |
| | | comment on column lf.sys_style.precision is '精度:如 1:1000'; |
| | | comment on column lf.sys_style.descr is '描述'; |
| | | comment on column lf.sys_style.file_guid is '样式文件GUID'; |
| | | comment on column lf.sys_style.view_guid is '预览文件GUID'; |
| | | comment on column lf.sys_style.file_guid is '样式文件ID'; |
| | | comment on column lf.sys_style.view_guid is '预览文件ID'; |
| | | comment on column lf.sys_style.create_user is '创建人ID'; |
| | | comment on column lf.sys_style.create_time is '创建时间'; |
| | | comment on column lf.sys_style.update_user is '更新人ID'; |
| | |
| | | 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-下载数据,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'; |
| | |
| | | select * from lf.sys_download; |
| | | ----------------------------------------------------------------------------------------------------- 23.消息通知表 |
| | | -- DROP TABLE IF EXISTS lf.sys_msg; |
| | | create table lf.sys_msg( |
| | | id serial primary key, |
| | | title varchar(50), |
| | | msg varchar(200), |
| | | guid varchar(40), |
| | | create_user integer default 1, |
| | | create_time timestamp(6) without time zone default now(), |
| | | update_user integer, |
| | | update_time timestamp(6) without time zone |
| | | ); |
| | | |
| | | comment on table lf.sys_msg is '消息通知表'; |
| | | comment on column lf.sys_msg.id is '主键ID'; |
| | | comment on column lf.sys_msg.title is '标题'; |
| | | comment on column lf.sys_msg.msg is '消息内容'; |
| | | comment on column lf.sys_msg.guid is '消息ID'; |
| | | comment on column lf.sys_msg.create_user is '创建人ID'; |
| | | comment on column lf.sys_msg.create_time is '创建时间'; |
| | | comment on column lf.sys_msg.update_user is '接受人ID'; |
| | | comment on column lf.sys_msg.update_time is '接受时间'; |
| | | |
| | | --insert into lf.sys_msg (title,msg,guid,update_user) values ('2022-09-26','数据下载',new_guid(),2); |
| | | |
| | | select * from lf.sys_msg; |
| | | ----------------------------------------------------------------------------------------------------- 24.参数设置表 |
| | | -- DROP TABLE IF EXISTS lf.sys_args; |
| | | create table lf.sys_args( |