code: private static void setResultType(Configuration configuration, MappedStatement ms, Class<?> entityClass) {
          List<ResultMap> resultMaps = new ArrayList<ResultMap>();
          resultMaps.add(getResultMap(configuration,entityClass));
          MetaObject metaObject = SystemMetaObject.forObject(ms);
          metaObject.setValue("resultMaps", Collections.unmodifiableList(resultMaps));
  	}
docs: 设置返回值类型
  
  @param ms
  @param entityClass