src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java
@Override
    public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable) {
        if (innerClass instanceof InnerInterfaceWrapperToInnerClass){
            InnerInterface innerInterface = ((InnerInterfaceWrapperToInnerClass)innerClass).getInnerInterface();

            Map<String, Object> map = new HashMap<>();
            map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
            map.put("innerInterface", innerInterface);
            map.put("introspectedTable", introspectedTable);

            // 添加评论
            addJavaElementComment(innerInterface, map, EnumNode.ADD_INTERFACE_COMMENT);
        } else {
            Map<String, Object> map = new HashMap<>();
            map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
            map.put("innerClass", innerClass);
            map.put("introspectedTable", introspectedTable);

            // 添加评论
            addJavaElementComment(innerClass, map, EnumNode.ADD_CLASS_COMMENT);
        }
    }
@Override
    public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable) {
        if (innerClass instanceof InnerInterfaceWrapperToInnerClass){
            InnerInterface innerInterface = ((InnerInterfaceWrapperToInnerClass)innerClass).getInnerInterface();

            Map<String, Object> map = new HashMap<>();
            map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
            map.put("innerInterface", innerInterface);
            map.put("introspectedTable", introspectedTable);

            // 添加评论
            addJavaElementComment(innerInterface, map, EnumNode.ADD_INTERFACE_COMMENT);
        } else {
            Map<String, Object> map = new HashMap<>();
            map.put("mgb", MergeConstants.NEW_ELEMENT_TAG);
            map.put("innerClass", innerClass);
            map.put("introspectedTable", introspectedTable);

            // 添加评论
            addJavaElementComment(innerClass, map, EnumNode.ADD_CLASS_COMMENT);
        }
    }
Adds the inner class comment.

@param innerClass
the inner class
@param introspectedTable
the introspected table