上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 原来的代码 String tenantId = getTenantId(request); // 判断租户是否存在 SysTenant sysTenant = sysTenantService.getById(tenantId); if (Objects.isNull(sysTenant)) { t 阅读全文
posted @ 2023-11-02 14:27 linzm14 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 安装 官网 https://www.elastic.co/cn/downloads/past-releases/elasticsearch-6-5-3 kibana https://www.elastic.co/cn/downloads/past-releases/kibana-6-5-3 kiba 阅读全文
posted @ 2023-09-16 23:40 linzm14 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 静态代理、动态代理和CGLIB代理都是常见的代理模式,用于在对象之间添加额外的功能或控制访问。 ## @EnableTransactionManagement(proxyTargetClass = true) 的 作用 > 当将 proxyTargetClass 设置为 true 时,将使用基于CG 阅读全文
posted @ 2023-08-23 18:47 linzm14 阅读(124) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/2257481/202308/2257481-20230823141126229-613379568.png) ## mybatis 中的实现 ``` public interface UserMapper extends B 阅读全文
posted @ 2023-08-23 14:10 linzm14 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ## CompletableFuture 异常处理 ``` private void asyncChildFaults(FaultTreeRequest request, List fmeaTreeNodeModels) { List> futures = new ArrayList(); Stri 阅读全文
posted @ 2023-08-16 14:47 linzm14 阅读(171) 评论(0) 推荐(0) 编辑
摘要: # spring cache 缓存在jvm # 搭配redis ## pom ``` org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-data-redis org.ap 阅读全文
posted @ 2023-08-15 11:41 linzm14 阅读(147) 评论(0) 推荐(0) 编辑
摘要: /** * 传入一棵树,递归到子,从子到父过节点,只要存在符合条件的子节点,则保留从父到子的路径树, * 根据预留函数式接口,利用模板方法设计模式,过滤全量资产树 * 因java8 collection只提供removeIf,无提供retainIf,故传参判断是否保留 * * @param tree 阅读全文
posted @ 2023-08-07 11:24 linzm14 阅读(145) 评论(0) 推荐(0) 编辑
摘要: ## 1 处理非200 异常 ### pom ``` io.github.openfeign feign-jackson ``` ### code ``` public class FeignException implements ErrorDecoder { private final Erro 阅读全文
posted @ 2023-08-07 09:29 linzm14 阅读(160) 评论(0) 推荐(0) 编辑
摘要: ## maven 配置 ``` org.apache.maven.plugins maven-jar-plugin 3.2.0 true com.lin.remotedebug.RemoteDebugApplication ``` ## mvn package ![](https://img2023 阅读全文
posted @ 2023-06-25 12:00 linzm14 阅读(20) 评论(0) 推荐(0) 编辑
摘要: # 数据集1 英国房地产支付价格 https://clickhouse.com/docs/zh/getting-started/example-datasets/uk-price-paid ## 问题 ![](https://img2023.cnblogs.com/blog/2257481/2023 阅读全文
posted @ 2023-06-12 09:55 linzm14 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页
点击右上角即可分享
微信分享提示