Object object = SpringConfigUtil.getBean(beanName);
Method method = ReflectionUtils.findMethod(object.getClass(), methodName, PageVO.class);
Map resultMap = (Map) ReflectionUtils.invokeMethod(method, object, pageVO);spring获取类对象,类方法,执行方法
原文:https://blog.51cto.com/butcher36/2445070