SELECT *,NULL AS uar_user_id
FROM usm_roles
WHERE role_id in (:ids) OR 
( ISNULL(:ids) AND role_id != 1 )
