摘要: 刚进公司第一个项目就是oa项目,不会activiti,只得自学,途中搜集到的activiti学习资源总结 1.activiti初体验 http://blog.csdn.net/bluejoe2000/article/details/39521405 2.eclipse安装activiti可视化插件( 阅读全文
posted @ 2016-07-21 17:24 peak-c 阅读(479) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function () { //全选checkbox $("#selectAll").click(function () { var checked = $(this).prop("checked"); $(":checkbox").prop("checked", checked); }); ... 阅读全文
posted @ 2016-04-23 15:49 peak-c 阅读(248) 评论(0) 推荐(0) 编辑
摘要: /**获取选中的checkbox值*/ function getChecked(){ var ids = ""; $("input:checkbox[name='id']:checked").each(function(i){ if(0==i){ ids = $(this).val(); ... 阅读全文
posted @ 2016-04-23 15:04 peak-c 阅读(3187) 评论(0) 推荐(0) 编辑
摘要: 参照:http://www.cnblogs.com/linjiqin/archive/2013/07/08/3178452.html 工具:在线生成Cron 语法规则: Seconds Minutes Hours DayofMonth Month DayofWeek Year 或 Seconds M 阅读全文
posted @ 2016-04-22 10:02 peak-c 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 参照:http://blog.csdn.net/haitaofeiyang/article/details/50737644 quartz框架中防止任务并行可以有两种方案: 1、如果是通过MethodInvokingJobDetailFactoryBean在运行中动态生成的Job,配置的xml文件有 阅读全文
posted @ 2016-04-22 10:02 peak-c 阅读(11633) 评论(0) 推荐(0) 编辑
摘要: 参照:http://blog.csdn.net/szwangdf/article/details/6158646 1.自定义定时任务管理类 QuartzManager 参照大神基础上新增:1.添加job时传入参数JobDataMap 2.json和JobDataMap的互相转换 2.简单使用 添加任 阅读全文
posted @ 2016-04-22 10:00 peak-c 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 现象: 1.报错:There is a cycle in the hierarchy! 2.返回至前台的json不完整,字段丢失。 错误原因: eg:entity1的属性有list<entitiy2>,entity2的字段中也含有entity1,即常见的双向关联;引发的死循环 解决方案: 1.重写一 阅读全文
posted @ 2016-04-06 18:14 peak-c 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: SpringMvc+thymeleaf+HTML5环境下遇到中文乱码...... 按照以往经验逐个排查,开发环境统一为utf-8编码,服务器也配置了编码过滤器,tomcat也是utf-8编码。前台页面也是utf-8编码的。 郁闷,到底哪里出错了呢? 排错1:开发者工具检查请求,发现我的post请求体 阅读全文
posted @ 2015-10-18 20:05 peak-c 阅读(4998) 评论(0) 推荐(3) 编辑