mybatis使用count返回int的方法

<select id="countByExample" resultType="java.lang.Integer" > select count(*) from XXXXXX </select> 直接写"java.lang.Integer",接口中的返回值写int。
相关文章
相关标签/搜索