将另一个表放到一个表中作为一个子对象
在Mpper.xml中就应该这样写
<resultMap type="com.liefeng.oldpeople.vo.archive.HUserVo" id="BaseResultMap">
<id column="id" property="id"/>
<result column="cust_global_id" property="custGlobalId"/>
<result column="user_name" property="userName"/>
<result column="user_number" property="userNumber"/>
<result column="current_addr" property="currentAddr"/>
<result column="id_addr" property="idAddr"/>
<result column="sex" property="sex"/>
<result column="birthday" property="birthday"/>
<result column="id_num" property="idNum"/>
<