上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页
摘要: chmod a+x /usr/local/maven/apache-maven-3.8.1/bin/mvn 阅读全文
posted @ 2021-06-30 17:07 云村的王子 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 前提:docker容器中的nginx要开启 阅读全文
posted @ 2021-06-30 14:36 云村的王子 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 见下文 https://www.cnblogs.com/codecat/p/10873757.html 阅读全文
posted @ 2021-06-29 09:11 云村的王子 阅读(36) 评论(0) 推荐(0) 编辑
摘要: netstat -ano | findstr 端口号 (查询端口号被哪个进程占用) tasklist | findstr 进程PID (根据PID找到进程名称) taskkill -PID 进程PID -F (根据PID杀掉进程) 阅读全文
posted @ 2021-06-29 09:09 云村的王子 阅读(97) 评论(0) 推荐(0) 编辑
摘要: /** * 校验时间 * * @param text * @return */ public static boolean checkTime(String text) { DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); try 阅读全文
posted @ 2021-06-17 16:41 云村的王子 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 兄弟们,代码直接用。 这里提供了三个接口,分别是 1、读取指定文件夹图片生成PDF 2、读取指定文件夹图片生成PDF并下载 3、将前台传过来的文件图片转换为PDF下载 import com.lowagie.text.Document; import com.lowagie.text.Document 阅读全文
posted @ 2021-06-17 10:40 云村的王子 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 1、批量插入 ServiceImpl层 List<Person> addPeople = new ArrayList<>(); //addPeople存放多个Person对象 personMapper.insetPeopleReturnIds(addPeople); Dao层接口(这里的注解para 阅读全文
posted @ 2021-06-17 10:11 云村的王子 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: 同样最近在开发swt的一个项目,业务中的一个功能模块类似百度网盘的上传进度条 0/80。 即已上传0个,总共80个。效果展示要的就是实时刷新,2/80呀,15/80呀,针对这个,就有了这篇文章。 下面附上【Label实时刷新时间】参考代码和原文链接,我是看这段代码加上这篇文章有的灵感。 public 阅读全文
posted @ 2021-06-11 14:49 云村的王子 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 代码如下: public class test01 { private static int DPI = 300; public static void main(String[] args) { String path = "E:\\002.jpg"; File file = new File(p 阅读全文
posted @ 2021-06-10 14:49 云村的王子 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 代码如下: public static void main(String[] args) { try { BufferedImage bufferegImage = ImageIO.read(new File("C:\\YD\\2021-06-01\\temp\\094.tif")); ImageI 阅读全文
posted @ 2021-06-10 10:08 云村的王子 阅读(815) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页