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, cost_time, oper_time
from Z_sys_oper_log
SELECT seq_z_sys_oper_log.NEXTVAL as operId FROM DUAL
insert into Z_sys_oper_log(
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,
cost_time,
oper_time
)values(
#{operId},
#{title},
#{businessType},
#{method},
#{requestMethod},
#{operatorType},
#{operName},
#{deptName},
#{operUrl},
#{operIp},
#{operLocation},
#{operParam},
#{jsonResult},
#{status},
#{errorMsg},
#{costTime},
sysdate
)
delete from Z_sys_oper_log where oper_id in
#{operId}
truncate table Z_sys_oper_log