mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 将Log记录异常长度改为5000
This commit is contained in:
		@@ -741,7 +741,7 @@ create table sys_oper_log (
 | 
			
		||||
  oper_param        varchar2(5500)  default '',
 | 
			
		||||
  json_result       varchar2(5500)  default '',
 | 
			
		||||
  status            number(1)       default 0,
 | 
			
		||||
  error_msg         varchar2(2100)  default '',
 | 
			
		||||
  error_msg         varchar2(5500)  default '',
 | 
			
		||||
  oper_time         date,
 | 
			
		||||
  cost_time         number(20)      default 0
 | 
			
		||||
);
 | 
			
		||||
 
 | 
			
		||||
@@ -744,7 +744,7 @@ create table if not exists sys_oper_log
 | 
			
		||||
    oper_param     varchar(5000) default ''::varchar,
 | 
			
		||||
    json_result    varchar(5000) default ''::varchar,
 | 
			
		||||
    status         int4          default 0,
 | 
			
		||||
    error_msg      varchar(2000) default ''::varchar,
 | 
			
		||||
    error_msg      varchar(5000) default ''::varchar,
 | 
			
		||||
    oper_time      timestamp,
 | 
			
		||||
    cost_time      int8          default 0,
 | 
			
		||||
    constraint sys_oper_log_pk primary key (oper_id)
 | 
			
		||||
 
 | 
			
		||||
@@ -557,7 +557,7 @@ create table sys_oper_log (
 | 
			
		||||
    oper_param        varchar(5000)   default ''                 comment '请求参数',
 | 
			
		||||
    json_result       varchar(5000)   default ''                 comment '返回参数',
 | 
			
		||||
    status            int(1)          default 0                  comment '操作状态(0正常 1异常)',
 | 
			
		||||
    error_msg         varchar(2000)   default ''                 comment '错误消息',
 | 
			
		||||
    error_msg         varchar(5000)   default ''                 comment '错误消息',
 | 
			
		||||
    oper_time         datetime                                   comment '操作时间',
 | 
			
		||||
    cost_time         bigint(20)      default 0                  comment '消耗时间',
 | 
			
		||||
    primary key (oper_id),
 | 
			
		||||
 
 | 
			
		||||
@@ -2005,7 +2005,7 @@ CREATE TABLE sys_oper_log
 | 
			
		||||
    oper_param     nvarchar(5000) DEFAULT ''    NULL,
 | 
			
		||||
    json_result    nvarchar(5000) DEFAULT ''    NULL,
 | 
			
		||||
    status         int            DEFAULT ((0)) NULL,
 | 
			
		||||
    error_msg      nvarchar(2000) DEFAULT ''    NULL,
 | 
			
		||||
    error_msg      nvarchar(5000) DEFAULT ''    NULL,
 | 
			
		||||
    oper_time      datetime2(7)                 NULL,
 | 
			
		||||
    cost_time      bigint         DEFAULT ((0)) NULL,
 | 
			
		||||
    CONSTRAINT PK__sys_oper__34723BF9BD954573 PRIMARY KEY CLUSTERED (oper_id)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user