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