a.id as "id", a.title as "title", a.oper_id as "operId", a.business_type as "businessType", a.method as "method", a.request_method as "requestMethod", a.operator_type as "operatorType", a.oper_name as "operName", a.dept_name as "deptName", a.oper_url as "operUrl", a.oper_ip as "operIp", a.oper_location as "operLocation", a.oper_param as "operParam", a.json_result as "jsonResult", a.log_content as "logContent", a.form_id as "formId", a.take_up_time as "takeUpTime", a.status as "status", a.error_msg as "errorMsg", a.oper_time as "operTime" order by a.oper_time desc insert into sys_oper_log (id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, log_content, form_id, take_up_time, status, error_msg, oper_time) values (#{id}, #{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{logContent}, #{formId}, #{takeUpTime}, #{status}, #{errorMsg}, sysdate()) insert into sys_oper_log (id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, log_content, form_id, take_up_time, status, error_msg, oper_time) values (#{id}, #{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{logContent}, #{formId}, #{takeUpTime}, #{status}, #{errorMsg}, sysdate()) UPDATE sys_oper_log SET del_flag = #{DEL_FLAG_DELETE} WHERE id in #{ids} truncate table sys_oper_log delete from sys_oper_log where datediff(SYSDATE(),oper_time) >= #{saveDay}