摘要:
获取容器中的bean @Component public class ApplicationContextUtil implements ApplicationContextAware { public static ApplicationContext applicationContext; @O 阅读全文
摘要:
// 获取对象中属性的值 public String getFieldValue(String attrName) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { // 转驼峰 Str 阅读全文