![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
Francis.G.Yang
这个作者很懒,什么都没留下…
展开
-
redis
1.hash类型数字增长ERR hash value is not an integer 这是数据转换出错, 自定义配置redis序列化器 @Configuration public class RedisConfig { /** * 默认redisTemplate 序列化使用的jdkSerializeable, 存储二进制字节码, * 使用所以自定义序列化类 将key和val设置为string * * @param redisConnectionFactor原创 2020-06-22 17:54:52 · 104 阅读 · 0 评论 -
springboot项目中的PageHelper分页
PageHelper分页 引入依赖 <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-原创 2020-06-12 16:23:28 · 191 阅读 · 0 评论 -
枚举工具类通过code找到msg,通过msg找到code
枚举工具类通过code找到msg,通过msg找到code 有这样的一个枚举,我们想通过code找到msg,或者msg找到code public class CommEnum { /** * @ClassName StatusEnum * @Description 周界围栏报警信息status枚举 * @Author gai.yang * @Date 2020/6/12 9:44 * @Version 1.0 **/ public原创 2020-06-12 13:44:07 · 2674 阅读 · 2 评论 -
java File处理
MultipartFile 转 File file转化为base64 file转化为base64原创 2020-06-11 11:31:11 · 1345 阅读 · 0 评论 -
mysql8安装
mysql安装 https://blog.csdn.net/qq_39135287/article/details/82117234转载 2019-11-22 10:44:56 · 92 阅读 · 0 评论