摘要: 这里获得汉字的拼音使用了pinyin4j这个插件,因为多音字的原因效果并不理想 阅读全文
posted @ 2016-06-05 23:07 user_孙 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 查询类中符合指定annotation的属性信息 3 * @param objCls 实体类 4 * @param annCls 注解类 5 * @return HashMap 6 */ 7 public static HashMap getFieldAnnotationsMsg(final Class ... 阅读全文
posted @ 2016-06-05 22:59 user_孙 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 按给定对象属性为参数ls分组整理 3 * @param ls 集合 4 * @param propertyName 对象中的某个属性 5 * @return HashMap(key=propertyValue,Value=ArrayList) 6 * @throws IllegalAccessException ... 阅读全文
posted @ 2016-06-05 22:04 user_孙 阅读(138) 评论(0) 推荐(0) 编辑
摘要: function reloadSmartMenu() { var jsElem = document.createElement('script'); jsElem.src= path+'/system/config/js/reloadStat.js'; document.getElementsByTagName('head')[0].appendChild(jsElem... 阅读全文
posted @ 2016-06-05 18:56 user_孙 阅读(213) 评论(0) 推荐(0) 编辑