UPDATE patrol_device SET status = #{status}, updated_at = NOW() WHERE id = #{id}