src/main/java/com/itfsw/mybatis/generator/plugins/OptimisticLockerPlugin.java
@Override
    public boolean clientDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable) {
        if (this.versionColumn != null) {
            FormatTools.addMethodWithBestPosition(
                    interfaze,
                    this.replaceDeleteExampleMethod(introspectedTable, method, interfaze, METHOD_DELETE_WITH_VERSION_BY_EXAMPLE)
            );
        }
        return super.clientDeleteByExampleMethodGenerated(method, interfaze, introspectedTable);
    }
@Override
    public boolean clientDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable) {
        if (this.versionColumn != null) {
            FormatTools.addMethodWithBestPosition(
                    interfaze,
                    this.replaceDeleteExampleMethod(introspectedTable, method, interfaze, METHOD_DELETE_WITH_VERSION_BY_EXAMPLE)
            );
        }
        return super.clientDeleteByExampleMethodGenerated(method, interfaze, introspectedTable);
    }
========================================= method 生成 ============================================