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, hospital_id from hospital_oper_log
    
    
    
    
        insert into hospital_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,
            oper_time,
            hospital_id,
         
        
            #{title},
            #{businessType},
            #{method},
            #{requestMethod},
            #{operatorType},
            #{operName},
            #{deptName},
            #{operUrl},
            #{operIp},
            #{operLocation},
            #{operParam},
            #{jsonResult},
            #{status},
            #{errorMsg},
            #{operTime},
            #{hospitalId},
         
    
    
        update hospital_oper_log
        
            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},
            hospital_id = #{hospitalId},
        
        where oper_id = #{operId}
    
    
        delete from hospital_oper_log where oper_id = #{operId}
    
    
        delete from hospital_oper_log where oper_id in
        
            #{operId}