code: public static ResultMap getResultMap(Configuration configuration,Class<?> entityClass) {
          List<ResultMapping> resultMappings = new ArrayList<ResultMapping>();
          
          Set<ColumnMapper> entityClassColumns = EntityHelper.getEntityMapper(entityClass).getColumnsMapper();
          for (ColumnMapper entityColumn : entityClassColumns) {
              ResultMapping.Builder builder = new ResultMapping.Builder(configuration, entityColumn.getProperty(), entityColumn.getColumn(), entityColumn.getJavaType());
              if (entityColumn.getJdbcType() != null) {
                  builder.jdbcType(entityColumn.getJdbcType());
              }
  
              List<ResultFlag> flags = new ArrayList<ResultFlag>();
              if (entityColumn.isId()) {
                  flags.add(ResultFlag.ID);
              }
              builder.flags(flags);
              builder.lazy(false);
              resultMappings.add(builder.build());
          }
          ResultMap.Builder builder = new ResultMap.Builder(configuration, "BaseResultMap", entityClass, resultMappings, true);
          return builder.build();
      }
docs: 生成当前实体的resultMap对象
  
  @param configuration
  @return