(自己的理解)
resultType
resultMap
<!--查询作者--> <select id="selectAuthor" resultMap="authorResult"> SELECT id, username, nickname, birthday, register_time FROM author WHERE id = #{id} </select> <!--作者结果映射--> <resultMap id="authorResult" type="Author"> <id property="id" column="id"/> <result property="registerTime" column="register_time"/> </resultMap>
2691

被折叠的 条评论
为什么被折叠?



