update oper_role_menu set del_flag = 1 where del_flag = 0 and role_id in #{roleId} update oper_role_menu set del_flag = 1 where role_id = #{value} and del_flag = 0 update oper_role_menu set del_flag = 1 where menu_id = #{value} and del_flag = 0