上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: Long len = redisTemplate.opsForList().size(CacheConstants.CACHE_LOG_LIST); if (len != null && len > 0) { long i = len / 1000 + 1; while (i > 0) { List 阅读全文
posted @ 2021-10-18 15:51 qwer78 阅读(413) 评论(0) 推荐(0)
摘要: @PostMapping("/push") public void push(@PathVariable MultipartFile file) throws IOException { if (Objects.isNull(file) || file.isEmpty()) { return; } 阅读全文
posted @ 2021-09-23 09:57 qwer78 阅读(43) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { JSONArray jsonArray = new JSONArray(); for (int i = 1; i < 11; i++) { JSONObject jsonObject = new JSONObject( 阅读全文
posted @ 2021-09-08 16:42 qwer78 阅读(78) 评论(0) 推荐(0)
摘要: //fork():开启一个新线程(或是重用线程池内的空闲线程),将任务交给该线程处理。 //join():等待该任务的处理线程处理完毕,获得返回值。 import java.util.concurrent.ExecutionException; import java.util.concurrent 阅读全文
posted @ 2021-08-13 15:15 qwer78 阅读(89) 评论(0) 推荐(0)
摘要: 引入依赖 <!-- https://mvnrepository.com/artifact/io.netty/netty-all --> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <versi 阅读全文
posted @ 2021-07-30 10:58 qwer78 阅读(118) 评论(0) 推荐(0)
摘要: 1. GROUP_CONCAT, CONCAT_WS,, ORDER BY 组合使用 SELECT tmi.id, tmi.task_name AS taskName, JSON_UNQUOTE( JSON_EXTRACT( tmi.cooperate_dept, '$[*].name' ) ) A 阅读全文
posted @ 2021-07-28 17:48 qwer78 阅读(28) 评论(0) 推荐(0)
摘要: 通过yum安装服务 yum install -y net-snmp yum install -y net-snmp-devel yum install -y net-snmp-libs yum install -y net-snmp-perl yum install -y net-snmp-util 阅读全文
posted @ 2021-07-22 10:23 qwer78 阅读(932) 评论(0) 推荐(0)
摘要: List<ApparatusUsageDetailDTO> useDetailAll = usageService.findUseDetailAll(id, ""); if (null == useDetailAll || useDetailAll.isEmpty()) { return; } // 阅读全文
posted @ 2021-07-14 12:32 qwer78 阅读(448) 评论(0) 推荐(0)
摘要: mysql运行show master status; 命令 查看binlog文件 如 mysql-bin.000020 运行 命令 mysqlbinlog --no-defaults --database=数据库名称 --start-datetime="2020-01-01 00:00:00" -- 阅读全文
posted @ 2021-06-22 10:01 qwer78 阅读(37) 评论(0) 推荐(0)
摘要: 套红的方法 签章: import com.deepoove.poi.XWPFTemplate; import com.deepoove.poi.xwpf.NiceXWPFDocument; import lombok.extern.slf4j.Slf4j; import org.apache.poi 阅读全文
posted @ 2021-05-11 14:44 qwer78 阅读(876) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页