select
oper_id,
title,
business_type,
method,
request_method,
operator_type,
oper_name,
dept_name,
oper_url,
oper_ip,
oper_location,
oper_param,
json_result,
status,
error_msg,
oper_time,
cost_time,
biz_ids,
biz_type
from sys_oper_log
insert into sys_oper_log(
title,
business_type,
method,
request_method,
operator_type,
oper_name,
dept_name,
oper_url,
oper_ip,
oper_location,
oper_param,
json_result,
status,
error_msg,
cost_time,
oper_time,
biz_ids,
biz_type
)
values (
#{title},
#{businessType},
#{method},
#{requestMethod},
#{operatorType},
#{operName},
#{deptName},
#{operUrl},
#{operIp},
#{operLocation},
#{operParam},
#{jsonResult},
#{status},
#{errorMsg},
#{costTime},
sysdate(),
#{bizIds,typeHandler=com.ruoyi.common.mybatis.typehandler.StringSplitListTypeHandler},
#{bizType}
)
delete from sys_oper_log where oper_id in
#{operId}
truncate table sys_oper_log