| | |
| | | id serial primary key, |
| | | name varchar(100), |
| | | type varchar(50), |
| | | path varchar(512), |
| | | code varchar(50), |
| | | fname varchar(256), |
| | | guid varchar(38), |
| | | create_user integer default 1, |
| | | create_time timestamp(6) without time zone default now(), |
| | | update_user integer, |
| | |
| | | comment on column lf.sys_report.id is '主键ID'; |
| | | comment on column lf.sys_report.name is '名称'; |
| | | comment on column lf.sys_report.type is '文件类型:1-Word模板,2-Excel模板'; |
| | | comment on column lf.sys_report.path is '路径'; |
| | | comment on column lf.sys_report.code is '编码'; |
| | | comment on column lf.sys_report.fname is '文件名'; |
| | | comment on column lf.sys_report.guid is '文件GUID'; |
| | | comment on column lf.sys_report.create_user is '创建人id'; |
| | | comment on column lf.sys_report.create_time is '创建时间'; |
| | | comment on column lf.sys_report.update_user is '更新人id'; |
| | | comment on column lf.sys_report.update_time is '更新时间'; |
| | | comment on column lf.sys_report.bak is '备注'; |
| | | -- insert into lf.sys_report (name,type,path,code) values ('统计用户量',2,'1\aa.xlsx',''); |
| | | -- insert into lf.sys_report (name,type,guid,code) values ('统计用户量',2,'1\aa.xlsx',''); |
| | | |
| | | select * from lf.sys_report; |
| | | ----------------------------------------------------------------------------------------------------- 28.下载日志表 |