摘要: ` import org.apache.commons.lang.StringUtils; /** @author: qinghao @date: 2023-01-05 数据脱敏工具类 / public class DesensitizedUtils { /* 【中文姓名】只显示第一个汉字,其他隐藏 阅读全文
posted @ 2023-01-05 20:50 Seasky-null 阅读(746) 评论(0) 推荐(0)
摘要: 1.导入 `` List<WriteOffBaseInfo> writeOffBaseInfoList = new ArrayList<>(); List<WriteOffBaseInfo> writeOffBaseInfoList1 = new ArrayList<>(); ReadSheet r 阅读全文
posted @ 2022-11-23 15:36 Seasky-null 阅读(4182) 评论(0) 推荐(0)
摘要: 1.maven依赖 点击查看代码 <!--表格生成--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.9</version> </dependency> <depende 阅读全文
posted @ 2022-07-15 23:49 Seasky-null 阅读(839) 评论(1) 推荐(2)
摘要: Security工作原理 1.依赖 点击查看代码 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> 阅读全文
posted @ 2022-06-05 22:10 Seasky-null 阅读(108) 评论(0) 推荐(0)
摘要: 1.实现方式 /** * @Author QingHao * @Date: 2022/05/30/ 22:36 * @Describe 有序二叉排序树 */ public class BinarySearchTree<E extends Comparable<E>> { public Node ro 阅读全文
posted @ 2022-05-30 23:23 Seasky-null 阅读(34) 评论(0) 推荐(0)
摘要: 1.配置类 点击查看代码 package com.example.property.management.config; import com.example.property.management.interceptor.SqlInterceptor; import org.apache.ibat 阅读全文
posted @ 2022-05-29 21:57 Seasky-null 阅读(152) 评论(0) 推荐(0)
摘要: #配置静态资源文件夹 spring.resources.static-locations=file:D:/QRImages,classpath:static #设置单个文件上传大小 spring.servlet.multipart.max-file-size=1024MB #设置批量上传文件的总大小 阅读全文
posted @ 2022-05-26 01:05 Seasky-null 阅读(22) 评论(0) 推荐(0)
摘要: 1.当我们接收的参数是JSON格式时可以使用以下注解 search(@RequestBody CommunityDTO communityDTO) @JsonFormat (pattern= "yyyy-MM-dd HH:mm:ss" ) 2.当我们接收的参数是普通的字符在参数时可以使用以下注解 s 阅读全文
posted @ 2022-05-22 22:03 Seasky-null 阅读(192) 评论(0) 推荐(0)
摘要: 一般情况下,我们使用Redis作为布隆过滤器的内存介质,所以我们要保证当前项目能够连接到Redis才能将数据加载到布隆过滤器再进后续的操作***(window的Redis不支持Docker中的Redis支持) 添加redis依赖 <dependency> <groupId>org.springfra 阅读全文
posted @ 2022-05-20 13:28 Seasky-null 阅读(343) 评论(0) 推荐(0)
摘要: 找到server.properties添加配置将ip暴漏出去 ############################# Zookeeper ############################# # Zookeeper connection string (see zookeeper docs 阅读全文
posted @ 2022-05-20 11:20 Seasky-null 阅读(203) 评论(0) 推荐(0)