mybatis的resultMap能映射多个类吗
1个回答
展开全部
ap id="pagebean" type="PageBean">
<id column="id" property="id"/>
<result column="uri" property="uri"/>
<result column="title" property="title"/>
<result column="generate" property="generate" javaType="boolean"/>
<result column="siteid" property="siteid"/>
<association property="config" column="configid" javaType="ConfigBean">
<id property="id" column="cfg_id"/>
<result property="domain" column="cfg_domain"/>
<result property="folder" column="folder"/>
<result property="keywordfile" column="keywordfile"/>
<result property="innerlinkcount"
<id column="id" property="id"/>
<result column="uri" property="uri"/>
<result column="title" property="title"/>
<result column="generate" property="generate" javaType="boolean"/>
<result column="siteid" property="siteid"/>
<association property="config" column="configid" javaType="ConfigBean">
<id property="id" column="cfg_id"/>
<result property="domain" column="cfg_domain"/>
<result property="folder" column="folder"/>
<result property="keywordfile" column="keywordfile"/>
<result property="innerlinkcount"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询