UPDATE t_shop SET defaulted = 0 WHERE user_id = #{userId} and shop_id != #{shopId};