resultType="int"
<select id="num_List_" parameterType=" xxx" resultType="int">
SELECT COUNT(*)
FROM `tablename`
WHERE num<#{endNum} AND num>#{startNum}
</select>
resultType="int"
<select id="num_List_" parameterType=" xxx" resultType="int">
SELECT COUNT(*)
FROM `tablename`
WHERE num<#{endNum} AND num>#{startNum}
</select>