02 2023 档案
摘要:后端文件流转发代码public static void doGetFile(HttpServletResponse httpResponse,String url) { CloseableHttpClient httpClient = null; CloseableHttpResponse resp
阅读全文
摘要:public static String doPost(String url,String fileName, File file) { CloseableHttpClient httpClient = null; CloseableHttpResponse response = null; Str
阅读全文
摘要:public static List<Map<String,Object>> test1() throws Exception{ File file = new File("C:/Users/luo_a/Desktop/数据测试.xlsx"); if (!file.exists()){ throw
阅读全文
摘要:springboot导出Excel报表 一.实现流程 1.添加POI 的相关jar包 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.1</version>
阅读全文