xin
2025-07-14 6d3f43aceecf5cb35c8440e8593263b0ca1bdcd6
oying-system/src/main/resources/mapper/system/RoleDeptMapper.xml
@@ -5,7 +5,7 @@
    <insert id="insertData">
        insert into sys_roles_depts (role_id, dept_id)
        values
        <foreach collection="depts" item="item" open="(" separator="),(" close=")">
        <foreach collection="ids" item="item" open="(" separator="),(" close=")">
            #{roleId}, #{item.id}
        </foreach>
    </insert>