<select id="select"resultType="java.lang.Integer" parameterType="java.lang.Integer" > select count(1) from table