code: private QueryMethodCache generateQueryByPKMethod(Class<?> mapperClass,Class<?> entityClass){
  		QueryMethodCache methodCache = null;
  		Field[] fields = entityClass.getDeclaredFields();
  		//主键key前缀
  		for (Field field : fields) {
  			if(field.isAnnotationPresent(Id.class)){
  				methodCache = new QueryMethodCache();
  				methodCache.isPk = true;
  				methodCache.collectionResult = false;
  				methodCache.keyPattern = entityClass.getSimpleName() + ".id:%s";
  				methodCache.methodName = mapperClass.getName() + "." + methodDefine.selectName();
  				methodCache.cacheGroupKey = entityClass.getSimpleName() + GROUPKEY_SUFFIX;
  			}
  		}
  		return methodCache;
  	}
docs: 生成按主键查询缓存定义
  @param mapperClass
  @param entityClass
  @return