select case when member_state = 'approved' then 1 else 0 end as send_p from cc_users where user_id = :user_id