<!--id:statementId
resultType:查询结果集的数据类型
parameterType:查询的入参
-->
<selectid="getUserById"parameterType="int"resultType="com.itheima.mybatis.pojo.User">
SELECT * FROM USER WHERE id = #{id1}
</select>
<!--id:statementId
resultType:查询结果集的数据类型
parameterType:查询的入参
-->
<selectid="getUserById"parameterType="int"resultType="com.itheima.mybatis.pojo.User">
SELECT * FROM USER WHERE id = #{id1}
</select>