08 2015 档案

摘要:public static Map sortMapByKey(Map map) { if (map == null || map.isEmpty()) { return null; } //Comparator接口进行排序 Ma... 阅读全文
posted @ 2015-08-25 21:05 耗子搞IT 阅读(227) 评论(0) 推荐(0)
摘要:spring 定时任务 阅读全文
posted @ 2015-08-25 18:17 耗子搞IT
摘要:1.spring 转发 request.setAttribute("id", id); request.setAttribute("name",name); request.getReques... 阅读全文
posted @ 2015-08-25 14:36 耗子搞IT 阅读(363) 评论(0) 推荐(0)
摘要:INSERT INTO rechargeRecord(loginId,loginName,name) values(#{loginId},#{loginName},#{name}) 这里的keyProperty="id"中的id要与数据库中的主... 阅读全文
posted @ 2015-08-23 18:07 耗子搞IT 阅读(274) 评论(0) 推荐(0)
摘要:public class SysConfig { private static final Properties properties = new Properties(); static{ Resource rs1 = new ClassPathResource("sys-... 阅读全文
posted @ 2015-08-19 18:24 耗子搞IT 阅读(245) 评论(0) 推荐(0)