摘要: 关于jpa example使用 阅读全文
posted @ 2020-07-15 23:25 JaminYe 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 文件下载 public void downloadFile(String fileCd, HttpServletResponse response) { WrBuMd wrBuMd = wrBuMdRepository.findById(fileCd).orElse(null); File file 阅读全文
posted @ 2020-07-15 23:21 JaminYe 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 文件夹下的文件根据最后修改时间排序 /** * 文件排序 越新越靠前 * * @param filePath 文件路径 */ public static File[] fileSort(String filePath) { File file = new File(filePath); File[] 阅读全文
posted @ 2020-07-15 23:19 JaminYe 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 验证图片是否加载成功 //所有图片加载完成 var flag = 0; for (var i = 0; i < $(".img").length; i++) { $(".img")[i].onload = function () { flag++; if (flag == $(".img").len 阅读全文
posted @ 2020-07-15 23:17 JaminYe 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 使用jdk1.8的LocalDate获取当天,本月第一天,本月最后一天,今年第一天,今年最后一天 LocalDate localDate = LocalDate.now(); //今天 Date day = Date.from(localDate.atStartOfDay(ZoneId.system 阅读全文
posted @ 2020-07-15 23:16 JaminYe 阅读(3702) 评论(0) 推荐(0) 编辑
摘要: 将doc转为BufferedImage 修改图片大小后合成一张图片输出 package com.jaminye.zongsu.util; import com.aspose.words.Document; import com.aspose.words.ImageSaveOptions; impor 阅读全文
posted @ 2020-07-15 23:15 JaminYe 阅读(366) 评论(0) 推荐(0) 编辑
摘要: easyui前端分页与layui前端分页 easyui前端分页 layui前端分页 阅读全文
posted @ 2020-07-15 23:13 JaminYe 阅读(478) 评论(0) 推荐(0) 编辑