疯狂的狮子li
2021-08-11 2c2dad24d59b37df254d1c003d6c3e1119b51d6c
ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
@@ -9,11 +9,4 @@
        <result property="deptId" column="dept_id"/>
    </resultMap>
    <insert id="batchRoleDept">
        insert into sys_role_dept(role_id, dept_id) values
        <foreach item="item" index="index" collection="list" separator=",">
            (#{item.roleId},#{item.deptId})
        </foreach>
    </insert>
</mapper>