摘要: /*** * @Author: pmy * @Description: PDF转JPG * @Date: 2020/11/18 16:30 * @Params: [is]文件输入流 * @Return byte[]字节数组 */ public static byte[] toJpg(InputStr 阅读全文
posted @ 2021-10-19 09:38 p_小白 阅读(61) 评论(0) 推荐(0) 编辑
摘要: for(Object object : jsonArray){ String zsUrl = ""; if(surApplyZdxx.getQlsdfs().equals("2")){//正式图层ID zsUrl = layerIdDs; }else{ zsUrl = layerIdDx; } JS 阅读全文
posted @ 2021-09-01 11:49 p_小白 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 1、 InputStream转byte数组 byte[] bytes = FileCopyUtils.copyToByteArray(in); 阅读全文
posted @ 2021-05-26 15:09 p_小白 阅读(304) 评论(0) 推荐(0) 编辑
摘要: @AutowiredRestTemplate restTemplate; @PostConstructpublic void init() { logger.info(" 加载电子身份证服务接口配置 "); SimpleClientHttpRequestFactory simpleClientHtt 阅读全文
posted @ 2021-05-19 15:06 p_小白 阅读(866) 评论(0) 推荐(0) 编辑
摘要: select object_name as 对象名称, s.sid, s.serial#, p.spid as 系统进程号, 'ALTER SYSTEM KILL SESSION ''' || S.SID || ', ' || S.SERIAL# || ''';' AS KILL_COMMAND, 阅读全文
posted @ 2021-03-31 15:15 p_小白 阅读(138) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.Closeable; import java.io.File; 阅读全文
posted @ 2021-01-13 10:27 p_小白 阅读(479) 评论(0) 推荐(0) 编辑
摘要: /** * Java8日期时间工具类 * * @author JourWon * @date 2020/12/13 */ public class LocalDateUtils { /** * 显示年月日时分秒,例如 2015-08-11 09:51:53. */ public static fin 阅读全文
posted @ 2021-01-13 09:20 p_小白 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 最近遇到了个没遇到过的问题 花费了很长时间去解决 问题大致是这样的:比如 user表里一条数据 name: 张三ABC23 age :15 在模糊查询控制台打印的sql:select * from user where name like '%张三%' 我粘贴这条sql去数据库查询是可以查询到的 在 阅读全文
posted @ 2020-12-29 09:17 p_小白 阅读(679) 评论(0) 推荐(1) 编辑
摘要: /** * 向指定 URL 发送POST方法的请求 * * @param url 发送请求的 URL * @param param 请求参数,json格式,请求参数应该是{name:value1,name2:value2}的形式。 * @return 所代表远程资源的响应结果 * @throws I 阅读全文
posted @ 2020-11-26 13:47 p_小白 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>fontbox</artifactId> <version>2.0.9</version></dependency><!-- https://mvnrepository.com 阅读全文
posted @ 2020-11-18 14:14 p_小白 阅读(604) 评论(0) 推荐(0) 编辑

你再瞅我 还瞅!关注啊