摘要: ---------------基础语法---------添加一个下属节点var $h=$("<p>第一段文字</p>");$("#h11").append($h);添加一个样式$("li").addClass("normalStyle"); 添加一个属性$("li").css("color","blue");移除id为tr1的第二个表框$("#tr1 td:eq(1)").remove();克隆一个按钮并显示在i 阅读全文
posted @ 2012-02-21 16:43 hibernate3例子 阅读(167) 评论(0) 推荐(0) 编辑
摘要: java字符串加密解密try { String test = "123456789@fdj.com"; EncryptionDecryption des = new EncryptionDecryption("tourhb");// 自定义密钥 System.out.println("加密前的字符:" + test); System.out.println("加密后的字符:" + des.encrypt(test)); System.out.println("解密后的字符:" + des.dec 阅读全文
posted @ 2012-02-21 16:41 hibernate3例子 阅读(336) 评论(0) 推荐(0) 编辑
摘要: oracle 按每天,每周,每月,每季度,每年查询统计数据//按天统计select count(dataid) as 每天操作数量, sum()from tablenamegroup by trunc(createtime, 'DD'))//按自然周统计 select to_char(date,'iw'),sum() from tablenamegroup by to_char(date,'iw') //按自然月统计 select to_char(date,'mm'),sum() from tablenamegroup by to 阅读全文
posted @ 2012-02-21 16:39 hibernate3例子 阅读(241) 评论(0) 推荐(0) 编辑