insert into sys_role_dept ( `role_id`, `dept_id` ) values ( #{roleId}, #{item} ) delete from sys_role_dept where role_id = #{value}