sqlMap层
<insert id="insertList">
     INSERT INTO sys_organizations_path(
     	ancestor_id, descendant_id, distance)
     VALUES
     	<foreach collection="dtoList" item="dto" separator=",">
            (#{dto.ancestorId,jdbcType=BIGINT}, #{dto.descendantId,jdbcType=BIGINT}, #{dto.distance,jdbcType=INTEGER})
        </foreach>
 </insert>
dao层
int insertList(@Param("dtoList") List<Map<String,Object>> dtoList);










