摘要: 1.求取某一段时间内的每一天1 Date date0 = new SimpleDateFormat("yyyy-MM-dd").parse("2014-01-01");2 Date date1 = new SimpleDateFormat("yyyy-MM-dd").... 阅读全文
posted @ 2015-04-16 13:47 tian830937 阅读(2045) 评论(0) 推荐(0) 编辑
摘要: java获取系统指定时间年月日 1 private String setDateTime(String falg) { 2 Calendar c = Calendar.getInstance(); 3 c.setTimeInMillis(new Date().... 阅读全文
posted @ 2015-04-16 13:38 tian830937 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 获取系统当前时间 3 */ 4 function getNowYearMouth(){ 5 var date=new Date; 6 var nowYearMouth=date.getMonth()+1; 7 var year=date.get... 阅读全文
posted @ 2015-04-16 13:34 tian830937 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: nodetree中 前面复选框的去掉插件extendTreeCheck.js 1 /** 2 * tree方法扩展 3 * 作者:小雪转中雪 4 */ 5 $.extend($.fn.tree.methods, { 6 /** 7 * 激活复... 阅读全文
posted @ 2015-04-16 13:17 tian830937 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 生成指定长度的UUID 3 * @param len 4 * @param radix 5 * @returns uuid 6 * eg: createUUID(8, 2) "01001010" createUUID(8, 10) "47473046" createU... 阅读全文
posted @ 2015-04-16 13:15 tian830937 阅读(1829) 评论(0) 推荐(0) 编辑
摘要: 1.简单的post请求案例 $.post(rootPath+"/jasframework/loginLog/getStatisticsInfoByUserId.do",function(result){ if(result!=null){ v... 阅读全文
posted @ 2015-04-16 13:10 tian830937 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 1 $.ajax({ 2 url : rootPath +'/jasframework/choosepilecontrol/querySubsytem.do', 3 type : "POST", 4 ... 阅读全文
posted @ 2015-04-16 11:54 tian830937 阅读(454) 评论(0) 推荐(0) 编辑
摘要: html端代码 1 2 3 4 5 6 原文件或文件夹路径: 7 8 ... 阅读全文
posted @ 2015-04-16 11:47 tian830937 阅读(187) 评论(0) 推荐(0) 编辑
摘要: CREATEorREPLACEviewview_willas selectcollege.collegeid,mat.stuid,sum(score.chinese+score.math+score.english+score.complex)fromcollege,mat,scorewhereco... 阅读全文
posted @ 2015-04-14 14:44 tian830937 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1.用DecimalFormat格式化,DecimalFormat df=new DecimalFormat("0.00");System.out.println(df.format(1.2));追问如果非得要使用double类型呢?提问者评。。。。。。。。。。。。2.java中double类型变量... 阅读全文
posted @ 2015-04-14 14:38 tian830937 阅读(6097) 评论(0) 推荐(0) 编辑