| | |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | | for (BucketStorage bucketStorage : all) { |
| | | Map<String, Object> map = new LinkedHashMap<>(); |
| | | map.put("文件真实的名称", bucketStorage.getRealName()); |
| | | map.put("文件名", bucketStorage.getName()); |
| | | map.put("后缀", bucketStorage.getSuffix()); |
| | | map.put("路径", bucketStorage.getPath()); |
| | | map.put("类型", bucketStorage.getType()); |
| | | map.put("大小", bucketStorage.getSize()); |
| | | map.put("文件名称", bucketStorage.getRealName()); |
| | | map.put("备注名称", bucketStorage.getName()); |
| | | map.put("文件类型", bucketStorage.getSuffix()); |
| | | map.put("文件路径", bucketStorage.getPath()); |
| | | map.put("文件分类", bucketStorage.getType()); |
| | | map.put("文件大小", bucketStorage.getSize()); |
| | | map.put("创建人", bucketStorage.getCreateBy()); |
| | | map.put("创建时间", bucketStorage.getCreateTime()); |
| | | map.put("修改者", bucketStorage.getUpdateBy()); |
| | | map.put("修改时间", bucketStorage.getUpdateTime()); |
| | | list.add(map); |
| | | } |
| | | FileUtil.downloadExcel(list, response); |