11 2014 档案

摘要:商户名称门店代码时间金额l.name{l.age}[SUM(D5)]{ll.val1}ll.val2{createName}制表日期:${createTime} 阅读全文
posted @ 2014-11-25 15:00 七郎 编辑
摘要:jsp中和response.sendRedirect("")两种跳转的区别一、response.sendRedirect("")始终要记住一点就是这种跳转是让客户端浏览器自己去访问指定的页面,这个指定页面的地址就是sendRedirect("")参数的内容。如果跳转的页面是webapp里面的页面,客... 阅读全文
posted @ 2014-11-19 10:04 七郎 编辑
摘要:SELECT * FROM my_table WHERE id IN (30, 20, 80, 40) ORDER BY FIELD(id, 30, 20, 80, 40); 阅读全文
posted @ 2014-11-07 11:24 七郎 编辑
摘要:`desc` 需要加引号BigDecimal progress = new BigDecimal(0.444); progress=progress.setScale(2, BigDecimal.ROUND_HALF_UP);或DecimalFormat df = new DecimalFo... 阅读全文
posted @ 2014-11-05 15:40 七郎 编辑
摘要:案例:TInfCustomer cus = (TInfCustomer) this.baseDao.getOne(helper);cus.setXXXcus .setXXX不调用update也写入数据库原因:hibernate在每个session里都会做些处理,比如把查询过的对象缓存起来什么,这个时... 阅读全文
posted @ 2014-11-04 16:02 七郎 编辑
摘要:Map m = new HashMap(); Integer i = 5; String s = null; m.put("val1", i); m.put("val2", s); System.err.println(m.get("val1")); System.err.prin... 阅读全文
posted @ 2014-11-01 15:22 七郎 编辑

点击右上角即可分享
微信分享提示