摘要: 待总结 阅读全文
posted @ 2013-05-22 14:31 akingseu 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 待总结 阅读全文
posted @ 2013-05-22 14:29 akingseu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: eg.String hql = "select dr.date,sum(dr.click_num) as cn from DailyRecord dr ";hql += " where 1=1 ";hql += " and dr.date > :date ";...hql += " group by dr.date ";//(1)hql += " order by dr.date desc "; Session session = getSessionFactory().openSessi 阅读全文
posted @ 2013-05-22 14:23 akingseu 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1. Date --> Long 秒Date d = new Date();Long res = d.getTime();2. Date --> Date3.Date -> String4.String ->Date 阅读全文
posted @ 2013-05-22 14:16 akingseu 阅读(102) 评论(0) 推荐(0) 编辑