zhanghl
2025-04-27 bf85bb94a09f65457d7651fc76b2bf77b1e61e1a
aps-modules/aps-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
@@ -25,9 +25,9 @@
    </delete>
   
   <insert id="batchRoleDept">
      insert into sys_role_dept(role_id, dept_id) values
      insert into sys_role_dept(role_id, dept_id,dept_org_code) values
      <foreach item="item" index="index" collection="list" separator=",">
         (#{item.roleId},#{item.deptId})
         (#{item.roleId},#{item.deptId},#{item.deptOrgCode})
      </foreach>
   </insert>