mybatis查询到count(*)返回值
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>