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

原创 使用java导出pdf文件

使用java导出pdf文件

2022-07-30 11:57:12 3764

原创 knife4j接口文档相应参数不显示

knife4j接口文档的响应结果不能显示

2022-07-21 14:15:53 6624 3

原创 BigDecimal注意事项

BigDecimal注意事项BigDecimal的其中的两种构造方式分为new BigDecimal(int a);new BigDecimal(String s);一.使用整型的方式构造出来的BigDecimal用来计算会数据不准确如BigDecimal bigDecimal1 = new BigDecimal(0.1);BigDecimal bigDecimal2 = new BigDecimal(0.2);BigDecimal add = bigDecimal1.add(bigDe

2021-08-01 23:19:20 363

原创 提问:使用SpringData-es的between查询有误是什么情况?

提问:使用SpringData-es的between查询有误是什么情况?@Testpublic void findByTitleAndContentAndIdBetween() { Page<Item> itemPage = this.itemService.findByTitleContainsAndContentContainsAndIdBetween("es", "es", 10, 20, 1, 5); for (Item item : itemPage.getCon

2021-04-17 00:14:21 237

原创 mybatis动态sql

mybatis动态sql一、Mybatis 中$与#的区别#是将传入的值当做字符串的形式,例:select id,name,age from student where id =#{id},当前端把id值1,传入到后台的时候,就相当于 select id,name,age from student where id =‘1’.$是将传入的数据直接显示生成sql语句,例:select id,name,age from student where id =${id},当前端把id值1,传入到后台的时候

2021-03-28 21:11:50 119 1

原创 解决org.apache.ibatis.binding.BindingException Invalid bound statement (not found)

解决org.apache.ibatis.binding.BindingException Invalid bound statement (not found)  org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题,  即在mybatis中dao接口与mapper配置文件在做映射绑定的时候出现问题,  简单说,就是接口与xml要么是找不到,要么是找到了却匹配不到解决方法:1.检查xml

2021-03-25 19:40:33 274

原创 微信小程序环形进度条

环形进度条index.wxss.circle { position: absolute; left: 0; right: 0; margin: auto;}index.wxml<canvas class="circle" style="z-index: 1;" canvas-id="canvasArcCir"></canvas><canvas class="circle" style="z-index: 0;" canvas-id="canvas

2021-03-25 19:36:23 1427 2

原创 java.sql.SQLException The server time zone value ‘�й���׼ʱ��‘....及数据库时间与本地时间不一致问题

1. java.sql.SQLException: The server time zone value ‘�й���׼ʱ��’ is unrecognized or represents more than one time zone.  在jdbc连接的url后面加上serverTimezone=GMT即可解决问题2.mysql时间与本地时间不一致问题  如果需要使用gmt+8时区,需要写成GMT%2B8,否则会被解析为空。......

2021-03-25 19:30:47 80

原创 斐波那契数列类型题

一个简单的递归public class PrintFib { //建立一个函数,用于计算数列中的每一项 public static int fib(int num) { //判断:是否是第一个数和第二个数 if(num == 1 || num == 2) { return 1; }else { //循环调用本函数 return fib(num - 2) + fib(num - 1); } } //主函数(程序入口) public static void main

2021-03-24 22:14:11 202

原创 Thymeleaf

Thymeleaf语法一、th属性常用th属性解读html有的属性,Thymeleaf基本都有,而常用的属性大概有七八个。其中th属性执行的优先级从1~8,数字越低优先级越高。th:text :设置当前元素的文本内容,相同功能的还有th:utext,两者的区别在于前者不会转义html标签,后者会。优先级不高:order=7th:value:设置当前元素的value值,类似修改指定属性的还有th:src,th:href。优先级不高:order=6th:each:遍历循环元素,和th:text或

2021-03-24 21:56:02 826 1

Java开发手册(嵩山版).zip

Java开发手册(嵩山版)

2021-03-24

空空如也

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

TA关注的人

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