xin
2025-09-03 ca0f290991d7a15748d90d01e57f0f4cd6f26c9c
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>