select ol.*,c.company_name from company_oper_log ol left join company c on c.company_id = ol.company_id
insert into company_oper_log
company_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,
#{companyId},
#{title},
#{businessType},
#{method},
#{requestMethod},
#{operatorType},
#{operName},
#{deptName},
#{operUrl},
#{operIp},
#{operLocation},
#{operParam},
#{jsonResult},
#{status},
#{errorMsg},
#{operTime},
update company_oper_log
company_id = #{companyId},
title = #{title},
business_type = #{businessType},
method = #{method},
request_method = #{requestMethod},
operator_type = #{operatorType},
oper_name = #{operName},
dept_name = #{deptName},
oper_url = #{operUrl},
oper_ip = #{operIp},
oper_location = #{operLocation},
oper_param = #{operParam},
json_result = #{jsonResult},
status = #{status},
error_msg = #{errorMsg},
oper_time = #{operTime},
where oper_id = #{operId}
delete from company_oper_log where oper_id = #{operId}
delete from company_oper_log where oper_id in
#{operId}