摘要: collection:任意可以使用迭代器的对象,如list、map, 当集合为可迭代对象或List或Array时,index表示当前迭代对象的索引值,item表示当前迭代对象 当集合为map时,index表示当前迭代对象的key值,item表示当前迭代对象的value值 阅读全文
posted @ 2018-03-23 14:45 根须 阅读(209) 评论(0) 推荐(0)
摘要: oracle中分页查询的基本语法: select *from (真正的查询) where rownum<=n; 阅读全文
posted @ 2018-03-23 14:24 根须 阅读(135) 评论(0) 推荐(0)
摘要: step1:配置xml文件 step2:自动注入TransactionTemplate对象 step3:使用execute方法对事务进行管理 完整流程如下: 阅读全文
posted @ 2018-03-23 14:10 根须 阅读(414) 评论(0) 推荐(0)
摘要: 原因分析:点击刷新按钮是对当前页数据进行reload,因此所传的请求参数皆为上一次加载当前页的参数即datagrid的load方法中的参数,主要是因为请求的最终时间无法更新到最新状态 解决方案:对点击刷新按钮的onBeforeRefresh事件进行监听,在此事件中调用datagrid的roload方 阅读全文
posted @ 2018-03-23 13:25 根须 阅读(4772) 评论(0) 推荐(0)
摘要: 1 package com.per.sdg.operator; 2 /** 3 * 结论:先进行'&&'运算,在进行'||'运算 4 * @author sundg 5 * 6 */ 7 public class AndOrDemo { 8 public static void main(String[] args) { 9 int a=1; 1... 阅读全文
posted @ 2018-03-23 10:56 根须 阅读(5663) 评论(0) 推荐(0)