上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页
摘要: 解决办法 先尝试将npm升级到最新版 删除项目路径下的node_modules目录 强制删除npm缓存,然后重新安装 npm cache clean --force 阅读全文
posted @ 2021-04-01 09:21 浅笑19 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Calendar calendar = Calendar.getInstance(); //把当前时间减去3个月,如果为负数则会把年份往前推,比如2010年1月-3会变成2009年10月 calendar.add(Calendar.MONTH,-3); Timestamp time = new Ti 阅读全文
posted @ 2021-04-01 09:20 浅笑19 阅读(611) 评论(0) 推荐(0) 编辑
摘要: BigDecimal data1 = new BigDecimal("1"); BigDecimal data2 = new BigDecimal("0.01"); if (data1.compareTo(data2) < 0) { System.out.println("第二位数大!"); } i 阅读全文
posted @ 2021-04-01 08:56 浅笑19 阅读(192) 评论(0) 推荐(0) 编辑
摘要: JAVA知识深度回顾总结-第一天 八种基本数据类型的大小,以及他们的封装类 分类 - 类型—————范围——————封装类 整型 byte ———- [-128~127] ———— Byte short ——– [-2^15~2^15 - 1] —— Short int ———– [-2^31~2^ 阅读全文
posted @ 2021-03-25 17:22 浅笑19 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 突然间发现 分页的total 数据错误;打开调试之后发现 count 语句都是正常执行的 最后 发现是 传入的泛型实体类不一致 修改后即正常! 阅读全文
posted @ 2021-03-25 16:49 浅笑19 阅读(120) 评论(0) 推荐(0) 编辑
摘要: String name=request.getParameter("name"); name = java.NET.URLDecoder.decode(name,"UTF-8"); 阅读全文
posted @ 2021-03-25 16:44 浅笑19 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1.vue项目基于webpack在config目录下的index.js在cssSourceMap后面添加 proxyTable: { '/': { target: "http://localhost:3000/", //后端地址 changeOrigin: true, //允许跨域 pathRewr 阅读全文
posted @ 2021-03-23 10:10 浅笑19 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 在项目中引入了freemarker的依赖包。但是在log4j.properties文件中没有配置对应的日志级别引起的红色警告。如下: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st 阅读全文
posted @ 2021-03-19 17:35 浅笑19 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 1、设置ContentType response.setContentType("application/x-download"); 2、设置文件名,并指定编码格式 fileName = URLEncoder.encode("浏览器要显示的文件名", "UTF-8"); response.setCh 阅读全文
posted @ 2021-03-19 16:51 浅笑19 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: jar:itext-4.2.1.jar 在很多公文的落款处都需要绝对定位,所以记录此代码如下: PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("test.pdf")); PdfContentByte c 阅读全文
posted @ 2021-03-19 16:49 浅笑19 阅读(120) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页