select id, event_type, bucket_name, event_time, host, user_name, endpoint, object_name, object_type, object_size, create_time from storage_minio_event
    
    
    
    
        
    
        insert into storage_minio_event
        
            id,
            event_type,
            bucket_name,
            event_time,
            host,
            user_name,
            endpoint,
            object_name,
            object_type,
            object_size,
            create_time,
         
        
            #{id},
            #{eventType},
            #{bucketName},
            #{eventTime},
            #{host},
            #{userName},
            #{endpoint},
            #{objectName},
            #{objectType},
            #{objectSize},
            #{createTime},
         
    
    
        update storage_minio_event
        
            event_type = #{eventType},
            bucket_name = #{bucketName},
            event_time = #{eventTime},
            host = #{host},
            user_name = #{userName},
            endpoint = #{endpoint},
            object_name = #{objectName},
            object_type = #{objectType},
            object_size = #{objectSize},
            create_time = #{createTime},
        
        where id = #{id}
    
    
        delete from storage_minio_event where id = #{id}
    
    
        delete from storage_minio_event where id in 
        
            #{id}