mybatis 关联映射传递多参数方法
<resultMap type="com.secoo.my.bean.OrderItemComment" id="orderItemResult">
<id column="id" property="id"/>
<result column="_productCode" property="productCode"/>
<result column="_productCategoryId" property="productCategoryId"/>
<collection property="commentList" column="{productCode=_productCode,userId=userId,orderId=orderId}" select="com.secoo.my.mapper.erp.ReCommentMapper.queryCommentByUIDOIDPID"></collection>
<collection property="commentTagList" column="_productCategoryId" select="com.secoo.my.mapper.erp.ReCommentTagMapper.queryCommentTagsByCategoryId"></collection>
</resultMap>