<insert id="insertAuthor" parameterType="author">
insert into Author(id,username,password,email,bio)
values(#{id},#{username},#{password},#{email},#{bio})
</insert>
parameterType。resultmap、type与resultType
<insert id="insertAuthor" parameterType="author">
insert into Author(id,username,password,email,bio)
values(#{id},#{username},#{password},#{email},#{bio})
</insert>
parameterType。resultmap、type与resultType