Files
fad_oa/script/sql/20241120表结构备份/sys_oper_log.sql

23 lines
1.3 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

create table fad_oa.sys_oper_log
(
oper_id bigint not null comment '日志主键'
primary key,
title varchar(50) default '' null comment '模块标题',
business_type int default 0 null comment '业务类型0其它 1新增 2修改 3删除',
method varchar(100) default '' null comment '方法名称',
request_method varchar(10) default '' null comment '请求方式',
operator_type int default 0 null comment '操作类别0其它 1后台用户 2手机端用户',
oper_name varchar(50) default '' null comment '操作人员',
dept_name varchar(50) default '' null comment '部门名称',
oper_url varchar(255) default '' null comment '请求URL',
oper_ip varchar(128) default '' null comment '主机地址',
oper_location varchar(255) default '' null comment '操作地点',
oper_param varchar(2000) default '' null comment '请求参数',
json_result varchar(2000) default '' null comment '返回参数',
status int default 0 null comment '操作状态0正常 1异常',
error_msg varchar(2000) default '' null comment '错误消息',
oper_time datetime null comment '操作时间'
)
comment '操作日志记录' charset = utf8mb4;