摘要: SELECT id, time24 FROM ( SELECT t1.id,t1.time24, t1.time48, t1.time72, t1.time96, t1.timegt96, t1.total, t1.type, t1.platform FROM scs_delivery_time_line t1 UNION ALL SELE... 阅读全文
posted @ 2018-09-18 10:41 浪味仙人 阅读(255) 评论(0) 推荐(0) 编辑
摘要: select * from delivery_trade_query where merchant_id = 4 order by id limit 1000000,100; select * from delivery_trade_query d where d.merchant_id = 4 and d.id >= (select id from delivery_trade_query... 阅读全文
posted @ 2018-08-17 16:05 浪味仙人 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 示例代码 Controller调用代码 前台脚本 阅读全文
posted @ 2018-08-06 14:27 浪味仙人 阅读(7775) 评论(0) 推荐(0) 编辑
摘要: drop procedure if exists t_add; -- 如果存在t_add 存储过程则删除 create procedure t_add(num int) begin declare i int; set i=0; while i<num do INSERT INTO `coffee`.`delivery_trade` (`merchant_id`, `merchant_nam... 阅读全文
posted @ 2018-08-03 18:05 浪味仙人 阅读(3330) 评论(0) 推荐(0) 编辑
摘要: 页面: 脚本: checkAll:function(obj){ $('[name=rowCheck]:checkbox').prop("checked",$(obj).prop('checked')); } checkOne: function (obj) { var id = $(obj).attr("id"); if ($.inArr... 阅读全文
posted @ 2018-07-25 17:51 浪味仙人 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1.新增时,当违反唯一索引则修改对应字段的值 唯一索引 映射文件mapper.xml 阅读全文
posted @ 2018-07-18 11:28 浪味仙人 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 第一步:jdbc.properties配置 第二步:applicationContext-datasource.xml配置 第三步:applicationContext-dao.xml配置 第四步:applicationContext-tx.xml配置 阅读全文
posted @ 2018-07-12 14:12 浪味仙人 阅读(212) 评论(0) 推荐(0) 编辑
摘要: MailUtils.java 阅读全文
posted @ 2018-06-22 18:07 浪味仙人 阅读(179) 评论(0) 推荐(0) 编辑
摘要: redis.properties spring-redis.xml 阅读全文
posted @ 2018-06-22 18:02 浪味仙人 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 javamail、jcommon、jfreechart 创建邮件发送模板,delay-mail.vm 邮件工具类 MailUtil.java 绘制图表以及发送 SendDelayMailJobServiceImpl.java 补充:如果图片不能正常显示,需要将图片写入邮件附件,并用cid读 阅读全文
posted @ 2018-06-21 15:11 浪味仙人 阅读(8680) 评论(6) 推荐(0) 编辑