@EventListener(BatchSelectorDeletedEvent.class)
    public void onSelectorDeleted(final BatchSelectorDeletedEvent event) {
        // check selector delete
        dataPermissionMapper.deleteByDataIdList(event.getDeletedIds());
    }
listen {@link BatchSelectorDeletedEvent} delete data permission.

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