FROM x_user_space t WHERE t.deleted = 0 AND t.id = #{param.id} AND t.user_id = #{param.userId}