自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 2669 2

原创 java File处理

MultipartFile 转 Filefile转化为base64file转化为base64

2020-06-11 11:31:11 1328

原创 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 104

原创 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 190

转载 mysql8安装

mysql安装https://blog.csdn.net/qq_39135287/article/details/82117234

2019-11-22 10:44:56 92

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除