自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 Spring 包下的统计耗时,StopWatch

Spring 包下的统计耗时,StopWatch

2022-08-18 17:08:29 298 1

原创 Lamdba表达式

1.BigDecimal求和BigDecimal winBidTotalPrice = notBargainList.stream().map(BidSupplierProjectItem::getDealTotalPrice).reduce(BigDecimal.ZERO, BigDecimal::add);2.String合并String str = bidSubFileList.stream().map(BidSubFile::getFileName).reduce("", St...

2022-04-11 14:32:02 157

原创 Linux 环境安装 mysql

1.准备好mysql压缩包 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz2.解压缩tar zxf mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz3.复制到/usr/local/mysql文件夹下cp -r mysql-5.6.33-linux-glibc2.5-x86_64 /us...

2021-12-28 15:12:15 401

原创 Linux环境搭建单机版redis集群

1.安装redis,参考Linux安装redis 步骤_罗罗诺亚-jk的博客-CSDN博客2.准备六个文件夹 mkdir redis01~063.把redis.conf文件复制到文件夹下 cp redis.conf /usr/local/redis-cluster/redis01/4.修改redis.conf文件 a.端口号(7001~7006) b.修改dir ./ c.cluster-enab...

2021-12-17 23:12:36 745

原创 Linux安装redis 步骤

1、停止firewalld服务systemctl stop firewalld2、禁止firewalld开机启动systemctl disable firewalld关闭SELinuxa、临时关闭setenforce 0b、永久关闭SELinuxsed -i "s/^SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config3、准备好redis安装包链...

2021-12-15 18:19:23 1211

原创 虚拟机可以ping通外网,ping不通本地ip解决办法

防火墙-高级设置-入站规则此时虚拟机可以ping通本地ip

2021-12-08 15:22:37 951 1

原创 vim /etc/sysconfig/network-scripts/ifcfg-ens33 显示空白

编辑ifcfg-ens33提示can't open file for writing解决方法:登录root用户,即可编辑保存

2021-12-06 14:38:10 7020 1

原创 com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor

使用pagehelper插件时异常5.0之后的版本使用com.github.pagehelper.PageInterceptor这个类 即改为:<plugin interceptor="com.github.pagehelper.PageInterceptor">再次报错:Cause: com.github.pagehelper.PageException: java.lang.ClassNotFoundExcept...

2021-10-20 10:31:33 1105

原创 idea根据表快速生成代码

idea根据表快速生成代码1.安装EasyCode插件2.创建springBoot项目,在idea配置数据库连接3.填写数据库用户名,密码等,点Test测试一下连通性,最后点ok即可。4.在需要生成代码的表上右键操作即可,如下:5.生成的代码如下:...

2021-10-19 15:08:45 765

原创 SpringBoot 分页插件 PageHelper启动器

1.pom中需引入spring-boot-starter下的包<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.2.5</version></dependency>2.在调用查询接口前加上

2021-10-14 11:20:41 169

论文.doc

论文.doc

2022-12-04

空空如也

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

TA关注的人

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