INSERT INTO sys_oper_log (
oper_name, oper_type, method_name, request_method, system_type,
oper_man, oper_url, oper_ip, oper_location, oper_param,
json_result, oper_status, error_msg, oper_time, cost_time
) VALUES
(
#{item.operName}, #{item.operType}, #{item.methodName},
#{item.requestMethod}, #{item.systemType}, #{item.operMan},
#{item.operUrl}, #{item.operIp}, #{item.operLocation},
#{item.operParam}, #{item.jsonResult}, #{item.operStatus},
#{item.errorMsg}, #{item.operTime}, #{item.costTime}
)
DELETE FROM sys_oper_log WHERE oper_time < #{expireTime}