- 博客(5)
- 收藏
- 关注

原创 枚举工具类通过code找到msg,通过msg找到code
枚举工具类通过code找到msg,通过msg找到code有这样的一个枚举,我们想通过code找到msg,或者msg找到codepublic 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
2780
2
原创 redis
1.hash类型数字增长ERR hash value is not an integer这是数据转换出错,自定义配置redis序列化器@Configurationpublic class RedisConfig { /** * 默认redisTemplate 序列化使用的jdkSerializeable, 存储二进制字节码, * 使用所以自定义序列化类 将key和val设置为string * * @param redisConnectionFactor
2020-06-22 17:54:52
156
原创 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
230
转载 mysql8安装
mysql安装https://blog.youkuaiyun.com/qq_39135287/article/details/82117234
2019-11-22 10:44:56
139
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人