摘要: 解析指定模板的Excel,模板如下: 首先定义一个注解 import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import 阅读全文
posted @ 2020-04-28 11:18 怡安 阅读(318) 评论(0) 推荐(0) 编辑
摘要: zip文件解压 /* * 文件解压 */ public Map<String, FileModel> unzip(MultipartFile file) { if (file == null) return null; // 判断文件是否为zip文件 String filename = file.g 阅读全文
posted @ 2020-04-28 10:56 怡安 阅读(496) 评论(0) 推荐(0) 编辑