src/main/java/com/itfsw/mybatis/generator/plugins/ModelColumnPlugin.java
@Override
    public boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        topLevelClass.addInnerEnum(this.generateColumnEnum(topLevelClass, introspectedTable));
        return super.modelPrimaryKeyClassGenerated(topLevelClass, introspectedTable);
    }
@Override
    public boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        topLevelClass.addInnerEnum(this.generateColumnEnum(topLevelClass, introspectedTable));
        return super.modelPrimaryKeyClassGenerated(topLevelClass, introspectedTable);
    }
@ Override public boolean modelPrimaryKeyClassGenerated ( TopLevelClass topLevelClass , IntrospectedTable introspectedTable ) { topLevelClass . addInnerEnum ( this . generateColumnEnum ( topLevelClass , introspectedTable ) ) ; return super . modelPrimaryKeyClassGenerated ( topLevelClass , introspectedTable ) ; }
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
@param topLevelClass
@param introspectedTable
@return
具体执行顺序 http : // www . mybatis . org / generator / reference / pluggingIn . html