疯狂的狮子Li
2021-11-02 0b35927b16a220a2b8bd37bb4668269b425c5c2f
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>