code: @Override
      public boolean sqlMapDocumentGenerated(Document document, IntrospectedTable introspectedTable) {
          if (selectOneByExampleEle != null) {
              // hook
              if (PluginTools.getHook(ISelectOneByExamplePluginHook.class).sqlMapSelectOneByExampleWithoutBLOBsElementGenerated(document, selectOneByExampleEle, introspectedTable)) {
                  // 添加到根节点
                  FormatTools.addElementWithBestPosition(document.getRootElement(), selectOneByExampleEle);
                  logger.debug("itfsw(查询单条数据插件):" + introspectedTable.getMyBatis3XmlMapperFileName() + "增加selectOneByExample方法。");
              }
          }
  
          if (selectOneByExampleWithBLOBsEle != null) {
              // hook
              if (PluginTools.getHook(ISelectOneByExamplePluginHook.class).sqlMapSelectOneByExampleWithBLOBsElementGenerated(document, selectOneByExampleWithBLOBsEle, introspectedTable)) {
                  // 添加到根节点
                  FormatTools.addElementWithBestPosition(document.getRootElement(), selectOneByExampleWithBLOBsEle);
                  logger.debug("itfsw(查询单条数据插件):" + introspectedTable.getMyBatis3XmlMapperFileName() + "增加selectOneByExampleWithBLOBs方法。");
              }
          }
  
          return true;
      }
docs: SQL Map Methods 生成
  具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
  @param document
  @param introspectedTable
  @return