src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java
@Override
    public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable, boolean markAsDoNotDelete) {
        Map<String, Object> map = new HashMap<>();
        map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
        map.put("innerClass", innerClass);
        map.put("introspectedTable", introspectedTable);
        map.put("markAsDoNotDelete", markAsDoNotDelete);

        // 添加评论
        addJavaElementComment(innerClass, map, EnumNode.ADD_CLASS_COMMENT);
    }
@Override
    public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable, boolean markAsDoNotDelete) {
        Map<String, Object> map = new HashMap<>();
        map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
        map.put("innerClass", innerClass);
        map.put("introspectedTable", introspectedTable);
        map.put("markAsDoNotDelete", markAsDoNotDelete);

        // 添加评论
        addJavaElementComment(innerClass, map, EnumNode.ADD_CLASS_COMMENT);
    }
@ Override public void addClassComment ( InnerClass innerClass , IntrospectedTable introspectedTable , boolean markAsDoNotDelete ) { Map < String , Object > map = new HashMap <> ( ) ; map . put ( "mgb" , MergeConstants . NEW_ELEMENT_TAG ) ; map . put ( "innerClass" , innerClass ) ; map . put ( "introspectedTable" , introspectedTable ) ; map . put ( "markAsDoNotDelete" , markAsDoNotDelete ) ; // 添加评论 addJavaElementComment ( innerClass , map , EnumNode . ADD_CLASS_COMMENT ) ; }
Adds the inner class comment.

@param innerClass
the inner class
@param introspectedTable
the introspected table
@param markAsDoNotDelete
the mark as do not delete
Adds the inner class comment .