梁剑锋
2022-07-12 1d9f2d2ce7e780fb85a8663b7c2b0233d7045865
ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
@@ -9,11 +9,4 @@
        <result property="menuId" column="menu_id"/>
    </resultMap>
    <insert id="batchRoleMenu">
        insert into sys_role_menu(role_id, menu_id) values
        <foreach item="item" index="index" collection="list" separator=",">
            (#{item.roleId},#{item.menuId})
        </foreach>
    </insert>
</mapper>