mybatis collectioin结果集为List
<resultMap id="supplierReportResultVOMap" type="com.icourt.administration.inventory.vo.SupplierReportResultVO">
<result column="supplier_name" property="supplierName" />
<result column="total_count" property="totalCount" />
<result column="total_amount" property="totalAmount" />
<result column="category_count" property="categoryCount" />
<result column="dispose_count" property="disposeCount" />
<result column="dispose_amount" property="disposeAmount" />
<collection property="materialIds" ofType="string">
<result column="material_id"/>
</collection>
</resultMap>
collection还有去重的作用