上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 57 下一页
摘要: 参考:https://www.pianshen.com/article/42571220154/ 阅读全文
posted @ 2021-09-06 18:48 毛会懂 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 如果recordId 为null。 则if控制器的条件应该这样写: ${__jexl3("${recordId}"=="",)} 最开始是这样写的:${__jexl3(${recordId}=="",)},不对 阅读全文
posted @ 2021-09-06 18:34 毛会懂 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 转自: https://blog.csdn.net/weixin_30526593/article/details/98085273 阅读全文
posted @ 2021-08-31 13:57 毛会懂 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 需求:举办一场活动(activity),可以设置多个场次(设置的场次,即session,每隔一段时间举行一场)进行秒杀,每个场次可以秒杀多个奖品(prize)。 方案:redis存储奖品的库存,使用incr命令扣库存, redis扣成功的情况下,再mysql扣库存。 说明:设置redis有效期>=场 阅读全文
posted @ 2021-08-29 12:09 毛会懂 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.jb51.net/article/212010.htm https://www.jb51.net/article/179946.htm https://www.jianshu.com/p/76bc0e963172 https://www.letianbiji.com/ 阅读全文
posted @ 2021-08-27 20:16 毛会懂 阅读(7188) 评论(0) 推荐(0) 编辑
摘要: 需求:分表时,需要批量建表 # 第一步:创建存储过程CREATE PROCEDURE create_64_table(in val_s int, in val_e int)begindeclare i int;set i=val_s;while i<=val_e do set @sql_create 阅读全文
posted @ 2021-07-23 12:01 毛会懂 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 需求:创建了64张表,需要全部删除。 # 第一步:创建存储过程CREATE PROCEDURE drop_64_table(in val_s int, in val_e int)begindeclare i int;set i=val_s;while i<=val_e do set @sql_dro 阅读全文
posted @ 2021-07-23 11:58 毛会懂 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_22211217/article/details/80639492 我的是用的这一条: 7 防火墙拦截端口 systemctl status firewalld.service systemctl stop firewalld.service 阅读全文
posted @ 2021-07-21 13:29 毛会懂 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/taopenglove/article/details/115008531 org.springframework.dao.InvalidDataAccessApiUsageException: ConnectionCallback; isValid 阅读全文
posted @ 2021-07-13 15:43 毛会懂 阅读(3062) 评论(0) 推荐(0) 编辑
摘要: 2021-10-10T10:10:10 含有T的字符串转LocalDateTimeDateTimeFormatter formatter = DateTimeFormatter.ISO_LOCAL_DATE_TIME;LocalDateTime dateTimeParked = LocalDateT 阅读全文
posted @ 2021-07-13 11:44 毛会懂 阅读(1233) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 57 下一页