摘要: 毫秒值 -> 时间 var date = new Date(1477386005*1000); 阅读全文
posted @ 2018-09-06 16:30 萧韶九成 阅读(148) 评论(0) 推荐(0)
摘要: this.timer = setInterval(dojo.hitch(this, function(){ this.initData(); }), 3000); if(this.timer){ clearInterval(this.timer); this.timer = null; } 阅读全文
posted @ 2018-09-06 16:29 萧韶九成 阅读(143) 评论(0) 推荐(0)
摘要: dojosetTimeout(dojo.hitch(this, function(){ this.onClickCount(); }), 3000); 普通应用在js中,延迟执行函数有两种,setTimeout和setInterval,用法如下: function testFunction(){Co 阅读全文
posted @ 2018-09-06 16:27 萧韶九成 阅读(9661) 评论(1) 推荐(1)
摘要: 问题描述 java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based! 红色部分报错 for (int i = 0; i < listParam.size(); i++) { query.setP 阅读全文
posted @ 2018-09-06 13:56 萧韶九成 阅读(341) 评论(0) 推荐(0)
摘要: b=a是将b的地址值指向a,而b原先的对象会被垃圾回收 集合之间的复制方法 方式一: ArrayList B = new ArrayList<> (A); 方式二: ArrayList B = A.clone(); 方式三: ArrayList B = new ArrayList<String>() 阅读全文
posted @ 2018-09-06 13:29 萧韶九成 阅读(292) 评论(0) 推荐(0)
摘要: Integer currentPage = voIn.getCurrentPage(); if (currentPage == null) { currentPage = 1; } Integer pageSize = voIn.getPageSize(); if (pageSize == null 阅读全文
posted @ 2018-09-06 11:01 萧韶九成 阅读(472) 评论(0) 推荐(0)