![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
文章平均质量分 67
唯♧
你喜欢的东西很贵
你想去的地方很远
你为什么不努力呢?
展开
-
使用EasyExcel导入数据
使用EasyExcel导入excel数据原创 2022-12-22 14:50:31 · 673 阅读 · 0 评论 -
gateway网关启动报错 uable to start web server; nested exception is org.springframework.context.Application
gateway网关启动报错 uable to start web server; nested exception is org.springframework.context.ApplicationWebApplicationType 描述原创 2022-09-17 17:18:10 · 2737 阅读 · 1 评论 -
sql实例-2
sql实例原创 2022-08-26 14:50:16 · 178 阅读 · 0 评论 -
sql实例总结
sql经典实例原创 2022-08-25 11:09:20 · 1150 阅读 · 0 评论 -
线程池demo
线程池,线程执行完未赋值原创 2022-04-21 10:11:42 · 986 阅读 · 0 评论 -
fastJoin转换为string类型日期格式
String jsonString = JSON.toJSONString(list.get(i), SerializerFeature.DisableCircularReferenceDetect,SerializerFeature.WriteDateUseDateFormat);这一行代码保留了原来的数据格式JSONObject.toJSONString会将日期格式转换为时间戳原创 2022-03-28 14:11:42 · 218 阅读 · 0 评论 -
Mybatis整合mybatis查询遇到的坑
mybatis整合map查询过程中如果map的value的参数类型不一致时,new map集合的过程中不需要指定map的类型。在动态sql语句中指定具体查询的参数类型即可 public Result findScenicCommentLevel(@RequestParam(value = "province_ids",required = false) Integer province_ids, @RequestPara原创 2021-08-06 11:36:25 · 406 阅读 · 0 评论 -
集合涉及到的排序方式
List集合排序List对象集合按照对象的某个属性排序List集合对象排序 list.sort((o1, o2) -> (int) (o2.getCommentCount().get("totalCount") - o1.getCommentCount().get("totalCount"))); sort方法: public staticvoid sort(Listlist) :将集合中元素按照默认规则排序。 public staticvoi...原创 2021-08-05 13:47:53 · 774 阅读 · 0 评论 -
Static变量的使用
在Java语言中,static表示“静态”的意思,使用场景可以用来修饰成员变量和成员方法,当然也可以是静态代码块。static的主要作用在于创建独立于具体对象的域变量或者方法。本文主要来去讲解一下static的来龙去脉。static要解决什么问题?我们知道,当我们通过new关键字去创建对象的时候,那么数据的存储空间才会被分配,类中的成员方法才能被对象所使用。但是呢有两种特殊的情况:1、我们...转载 2019-10-23 09:17:12 · 557 阅读 · 0 评论