src/main/java/com/itfsw/mybatis/generator/plugins/ModelBuilderPlugin.java
@Override
    public boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        InnerClass innerClass = this.generateModelBuilder(topLevelClass, introspectedTable, introspectedTable.getAllColumns());
        topLevelClass.addInnerClass(innerClass);
        return super.modelRecordWithBLOBsClassGenerated(topLevelClass, introspectedTable);
    }
@Override
    public boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
        InnerClass innerClass = this.generateModelBuilder(topLevelClass, introspectedTable, introspectedTable.getAllColumns());
        topLevelClass.addInnerClass(innerClass);
        return super.modelRecordWithBLOBsClassGenerated(topLevelClass, introspectedTable);
    }
@ Override public boolean modelRecordWithBLOBsClassGenerated ( TopLevelClass topLevelClass , IntrospectedTable introspectedTable ) { InnerClass innerClass = this . generateModelBuilder ( topLevelClass , introspectedTable , introspectedTable . getAllColumns ( ) ) ; topLevelClass . addInnerClass ( innerClass ) ; return super . modelRecordWithBLOBsClassGenerated ( topLevelClass , introspectedTable ) ; }
Model Methods 生成
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
@param topLevelClass
@param introspectedTable
@return
Model Methods 生成 具体执行顺序 http : // www . mybatis . org / generator / reference / pluggingIn . html