01 2021 档案

摘要:@ResponseBody @RequestMapping("/szctest2") public void zip(HttpServletResponse response) throws Exception { String sourceFileName = "D:\\test"; //要压缩的 阅读全文
posted @ 2021-01-28 16:54 我没有出家 阅读(1589) 评论(0) 推荐(0) 编辑
摘要:@ResponseBody @RequestMapping("/szctest1") public void zip1(HttpServletResponse response,HttpServletRequest request) throws IOException { String path 阅读全文
posted @ 2021-01-28 16:34 我没有出家 阅读(226) 评论(0) 推荐(0) 编辑
摘要:package com.ruoyi.web.controller.test; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.Fi 阅读全文
posted @ 2021-01-28 16:32 我没有出家 阅读(301) 评论(0) 推荐(0) 编辑
摘要:package test; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.ap 阅读全文
posted @ 2021-01-28 10:36 我没有出家 阅读(300) 评论(0) 推荐(0) 编辑
摘要:File file1 = new File("e://异常.txt"); BufferedWriter out = new BufferedWriter(new FileWriter(file1,true)); out.write(file2.getAbsolutePath()); out.newL 阅读全文
posted @ 2021-01-26 17:50 我没有出家 阅读(47) 评论(0) 推荐(0) 编辑
摘要:public void traverseFolder2(String path) { File file = new File(path); if (file.exists()) { File[] files = file.listFiles(); if (null == files || file 阅读全文
posted @ 2021-01-26 17:41 我没有出家 阅读(100) 评论(0) 推荐(0) 编辑
摘要:/** * @param srcpic 复制前文件 * @param despic 复制后文件 */ public static void copyPic(String srcpic, String despic) { File file1 = new File(srcpic); if (file1 阅读全文
posted @ 2021-01-21 15:39 我没有出家 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-20 15:17 我没有出家 阅读(87) 评论(0) 推荐(0) 编辑
摘要:页面: <div class="col-sm-12 search-collapse" > <div class="select-list"> <ul> <li> <input name="file" type="file" id="uploadFile" required title="提示:仅允许 阅读全文
posted @ 2021-01-18 15:15 我没有出家 阅读(204) 评论(0) 推荐(0) 编辑
摘要:<li> <p>xxx:</p> <input id="caseId" value="" name="caseId" hidden> <input id="caseName" list="caseList" onchange="echoId2()" autocomplete="off"/> <dat 阅读全文
posted @ 2021-01-12 13:39 我没有出家 阅读(152) 评论(0) 推荐(0) 编辑
摘要:SysUser user = (SysUser) SecurityUtils.getSubject().getPrincipal();通过user对象获得当前登录用户名 阅读全文
posted @ 2021-01-12 10:53 我没有出家 阅读(1069) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示