<resultMap>
<construtor>
<idArg/>
<arg/>
</constructor>
<id/>
<result/>
<association/> 级联相关一对一
<collection/> 级联相关一对多
<discriminator> <case> </discriminator>级联相关鉴别器
</resultMap>
<resultMap typr="com.xu.pojo.Role" id="roleMap">
<construtor>
<idArg column="id" javaType="int">
<arg column="role_name" javaType="string"/>
</construtor>
<id property="id" column="id"/>
<result property="roleName" column="role_name"/>
<result property ="note " column="note">
<./resultMap>