自定义博客皮肤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)
  • 收藏
  • 关注

原创 List分组统计

List<Student> studentVoList=XXX;//按照年级 统计人数年级人数Map<Long,Long> studenCount=studentVoList.stream().collect(Collectors.groupingBy(InnerSchoolStudentVo::getSchoolGradeId,Collectors.counting()));

2021-12-27 17:46:11 654 1

原创 nginx 页面刷新404 端口号变化

在使用nginx时 页面都能正常访问 但刷新之后就404 查找原因是端口号变化 之前是正确的刷新之后就变成了 我监听的80端口 。修改方法如下 if (!-e $request_filename) { rewrite ^/(.*) /index.html last; break; }...

2021-10-14 17:07:36 732

原创 List分组求和

//分组统计Map<String,BigDecimal> firmAndNum=new HashMap<>();Map<String,IntSummaryStatistics> masp=projectPostList.stream().filter(s->s.getPeopleCounting()!=null&& s.getPeopleCounting()!=0 &&s.getFirmName()!=null &&am.

2021-09-24 14:06:50 307

原创 两个List 比较不同

List<Long> resumeIds=new ArrayList();List<Long> resumePurId=new ArrayList();List<Long> notexists=resumeIds;notexists.removeAll(resumePurId);//resumePurId中不存在resumeIds中的元素notexists.removeAll(resumePurId);notexists 中的元素就是不同...

2021-09-24 12:03:52 292

原创 SpringBoot jar包获取static下的文件路径

在项目中获取static中的文件相对路径 windows、linux 通用

2021-09-02 10:49:59 1009

空空如也

空空如也

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

TA关注的人

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