MyBatis xml文件:
<select id="selectNums" resultType="java.lang.Integer"> select count(*) from tableName </select>
MyBatis的Mapper文件:
int selectNums();
MyBatis xml文件:
<select id="selectNums" resultType="java.lang.Integer"> select count(*) from tableName </select>
MyBatis的Mapper文件:
int selectNums();