摘要: ![](https://img2022.cnblogs.com/blog/1410909/202203/1410909-20220310140408984-1543090377.png) 阅读全文
posted @ 2022-03-10 14:04 苏南hui 阅读(18) 评论(0) 推荐(0)
摘要: RestTemplate服务名调用原理 服务名调用 假设test-server是微服务 @Autowired RestTemplate restTemplate; public void test(){ restTemplate.execute("http://test-server/a",Http 阅读全文
posted @ 2022-03-09 16:26 苏南hui 阅读(523) 评论(0) 推荐(0)
摘要: 测试数据和索引 MySQL5.7 打印执行计划,type是all走的全表 MySQL8.0 type是range对索引进行范围扫描 MySQL5.7解决方案 使用覆盖索引代替,not in就可以走索引了 阅读全文
posted @ 2022-02-15 19:26 苏南hui 阅读(1212) 评论(0) 推荐(0)
摘要: brew install --cask chromium 如果下载失败,可以使用代理下载 下载后chromium打开失败,可以消除app的隔离属性 sudo xattr -r -d com.apple.quarantine /Applications/Chromium.app 阅读全文
posted @ 2022-01-22 10:35 苏南hui 阅读(540) 评论(0) 推荐(0)
摘要: export ALL_PROXY=socks5://127.0.0.1:portnumber 阅读全文
posted @ 2022-01-22 09:50 苏南hui 阅读(98) 评论(0) 推荐(0)
摘要: mvn clean source:jar install -DskipTests 阅读全文
posted @ 2021-11-16 13:18 苏南hui 阅读(77) 评论(0) 推荐(0)
摘要: 配置 spring: web: resources: static-locations: file:upload 效果: 阅读全文
posted @ 2021-10-25 14:15 苏南hui 阅读(198) 评论(0) 推荐(0)
摘要: word模板生成,基于freemarker 创建word模板文档 文档的格式为docx,如果不是另存为docx文档 注意是word文档(.docx) 提取需要替换的文件 docx文档其实是zip格式的,修改后缀就可以看到文档里的实际内容 用压缩软件打开 里面的内容符合微软officeopenxml规 阅读全文
posted @ 2021-10-20 11:05 苏南hui 阅读(537) 评论(0) 推荐(0)
摘要: 注解 package com.ccsa.common.core.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotatio 阅读全文
posted @ 2021-10-13 13:27 苏南hui 阅读(998) 评论(2) 推荐(0)
摘要: Json数组 数组包含某个数据 SELECT * from test WHERE JSON_CONTAINS(`value`, '3','$'); 获取长度 SELECT JSON_LENGTH(`value`,'$') from test 阅读全文
posted @ 2021-08-28 09:55 苏南hui 阅读(43) 评论(0) 推荐(0)