@EventListener(BatchUserDeletedEvent.class)
    public void onUserDeleted(final BatchUserDeletedEvent event) {
        dataPermissionMapper.deleteByUserIdList(event.getDeletedIds());
    }
listen {@link BatchUserDeletedEvent} delete data permission.

@param event event
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/DataPermissionServiceImpl.java