摘要: 系统环境:centos7.6 mysql版本:8.0.23 下载地址:https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.23-linux-glibc2.12-x86_64.tar.xz 解压文件: tar -xvf mysql-8.0.23-lin 阅读全文
posted @ 2022-02-12 13:40 陈苏乾 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 使用命令行开启: dism /online /Enable-Feature /FeatureName:TelnetClient 阅读全文
posted @ 2021-12-10 09:49 陈苏乾 阅读(2110) 评论(0) 推荐(0) 编辑
摘要: 原代码:<div v-show="uploader" class="table-operator" style="margin-top: 10px;margin-bottom: 10px;float:right; "> <a-upload name="file" :showUploadList="f 阅读全文
posted @ 2021-01-19 23:10 陈苏乾 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 这段代码表格有行点击事件,行中有三个a标签,分别有点击事件,目标是点击行中的a标签时,不触发行的点击事件。 <a-table ref="table" size="middle" bordered rowKey="id" :columns="columns" :dataSource="dataSour 阅读全文
posted @ 2021-01-19 22:53 陈苏乾 阅读(2823) 评论(0) 推荐(2) 编辑
摘要: spring quartz暂停后再恢复时job执行多次 原因在于暂停后到恢复时的时间在配置org.quartz.jobStore.misfireThreshold时间内,则会执行多次;无论怎么设置该值,或者修改CronTrigger的trigger.setMisfireInstruction(Cro 阅读全文
posted @ 2020-10-19 16:44 陈苏乾 阅读(832) 评论(0) 推荐(0) 编辑
摘要: DELIMITER $$ DROP FUNCTION IF EXISTS `url_decode` $$ CREATE DEFINER=`root`@`%` FUNCTION `url_decode`(original_text TEXT) RETURNS TEXT CHARSET utf8 BEG 阅读全文
posted @ 2020-09-17 15:18 陈苏乾 阅读(2169) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-02-03 21:54 陈苏乾 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 测试时使用spring boot2.2.0,在主类中调用,@Transactional 不起作用,原代码如下: 修改为使用serivce调用即可(访问修饰符必须为:public): 阅读全文
posted @ 2019-11-03 21:37 陈苏乾 阅读(450) 评论(0) 推荐(0) 编辑
摘要: LinkedBlockingQueue 链表队列,其元素构成为: 该队列有两种锁及判断队列不为空和队列未满的条件对象 队列操作 添加元素 有三种方式: 1.offer 当队列已满时,添加失败,返回false,源码如下: 2.put 添加元素到队尾,若队列已满,则添加操作进入到阻塞状态,直到队列中有元 阅读全文
posted @ 2019-10-06 22:44 陈苏乾 阅读(216) 评论(0) 推荐(0) 编辑
摘要: version: '3.4' services: mysql: image: mysql:8.0.15 container_name: platform.mysql.23306 deploy: resources: limits: memory: 3g restart_policy: cond... 阅读全文
posted @ 2019-09-08 22:35 陈苏乾 阅读(3593) 评论(0) 推荐(0) 编辑