12 2016 档案

摘要://from 提交 function login(){ $('#login_form').form('submit',{ url: '../../../bagechuxing/customer/doLoginRegister', onSubmit: function(param){ return $ 阅读全文
posted @ 2016-12-30 14:16 JLCUI 阅读(1688) 评论(0) 推荐(0) 编辑
摘要://controller里面使用锁 ActivityRedPacket ap = customerService.getActivityRedPacket(params); if (synchronizedUtil.lockActivyId.containsKey(ap.getId())) {//M 阅读全文
posted @ 2016-12-30 10:03 JLCUI 阅读(307) 评论(0) 推荐(0) 编辑
摘要:public long[] findCustomerCoReg(StatisticsQuery query){ Date startDate = query.getStartDate(); Date endDate = query.getEndDate(); Calendar c = Calenda 阅读全文
posted @ 2016-12-29 09:59 JLCUI 阅读(1183) 评论(0) 推荐(0) 编辑
摘要:private String[] getDateArrByMonth(Date startDate, Date endDate) { Calendar c = Calendar.getInstance(); List<String> list = new ArrayList<String>(); S 阅读全文
posted @ 2016-12-28 17:21 JLCUI 阅读(947) 评论(0) 推荐(0) 编辑
摘要:public int getDayOfWeek(Date date) { Calendar c = Calendar.getInstance(); c.setTime(date); int d = c.get(Calendar.DAY_OF_WEEK) - 1; if (d == 0) { retu 阅读全文
posted @ 2016-12-28 17:18 JLCUI 阅读(330) 评论(0) 推荐(0) 编辑
摘要:public static String md5(String inStr) throws Exception { MessageDigest md5 = null; try { md5 = MessageDigest.getInstance("MD5"); } catch (Exception e 阅读全文
posted @ 2016-12-28 17:16 JLCUI 阅读(102) 评论(0) 推荐(0) 编辑
摘要:public final static String REG_PASSWORD_EXP="^[0-9a-zA-Z_]{6,8}$"; regExp = ConstantUtil.REG_PASSWORD_EXP; p = Pattern.compile(regExp); m = p.matcher( 阅读全文
posted @ 2016-12-28 17:13 JLCUI 阅读(715) 评论(0) 推荐(0) 编辑
摘要:Thread threadTemp = new Thread(new Runnable() { @Override public void run() { try { NightshiftInterval ns = nightshiftIntervalMapper.selectByPrimaryKe 阅读全文
posted @ 2016-12-28 17:04 JLCUI 阅读(113) 评论(0) 推荐(0) 编辑
摘要:function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != nul 阅读全文
posted @ 2016-12-28 16:54 JLCUI 阅读(2139) 评论(0) 推荐(0) 编辑
摘要://span赋值 $('#state1').text("审核通过"); //textarea赋值 $("#memo").val(''); //隐藏域 $("#id").val(row.id); //textbox赋值和取值 $("#county").textbox('setValue',result 阅读全文
posted @ 2016-12-28 16:52 JLCUI 阅读(739) 评论(0) 推荐(0) 编辑
摘要:var rows = $('#dg').datagrid('getChecked'); var ids = ''; for (var i = 0; i < rows.length; i++) { ids += rows[i].id + ','; } ids = ids.substring(0, id 阅读全文
posted @ 2016-12-28 16:51 JLCUI 阅读(169) 评论(0) 推荐(0) 编辑
摘要:data-options="required:true,validateOnCreate:false,validateOnBlur:true,validType:'datecompare[startdateNew]'" /> function dateCompare(dt1,dt2){ var st 阅读全文
posted @ 2016-12-28 16:51 JLCUI 阅读(2634) 评论(0) 推荐(0) 编辑
摘要:$('#moneyff').form('clear'); 阅读全文
posted @ 2016-12-28 16:50 JLCUI 阅读(82) 评论(0) 推荐(0) 编辑
摘要:$('#moneyWin').dialog('open').dialog('center').dialog('setTitle', '用户充值'); 阅读全文
posted @ 2016-12-28 16:50 JLCUI 阅读(115) 评论(0) 推荐(0) 编辑
摘要:$("#rejectCauseDisplay").css('display',"block"); $("#rejectCauseDisplay").css('display',"none"); 阅读全文
posted @ 2016-12-28 16:49 JLCUI 阅读(149) 评论(0) 推荐(0) 编辑
摘要:var row = $('#dg').datagrid('getData').rows[rowIndex]; $('#moneyff').form('load', row);//row 可以是行数据也可以是对象加载 阅读全文
posted @ 2016-12-28 16:49 JLCUI 阅读(202) 评论(0) 推荐(0) 编辑
摘要:$.ajax({ type : "POST", data:{ createStartTime:createStartTimes, createEndTime:createEndTimes }, url : "<%=request.getContextPath()%>/numericalControl 阅读全文
posted @ 2016-12-28 16:48 JLCUI 阅读(868) 评论(0) 推荐(0) 编辑
摘要:$("#activityName").textbox('readonly',true);//设置只读 //下拉列表获取数据 $('#depid').combobox({ url:'<%=request.getContextPath()%>/company/getDepartment', editab 阅读全文
posted @ 2016-12-28 16:46 JLCUI 阅读(950) 评论(0) 推荐(0) 编辑

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